cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the last added record

Former Member
0 Kudos

Hi,

Am developing an application that needs to record some info in a user table after adding a sales invoice. What i need is an object or method that could give me the info of the last record added in the AR invoices table, i tried using the GetNewObjectKey() but i'm not sure if this method works OK in a scenario where concurrence situations could be present, i mean in situations where multiple users could save documents at the same time, does not the method become imprecise?

Accepted Solutions (1)

Accepted Solutions (1)

former_member201110
Active Contributor
0 Kudos

Hi Oscar,

Have a look at the following post:

Hope this helps,

Owen

Answers (0)