Skip to Content
0
Jan 22, 2021 at 11:38 AM

How to get DocEntry from UI?

270 Views Last edit Jan 22, 2021 at 11:44 AM 2 rev

Hi,

How to get DocEntry from UI? I have used below code to get DocEntry -

oCompany.GetNewObjectType();

oCompany.GetNewObjectKey();

Application.SBO_Application.MessageBox(oCompany.GetNewObjectKey());

But it is giving error as "Object reference not set to an instance of an object.". Is there any other way to get DocEntry? Please help me.

Regards,

Neha