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
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.
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.
No documentation, browsing code.
Tracy Olson would like to recall the message, "AGS Call: Bypass / Ignore Warning [00006913:00009987]".