PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03/25/2020 1:55 PM by  Brian Veldhouse
Default field to another field on a Lawson Screen using Design Studio
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Brian Veldhouse
IS Senior Analyst
Holland Hospital
Basic Member
(18 points)
Basic Member
Posts:8


Send Message:

--
03/25/2020 1:07 PM

    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
    Private
    Private
    Veteran Member
    (3325 points)
    Veteran Member
    Posts:1119


    Send Message:

    --
    03/25/2020 1:15 PM
    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
    IS Senior Analyst
    Holland Hospital
    Basic Member
    (18 points)
    Basic Member
    Posts:8


    Send Message:

    --
    03/25/2020 1:55 PM

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

    You are not authorized to post a reply.