USE SET command to add data into more than one cell in a row

In a Purchase Request Form I want by default add the following data when a new Request is being added.

I've created a UF of type Macro with the following content:
Set($[$39.1.0]|Lumpsum);  // Description Column
Set($[$39.2.0]|7001);          // GLAccount Column

When I run this, the 2nd command is executed on the 2n line in the form.
I tried to use the Click($[$39.1.0.1]); in between the two in order to jump back to the first line but that didnt change the outcome.
Has anyone an idea ?

Regards, Vincent

 

 

Comments

2 comments

  • Comment author
    Geoff Booth

    Try the following as you are simply entering values in an existing line:

    Set($[$39.1.0.FIRST]|Lumpsum);  // Description Column
    Set($[$39.2.0.FIRST]|7001);    // GLAccount Column

    0
  • Comment author
    Vincent Vandenbroek

    Thanks, that did resolve my issue 

    0

Please sign in to leave a comment.