cancel
Showing results for 
Search instead for 
Did you mean: 

DocNum from a Document just created

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

former_member233854
Active Contributor

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()

Former Member
0 Kudos

Thanks Danilo, GetNewObjectKey works well to this purpose.

Regards

Answers (0)