PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02/27/2013 12:42 PM by  Lee Blattner
AGS return from AP20
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Lee Blattner
Private
Private
New Member
(8 points)
New Member
Posts:4


Send Message:

--
02/27/2013 11:42 AM
    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
    Private
    Private
    Veteran Member
    (3022 points)
    Veteran Member
    Posts:1018


    Send Message:

    --
    02/27/2013 12:04 PM
    If you query APINVOICE right after the invoice is added, can you get the Obj_Id?
    David Williams
    Lee Blattner
    Private
    Private
    New Member
    (8 points)
    New Member
    Posts:4


    Send Message:

    --
    02/27/2013 12: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
    Private
    Private
    New Member
    (8 points)
    New Member
    Posts:4


    Send Message:

    --
    02/27/2013 12:42 PM
    BTW. The SUFFIX is always 0 (zero) too.
    You are not authorized to post a reply.