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:
Saef
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5226
People Online:
Visitors:
462
Members:
0
Total:
462
Online Now:
New Topics
User Group Announcements
Carolina User Group Meeting
12/20/2024 3:15 PM
Date & Time: February 6, 2025, 8:30am - 4:00pm
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
Lawson S3 Procurement
ED501 Error: Map 850 not supported by /law/c15vda/lawson/test10/edi/bin/laws_out_91
11/12/2024 3:47 PM
Tried runnning ED501 and getting the atathced erro
Lawson S3 HR/Payroll/Benefits
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor ERP (Syteline)
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:24 PM
Hi, I need help with an error on syteline while us
Dealing with Lawson / Infor
Implementing Lawson v10 with Cerner Surginet, Case Cart Picking, and Quick Adds for the OR
10/29/2024 4:20 PM
Hi Everyone, I am wondering if there is any org
Lawson S3 HR/Payroll/Benefits
Canada Tax Calculation (Federal and Provincial) Issue
10/23/2024 5:00 AM
Initially, we had problem with CPP2 calculation is
Lawson S3 HR/Payroll/Benefits
CA Section 125 401k Plan
10/22/2024 10:13 PM
Does anyone have any recommendations on how to fac
S3 Systems Administration
Running AC120 deleted records from ACMASTER table
10/22/2024 3:40 PM
We recently ran the AC120 as normal and somehow it
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
1372
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
Advanced Member
Posts: 46
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
You have to include the AGS call here.
golfer24
Advanced Member
Posts: 46
4/21/2011 2:50 PM
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: 476
4/21/2011 4:42 PM
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
EVT should be ADD when adding a record or CHG when changing a record. You will need 2 AGS nodes for both fucntions.
golfer24
Advanced Member
Posts: 46
4/21/2011 5:41 PM
Ok, let me try the ADD changes.
golfer24
Advanced Member
Posts: 46
4/21/2011 7:33 PM
I'm still getting the same error after those two modifications.
Ragu Raghavan
Veteran Member
Posts: 476
4/21/2011 7:51 PM
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
Advanced Member
Posts: 46
4/21/2011 8:20 PM
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: 476
4/21/2011 11:41 PM
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
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.