How to create detail lines in a paint program?

 1 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
ISO Dan
Basic Member
Posts: 18
Basic Member
    We created two custom tables, a head and detail table.  The quick paint utility painted the fields for the header table but did not for the detail.  I am trying to manually paint the detail lines.  I have created an initial detail line but do not know how to repeat it since I want 5 detail lines.

    Also just curious, does anyone have any documentation or additional instructions on how to use the paint utility in Lawson?

    Thank you,
    Dan
    Sam Simpson
    Veteran Member
    Posts: 239
    Veteran Member
      You will need understanding how the .scr file is being created in cobol. You can start by reading the workbench manual for creating screens. It would not fit in here if I have to tell you how it is done. You already have files created by quick paint. Open the .scr with any editor(notepad) and copy the detail line($SCREEN) into the next line depending on how many lines you want. In the section $TRANS you have to put in the number of lines for the detail(occurences). You will also create these group of detail lines as a group record for cobol to understand. In the PD file you will need to alter the logic of the cobol program to accomodate for the occurences. I could swear that there is an occur clause(option) when you do a quick paint but I could be wrong. You can also take a look at the source codes of other program that deals with occurring lines and take a look at how the transactions fields are defined. Hope this helps.