We are in the process of upgrading to Lawson V10, and doing some regression test. We had a workflow that looks for the terminated employee and remove that employee from the benefit group. This used to work on V9 and it's not working anymore on V10.
Here are my ags calls to HR55.2 to page through data to find an employee.
Inqure HR55.2 to get the first page with the following AGS
_TDS=Ignore&_PDL=PROD&_TKN=HR55.2&FC=Inquire&PRG-COMPANY=10&PRG-GROUP-NAME=BN-EPO&PRG-BENEFITS=Y&PRG-ABSENCE-MGMT=N&PRG-ACTIVE-FLAG=1&PT-DATA=0&_EVT=ADD&_LFN=TRUE&_RTN=DATA&_OUT=XML&_EOT=TRUE
Use Function + to loop until the employee is found
_TDS=Ignore&_PDL=PROD&_TKN=HR55.2&FC=%2B&PRG-COMPANY=10&PRG-GROUP-NAME=BN-EPO&PRG-BENEFITS=Y&PRG-ABSENCE-MGMT=N&PRG-ACTIVE-FLAG=1&PT-DATA=000023277&_HK=0010BN-EPO&_EVT=ADD&_LFN=TRUE&_RTN=DATA&_OUT=XML&_EOT=TRUE
I think It's supposed to return PT-DATA as the first employee of the next page, but the subsequent response returns the same employee number as it returned by the first Inqure. could anyone help me what I'm doing wrong?
thanks
-Rido Park