Hi,
As per the SDK Reference, the GetNewObjectCode method of the Company Object retrieves the key of the last added record.
"
You can use this method, for example, to create a payment based on an invoice:
"
Suppose between Step 1 and Step 2, another user creates an Invoice, or even same user creates an Invoice manually using the SBO application . What values will the GetNewObjectCode method return? Is it guaranteed to return the key of the last object created by the current user in the current session?
If not, what is the other way?
Thanks.