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:
Elia Kfouri
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5214
People Online:
Visitors:
32
Members:
0
Total:
32
Online Now:
New Topics
IPA/ProcessFlow
IPA Question - Filtering Employees by XRef Cost Center Across Person and HR Modules
3/2/2026 4:29 PM
Hello Everyone, I am building an IPA process in
Lawson S3 Financials
Lawson S3 to SAP S/4 Hana Migration
2/12/2026 8:54 PM
Can anyone recommend a consulting company who has
Lawson Add-Ins for Microsoft Office
Deleting an Orphan Time Record with MS Add-ins
12/13/2025 7:26 PM
I have discovered an Orphan Time Record when dumpi
Lawson S3 HR/Payroll/Benefits
Secure 2.0
12/8/2025 9:06 PM
Has anyone using S3 V10 for Benefits been able to
Lawson Add-Ins for Microsoft Office
More.... ic81.2
12/5/2025 10:51 PM
We build our PAR's with MS Addins using IC81 a
Lawson Add-Ins for Microsoft Office
Uploads
11/20/2025 3:32 AM
The Next button has stopped functioning on the upl
S3 Systems Administration
Lawson Security Admin (LSA) - Securing Print Manager to self only
10/24/2025 6:27 PM
Looking for someone who would be willing to share
Lawson Add-Ins for Microsoft Office
Lawson Add-in
9/30/2025 6:51 PM
I am looking for a Lawson Add-ins query to add new
Lawson S3 Procurement
Anyone getting PO 0000 not found for company error in PO23?
9/30/2025 2:45 AM
Anyone getting PO 0000 not found for company error
Lawson Add-Ins for Microsoft Office
PO20 - Cancel PO via Add-in
9/25/2025 8:03 PM
Is it possible to cancel PO's using add-ins? I
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
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
New Poster
Congrats on posting!
Engaged Poster
Wow, you're on a roll!
Avid Poster
Seriously, you're a posting maniac!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
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
New Poster
Congrats on posting!
Engaged Poster
Wow, you're on a roll!
Avid Poster
Seriously, you're a posting maniac!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
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
New Poster
Congrats on posting!
Engaged Poster
Wow, you're on a roll!
Avid Poster
Seriously, you're a posting maniac!
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader art thou!
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.