PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 08/04/2017 9:41 AM by  Ragu Raghavan
Paint Screen - Job Title retrieval for job-code
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Leonard Courchaine
Private
Private
Veteran Member
(128 points)
Veteran Member
Posts:50


Send Message:

--
08/03/2017 12:57 PM

    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
    Private
    Private
    Veteran Member
    (823 points)
    Veteran Member
    Posts:287


    Send Message:

    --
    08/03/2017 3:03 PM
    After generating the code, you may need to play around with Key numbers in the .scr file.
    Leonard Courchaine
    Private
    Private
    Veteran Member
    (128 points)
    Veteran Member
    Posts:50


    Send Message:

    --
    08/04/2017 7:31 AM

    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
    Private
    Private
    Veteran Member
    (823 points)
    Veteran Member
    Posts:287


    Send Message:

    --
    08/04/2017 9:41 AM
    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.
    You are not authorized to post a reply.