Default field to another field on a Lawson Screen using Design Studio

 2 Replies
 1 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Brian Veldhouse
Basic Member Send Private Message
Posts: 9
Basic Member

We would like to default the "Buyer" ID field to the "Path" field on PO20.2 *Issues" tab.  We have not done this before on a Lawson screen.  Has anyone done this?

David Williams
Veteran Member Send Private Message
Posts: 1127
Veteran Member
One option is to use the BeforeTransaction function and setDataValue based upon the getFormValue of the Buyer field. You will need to reference the correct data field reference from PO20.2. You could also use the OnBlur function from the Buyer field so once you enter the value and tab over to the next field it will run and then use setDataValue.
David Williams
Brian Veldhouse
Basic Member Send Private Message
Posts: 9
Basic Member

Thank you, David.  I am meeting with one of our software engineers tomorrow to give this a try.