PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02/02/2016 4:04 PM by  agersh
Having trouble determining the HR15.1 PageDown AGS Call
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
agersh
Systems Analyst
Martin Health System
Veteran Member
(126 points)
Veteran Member
Posts:64


Send Message:

--
10/19/2015 9:54 AM

    I am working on a process to delete specific User Fields (User Field Values) from an employee. Using the following HR15.1 ags transaction call I am able to inquire the first page of HR15.1 for the employee. But I seem to be unable to successfully build the ags call to PageDown to the next page of user fields.

     

    [Inquire]

    _PDL=PROD&_TKN=HR15.1&_EVT=CHG&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=I&HEU-COMPANY=1&HEU-EMPLOYEE=299&HEU-EFFECT-DATE=&_DELIM=%09&_OUT=XML&_EOT=TRUE

     

    I have also included the HR15.1 PageDown ags call that I tried. The Infor Lawson Transaction Query Builder displays the following messages when I test the transaction, “Exception in Testing API, Reason: java.lang.reflect.InvocationTargetException”, and “Error in Testing API, Reason: java.lang.NullPointerException”  

     

    [PageDown]

    _PDL=PROD&_TKN=HR15.1&_EVT=CHG&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=+&PT-HRU-FIELD-NAME=CBORD DATE&PT-HRU-REQ-FLAG=&PT-FLD-NBR=0&PT-FILE=HRU&HEU-EMP-APP=&HEU-COMPANY=1&EMP-WORK-COUNTRY=&EMP-APP-HEADER= Employee:&HEU-EMPLOYEE=299&HEU-EFFECT-DATE &_HK=0&_DELIM=%09&_OUT=XML&_EOT=TRUE

    David Williams
    Private
    Private
    Veteran Member
    (3031 points)
    Veteran Member
    Posts:1021


    Send Message:

    --
    10/19/2015 10:14 AM
    You have to use the PT-FLD-NBR and enter the field number tied to the user field.
    David Williams
    agersh
    Systems Analyst
    Martin Health System
    Veteran Member
    (126 points)
    Veteran Member
    Posts:64


    Send Message:

    --
    02/02/2016 4:04 PM

    It been a while since I've been able to revisit this issue. I am still unable to get my HR15.1 PageDown AGS call to work. The following is my last ags call.

    _PDL=DEV&_TKN=HR15.1&_EVT=CHG&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=+&PT-HRU-FIELD-NAME=CBORD DATE&PT-HRU-REQ-FLAG=&PT-FLD-NBR=0&PT-FILE=HRU&HEU-COMPANY=1&HEU-EMPLOYEE=11697&_DELIM=%09&_OUT=XML&_EOT=TRUE

    The PT-... values are the return values from my HR15.1 Inquire AGS Call.

    The IP Designer Infor Lawson Transaction Query Builder displays the following error messages when I test the above API/AGS call... Exception in Testing API, Reason: java.lang.reflect.InvocationTargetException, Reason: java.lang.NullPointerException

    Any have an idea why my HR15.1 PageDown AGS call is not working?

    You are not authorized to post a reply.