Page Transfer Inconsistency

 6 Replies
 0 Subscribed to this topic
 17 Subscribed to this forum
Sort:
Author
Messages
jangins101
Basic Member
Posts: 10
Basic Member
    Hey, I'm having an issue with transferring pages. In using a Name Search (ZIAB) screen to find an applicant number, I transfer to another page (ZI31) using a speecific applicant, and (since it's a customized page), I only see the supplemental data, and the Lawson data fields are empty. After that, if I try to do any Inquiry on any applicant on the screen, I get a status bar message saying "Value not in list:N,Y,X,1,2,3,4,5". Any ideas on what that means or how to fix it? (It also happens on Next and Previous)

    Thanks.
    John Henley
    Posts: 3353
      Hello Michael,
      I moved this topic to the 'customization' forum, since it's really more appropriate. How did you develop these custom screens (ZIAB & ZI31) ? I'm guessing tha tZI31 is a clone of PA31?? Usually, the issue with not transferring the field values is that you probably don't have matching key numbers (SKNs) between the two screens, or that there is an asterisk to the left of the keynumbers that aren't working in the ZI31.scr file. That asterisk essentially means "don't transfer a value into this field when someone does a form transfer".

      As for the "value not in list", are you getting that on ZIAB or ZI31? Check some of the $functions at the top of the .scr file, and see if perhaps you have $FCPAIRS misdefined...so that it's requiring a line FC in combination with an Inquire...
      Thanks for using the LawsonGuru.com forums!
      John
      jangins101
      Basic Member
      Posts: 10
      Basic Member
        Update: I just added another data field (APL-COMPANY) along with APL-APPLICANT, and now instead of the message I mentioned previously, it only puts in the last two digits of the applicant number as the value for APL-APPLICANT.
        jangins101
        Basic Member
        Posts: 10
        Basic Member
          Yea, ZI31 is a clone of PA31. I'll have to check on the key numbers and see, and the value not in list is coming on the ZI31 screen.

          Thanks,
          John Henley
          Posts: 3353
            Make sure you have it working in LID before you try to do anything with Design Studio...you'll save yourself some headaches..
            Thanks for using the LawsonGuru.com forums!
            John
            jangins101
            Basic Member
            Posts: 10
            Basic Member
              Ok. So I figured out the problem. I had a function that clears all variables and fields on each Inquire, and it was running after the Lawson fields were populated, so I just changed it to OnBeforeTransaction instead of from OnAfterTransaction.


              However, the "Value not in list" error is still there when I try to perform an manual inquire once being transferred to that page...

              Thanks for the help!
              jangins101
              Basic Member
              Posts: 10
              Basic Member
                Well, in doing a little more digging on the "Value not in list" bit, I've found that it actually executes the onAfterTransaction successfully, and then after it finishes that it will show that message/error. One thing I did find wa a getMessageNbr of 126. What does that mean?

                Thanks.