Having trouble determining the HR15.1 PageDown AGS Call

 2 Replies
 3 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
agersh
Veteran Member
Posts: 81
Veteran Member

    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
    Veteran Member
    Posts: 1127
    Veteran Member
      You have to use the PT-FLD-NBR and enter the field number tied to the user field.
      David Williams
      agersh
      Veteran Member
      Posts: 81
      Veteran Member

        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?