API

 3 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
Rita
Basic Member
Posts: 15
Basic Member
    I am new to Lawson.  I need to add an output field with a name that gets generated via API 750-HR-FORMAT-NAME. Do I have to add this code manually or is there a way to add during design paint (pgmdef) mode?
     
    I also need to add fields which are both input and output, meaning if information (key) exists I need it displayed and changed on demand, but if it doesn't exist I need it to show up empty. The paint form allows only for Input fields (F2) or Output fields (F3). How do I make it both?
    Ragu Raghavan
    Veteran Member
    Posts: 476
    Veteran Member
      I think you have to code the first one manually.

      When you define the field as input - it also displays the information. I guess you could say it is input and output.
      Rita
      Basic Member
      Posts: 15
      Basic Member
        Thank you
        jaherb
        Veteran Member
        Posts: 164
        Veteran Member
          By defining the field as Input, it is both an Input and Output field. If it is a key field, however, such as employee number, you will need to supply that value.