Lawson Design Studio Problem

 3 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
dibello99
New Member
Posts: 1
New Member

    I added a new field in the detail section of a Lawson Design studio 9.0 form.  The other fields on the same line as my new field  are indexed and can be accessed line by line.

    setForm("fieldname", data, row) where row is indexed 0 through 12 to display 12 lines on the scereen.

    I  am using a javascript ags call and need to write data to my new field using this same index so I can write different data to the field line by line field using an index.  I have tried everything I can think of but I can't

    figure out how to add an index to to my new field.  I can only write data to to the first line.  The new field is alphanumeric data. Does anyone know how I can do this?

    John Henley
    Posts: 3353
      I'm assuming your selecting the detail area, and clicking the 'object' button at the bottom of the screen before you insert the new field. That will put the field into the node. However you will have to manually modify the 'Source' XML in order to fully get it to work. Find the field, for example "text70" and append r0 (or r1 if LSF9) to the _nbr attribute: For example, change nbr="_1162" to nbr="_1162r0" and that will create the row-based indexes...
      Thanks for using the LawsonGuru.com forums!
      John
      maalimsimo
      Veteran Member
      Posts: 49
      Veteran Member
        John, Is there some sort of step-by-step guide to how to create a custom button or field in the detail section so that the new field (or button ) appears on all detail rows? It is very confusing, to say the least, for novices.
        maalimsimo
        Veteran Member
        Posts: 49
        Veteran Member
          I got past this error.
          Now, I have a different error in a different form AM20.3!

          On the 'Invoice or Activity' tab, I placed the button for ImageNow on the same line as the Purchase Order field. Somehow, this seems to push the whole screen to the right such that the very last items on the extreme right are cut off. I therefore cannot see the full cents in the'Total field, and the 'Cost' column. The drill-around icon is not visible on the 'Grant' field either.

          Has anyone encountered this issue before? If so, how did you get past it?

          Thanks you in advance.
          Ben.