Skip to Content
0

DocNum from a Document just created

Mar 12 at 10:13 PM

41

avatar image
Former Member

How I can get the DocNum from a document just created/added via DI API, (without use another object as Quary recordset)

Thanks in advance

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Danilo Kasparian Mar 13 at 01:56 PM
0

This is not possible.

If you don`t want to use recordset you can get the same DI object that you used to create and do a GetByKey after getting the docentry using

company.GetNewObjectKey()

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks Danilo, GetNewObjectKey works well to this purpose.

Regards

0