Skip to Content
0
Former Member
Apr 17, 2014 at 05:44 AM

accessing the newly created document number

26 Views

Hi,

I was able to create an invoice successfully.

I am using the ICOMPANY object to capture the newly created document number as comp.getnewobjectkey().

But the number i get is different from what is created in the system.

For example. i receive the number as 28590 from method comp.getnewobjectkey() but the actual invoice number in the system is 28587.

Any ideas on why this is happening?

Thanks

Ramakanth