Paint Screen - Job Title retrieval for job-code

 3 Replies
 1 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
Leonard Courchaine
New Member Send Private Message
Posts: 0
New Member

Hi all,  Sorry if I'm missing something simple.  

Trying to paint a custom screen that goes with a custom table.  Custom table is simply job-code, chg-min, chg-max.  I'm developing a Paint Screen form that has job-code, title (output only:  description from job-code table), chg-min, chg-max.  In the form I've developed,  I populate the job-code, chg-min and ch-max then click A (Add) and *then* the title appears.  I'd like the title to appear after the user types the job-code and presses Tab.  

Any thoughts on how to do this?  

Thanks so much,  Lenny

Ragu Raghavan
Veteran Member Send Private Message
Posts: 477
Veteran Member
After generating the code, you may need to play around with Key numbers in the .scr file.
Leonard Courchaine
New Member Send Private Message
Posts: 0
New Member

Hi Ragu,  Thanks for responding.  Yes, I played with keys before posting as I was comparing existing Lawson programs to mine.  Might you be able to elaborate on the correct solution/approach?  Thanks again, Lenny

Ragu Raghavan
Veteran Member Send Private Message
Posts: 477
Veteran Member
For the description to appear automatically on tab, there needs to be a rule in the .sr file. For the rule to kick in, the correct fields/key numbers need to be available on the screen. As an example, there is probably a rule to populate job description when job code is entered. However, this may need company field (hidden or visible) to be present on the screen. Or you may need to define your own rule.