Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Enterprise Resource Planning & Manufacturing
Lawson S3 Procurement
PO23 Must inquire error message
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Wojo
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5265
People Online:
Visitors:
524
Members:
0
Total:
524
Online Now:
New Topics
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Infor CloudSuite
How to build a Pre-Prod tenant
2/7/2025 1:28 AM
After we finished our implementation and ended our
Lawson S3 Procurement
Browser issue with RQC Shopping
1/28/2025 5:49 PM
Since the recent Chrome/Edge updates, our RQC shop
Lawson S3 Procurement
S3-Procurement New Company
1/22/2025 10:38 PM
My Accounting Department has created a new Company
S3 Customization/Development
JUSTIFIED RIGHT
1/15/2025 7:41 PM
Is there a way in Lawson COBOL to make a character
S3 Systems Administration
ADFS certificate - new cert
12/3/2024 9:38 PM
The certificates on the windows boxes expired and
Lawson S3 HR/Payroll/Benefits
Post Tax Benefit Plan Table
11/14/2024 9:16 PM
Hi, totally new to Laswon. I have a repor
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1375
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Enterprise Resource Planning & Manufacturing
Lawson S3 Procurement
PO23 Must inquire error message
Please
login
to post a reply.
10 Replies
0
Subscribed to this topic
1 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
golfer24
New Member
Posts: 0
4/21/2011 1:56 PM
I have a Processflow that is triggered based on a user action. When this particular flow is triggered, I get the following error when it is trying to do an add via an AGS into PO23.
Here is the error message: AGS error: Must Inquire before using this function code when an ags call is triggered from PO23. How can I fix it?
Sam Simpson
Veteran Member
Posts: 239
4/21/2011 2:42 PM
Split
You have to include the AGS call here.
golfer24
New Member
Posts: 0
4/21/2011 2:50 PM
Split
Here is the ags call for the add right now.
_PDL=&_TKN=PO23.1&_EVT=CHG&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=Add&PIF-PROCURE-GROUP=SCS&PIF-COMPANY=&FIL-SOURCE-DOC=&FIL-ORIGIN-CD=OE&SORT-OPTION=V&PCR-VENDOR=&PCR-BUYER-CODE=&PCR-PO-CODE=&LINE-FCr0=S&PIF-COST-OPTIONr0=&PCR-DFLT-DL-DATE=&OVERRIDE-COSTr0=&PIF-ITEMr0=&_DELIM=%09&_OUT=TEXT&_EOT=TRUE
Ragu Raghavan
Veteran Member
Posts: 477
4/21/2011 4:42 PM
Split
Try setting the field SAVE-FC to A.
Extract from PO23PD
**** must inquire before using this function code
170200 IF (PO23F1-FC = "A" OR "C" OR "R")
172604 AND (PO23F1-SAVE-FC = SPACES)
170200 AND (PO23F1-FROM-SS-FLAG = 0)
170200 MOVE 206 TO CRT-ERROR-NBR
170200 MOVE "PO23" TO CRT-ERROR-CAT
170200 GO TO 150-END.
Sam Simpson
Veteran Member
Posts: 239
4/21/2011 4:44 PM
Split
EVT should be ADD when adding a record or CHG when changing a record. You will need 2 AGS nodes for both fucntions.
golfer24
New Member
Posts: 0
4/21/2011 5:41 PM
Split
Ok, let me try the ADD changes.
golfer24
New Member
Posts: 0
4/21/2011 7:33 PM
Split
I'm still getting the same error after those two modifications.
Ragu Raghavan
Veteran Member
Posts: 477
4/21/2011 7:51 PM
Split
Try setting the field SAVE-SOURCE-DOC to the same value as FIL-SOURCE-DOC
72604 IF (PO23F1-FIL-SOURCE-DOC NOT = PO23F1-SAVE-SOURCE-DOC)
172604 INITIALIZE PO23F1-SAVE-FC.
golfer24
New Member
Posts: 0
4/21/2011 8:20 PM
Split
Ok, here is the ags call for ADD after the modifications:
Transaction Call String: _PDL=LSFPROD&_TKN=PO23.1&_EVT=CHG&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=A&PIF-PROCURE-GROUP=SCS&PIF-COMPANY=0010&FIL-SOURCE-DOC=00112614&SAVE-SOURCE-DOC=00112614&FIL-ORIGIN-CD=OE&PIF-SOURCE-DOC-N=00112614&PIF-SOURCE_DOC_A=00112614&PIF-OPER-COMPANY=0010&PIF-LINE-NBR=&PCR-PURCH-FR-LOC=&PO-NUMBER=&PO-RELEASE=&SORT-OPTION=V&PCR-VENDOR= 103638&PCR-BUYER-CODE=XS&PCR-PO-CODE=&LINE-FCr0=S&PIF-COST-OPTIONr0=3&PCR-DFLT-DL-DATE=20110420&OVERRIDE-COSTr0=170.48&PIF-ITEMr0=VCQFX580-PCIE-PB&_DELIM=%09&_OUT=TEXT&_EOT=TRUE
Error while Executing activity : Type=AGS, ActivityName=PO23ADD, ActivityId=AGS305, WorkUnit=81260 Date:04/21/2011 Time:16:18:39
AGS error: Must Inquire before using this function code
Ragu Raghavan
Veteran Member
Posts: 477
4/21/2011 11:41 PM
Split
From Design Studio, I could get past this error by setting the field FROM-SS-FLAG to 1. Don't know what that field means. Also that gave some more errors. Since I do not know enough about PO23......
/servlet/Router/Transaction/Erp?_PDL=LIVE&_TKN=PO23.1&_LFN=ALL&_RTN=DATA&_TDS=IGNORE&_OUT=XML&_EVT=ADD&FC=A&PIF-PROCURE-GROUP=1&PIF-COMPANY=1&FIL-SOURCE-DOC=723&FIL-ORIGIN-CD=RQ&PCR-BUYER-CODE=1&FIL-FRM-PRI=&PCR-PO-CODE=CAP&LINE-FCr0=S&PCR-DFLT-DL-DATE=20110421&FIL-PURCH-MINCL=&SAVE-FC=A&SAVE-SOURCE-DOC=723&PIF-ITEMr0=343749&PLI-QUANTITYr0=1&PLI-ENT-BUY-UOMr0=EA&OVERRIDE-COSTr0=142.95&PIF-LOCATIONr0=1&FROM-SS-FLAG=1&PCR-VENDOR=156&PIF-COMPANY-1r0=1&_EOT=TRUE
Lynne
Veteran Member
Posts: 122
10/4/2012 6:03 PM
Split
This post is over a year old, but I am trying to do the same thing with no luck. Did you ever get this add on PO23 to work?
Please
login
to post a reply.