I'm creating my first AGS call and it's to the HR20 screen. Add works fine, but I'm having trouble with Change. If an employee has three records each with a different type and you want to change the third record how do you select it? I can only get it to change the first record, so I assume I'm missing a hidden field value somewhere. Any help is appreciated. Thanks!
Lawson forms with detail lines have "position to" fields that are sometimes hidden, sometimes displayed above the detail lines. They all start with PT- and are used to get a sepcific record to line 1. On HR20 there are 3 PT fields PT-XMIT-NBR,PT-DATE, and PT-SEQ-NBR which I assume are the key fields for the table the is read to get the detail lines. What you woud do is populate those fields for the 3rd record and put the changes in detail line 1 and set the LINE-FC1 to C.
I was able to get it to work. Thanks for your help Gary!
I am wanting to create a Process Flow around HR20, how do you determine which detail row you want to change, as the detail row can vary?
I guess I am not understanding how to do what you are saying correctly or not asking my question correctly.
Lets say I have a type of PERS_EMAIL. For employee 1234 they do not have a PERS_EMAIL type but have 2 others. Won't a "C" on line one overlay what is currently there?
In another example, employee 4567 has a PERS_EMAIL but it is not in the first detail row, if the PERS_EMAIL can be in any row from 1 to 10, how can I know what correct row to do the change on?