Forums
S3 Interfaces/Conversion
AGS return from AP20
Author
Messages
Lee Blattner
New Member
Posts: 4
2/27/2013 4:42 PM
I added an AP Invoice to Lawson from an external application and checked the XML response for API-OBJ-IDr0 and got 0 (zero). I checked the AGS return in Lawson AP20.2 itself and it was also 0 (zero). Maybe 5 or 10 minutres later, there was a 7 digit number but it does me absolutely no good if I can't get the OBJ_ID from the XML response. Is there a way to get the APINVOICE.OBJ_ID when the invoice is created? Or am I missing something?
David Williams
Veteran Member
Posts: 1127
2/27/2013 5:04 PM
If you query APINVOICE right after the invoice is added, can you get the Obj_Id?
Lee Blattner
New Member
Posts: 4
2/27/2013 5:40 PM
I haven't tried, but I am trying to address an issue with recurring invoices so the reason for needing the OBJ_ID is so I can get the SUFFIX. If I query the table after I get the response, I won't know if it's the right invoice +suffix. Do you know why there seems to be a lag in generating the OBJ_ID?
Lee Blattner
New Member
Posts: 4
2/27/2013 5:42 PM
BTW. The SUFFIX is always 0 (zero) too.