AGS Call: Bypass / Ignore Warning

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

    Hi All:

    Searched for quite some time with no luck, so I figured I would ask. Posting an AGS call and encountering a soft warning: Message=Warning-Date Invalid; OK to continue

    Executing this via the Lawson forms, we click OK and voila, the transaction submits.

    Has anyone encountered this and worked around it through some bypass warning parameter with the AGS parameters?

    ON a side note, is there a listing of all possible AGS parameters somewhere? I could not find that either.

    Thanks in advance,

    Tony

    Gary Davies
    Veteran Member
    Posts: 248
    Veteran Member

      Some Lawson forms have "bypass" hidden fields to allow the update to occur with warnings.  They usually start with XMIT-   and are hidden fields.  Some contain a block of fields (such as XMIT-HREMP-BLOCK on PA52 where it is a 10 digit number where each digit represents a specific field and if there is a 1 in that column it bypasses the warning).

      Sorry no documentation on which forms have them.  You have to look at the COBOL program to see. 

      There was a web doc at one time on support.lawson.com with the parameters to AGS, not sure if it is still there.

      David Williams
      Veteran Member
      Posts: 1127
      Veteran Member
        I've been able to get around the click add again - see my blog posting:
        http://consultdavidw.blog...click-add-again.html

        I can't promise it'll work for the form you're working on.
        David Williams
        David Williams
        Veteran Member
        Posts: 1127
        Veteran Member
          Also look at:
          http://consultdavidw.blog...dits-giving-you.html
          David Williams
          Tony2
          New Member
          Posts: 3
          New Member
            XMIT-HREMP-BLOCK = 100000000 worked. I should have included the form pa52 in my original post as that would have helped with responses I'm sure.

            Thanks Dave for the solution and thank you Gary for the backup explanation..

            Gary Davies
            Veteran Member
            Posts: 248
            Veteran Member

              FYI, the first digit in XMIT-HREMP-BLOCK means ignore all 7 warnings below, to only ignore specific warnings you need to set the digit related: (the last digit is currently not being used).

              1. SSN duplicate

              2. SSN number invalid

              3. Pay out of range

              4. Currency had unended PR rates

              5. Currency some amts not changed.

              6. Tax locator

              7. Work Country invalid

              8  K12 Position invalid

              So if you want to bypass only the invalid SSN number and Pay rate you would code XMIT-HREMP-BLOCK as 0011000000

              There are other XMIT fields for other warnings:

                             XMIT-DEDDAT         Deductions dates equal or overlap
                             XMIT-REQDED        Required Deductions will be updated
                             XMIT-ACT-EXISTS   Action already exists
                             XMIT-IMMED              Immediate action with future date

              In 9.0.1 there is a new block for PA52.5 XMIT-PAPEP-BLOCK that has a couple of different ones for dept and reason code.

               

               

               

              Tony2
              New Member
              Posts: 3
              New Member
                Awesome Gary, thanks.

                Did you pull this from any documentation or through inspection of the form?
                Gary Davies
                Veteran Member
                Posts: 248
                Veteran Member

                  No documentation, browsing code.

                  Bill Ianni
                  Veteran Member
                  Posts: 111
                  Veteran Member
                    Wow! You guys are right. This is a really tough one. I've spent the last 15 hours trying to nail my own PA52 AGS. I was able to get a the Add In record uploaded by including both the HK and the XMIT-REQDED However, that didn't translate to success on my PFLOW AGS call. What was really bizarre is that the AGS was successfully from the Designer, but failed I uploaded the .xml to the server. For some reason, PFLOW didn't recognize the field lenght of 'Action Code' (10). I had to put spaces in after . I think it was just dumb luck!

                    Gary, you're spot on with your explanation of XMIT fields. I found a presentation on support.lawson.com that breaks it down by error message.
                    TracyO
                    Veteran Member
                    Posts: 97
                    Veteran Member
                      Looks right to me

                      Thanks

                      T



                      ________________________________

                      From: forums-bpm-studio@lawsonguru.com
                      [mailto:forums-bpm-studio@lawsonguru.com]
                      Sent: Saturday, January 16, 2010 1:24 PM
                      To: Tracy Olson
                      Subject: RE: AGS Call: Bypass / Ignore Warning [00006913:00009987]




                      LawsonGuru.com Logo <https://www.lawsonguru.com/>


                      Design Studio Forum Notification


                      A message was posted to a thread you are tracking.

                      RE: AGS Call: Bypass / Ignore Warning

                      Posted by: Bill Ianni
                      01/16/2010 02:12 PM

                      Wow! You guys are right. This is a really tough one. I've spent the last
                      15 hours trying to nail my own PA52 AGS. I was able to get a the Add In
                      record uploaded by including both the HK and the XMIT-REQDED However,
                      that didn't translate to success on my PFLOW AGS call. What was really
                      bizarre is that the AGS was successfully from the Designer, but failed I
                      uploaded the .xml to the server. For some reason, PFLOW didn't recognize
                      the field lenght of 'Action Code' (10). I had to put spaces in after . I
                      think it was just dumb luck!

                      Gary, you're spot on with your explanation of XMIT fields. I found a
                      presentation on support.lawson.com that breaks it down by error message.


                      ________________________________

                      To view the complete thread and reply via your browser, please visit:
                      https://www.lawsonguru.co.../topic/aft/6913/afc/
                      9987/Default.aspx

                      You were sent this email because you opted to receive email
                      notifications when someone posted and/or responded to a message on this
                      forum.
                      To unsubscribe to this thread please visit your user profile page and
                      change your subscription options.

                      Thank you,
                      LawsonGuru.com


                      TracyO
                      Veteran Member
                      Posts: 97
                      Veteran Member



                        Recall: AGS Call: Bypass / Ignore Warning [00006913:00009987]


                        <!-- Converted from text/plain format -->

                        Tracy Olson would like to recall the message, "AGS Call: Bypass / Ignore Warning                           [00006913:00009987]".