Skip to Content
0
Jul 27, 2023 at 06:13 AM

DocEntry of last added invoice not added through DI-API

66 Views Last edit Jul 27, 2023 at 06:41 AM 2 rev

Hi all,

I am trying to get the DocEntry of the last added invoice through the SDK.

I am aware that i could use GetNewObjectKey() or GetNewObjectCode() however the document itself is being added manually and not through the DI-API. I need to grab that DocEntry immediately after the invoice has been added.

Couldn't find a clear answer on how to get this through searching. Appreciate any help.

Regards,

Nick