Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
IPA/ProcessFlow
Calling AP190 from PFI
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:
544
Members:
0
Total:
544
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
Integration / Customization
IPA/ProcessFlow
Calling AP190 from PFI
Please
login
to post a reply.
6 Replies
0
Subscribed to this topic
52 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Ludy
Basic Member
Posts: 21
9/13/2013 3:18 PM
Hi,
I have a flow, PF1, that gets triggered when a user voids a check in CB80. This flow captures key data info and writes it to a csv file. This csv file serves as input to another flow, PF2, which puts the invoices associated with this check on hold. Between PF1 and PF2, AP190 needs to run to reinstate the invoices before they can be put on hold.
My question is: how do I call AP190 from PF1?
Thanks,
Ludy
Bob Canham
Veteran Member
Posts: 217
9/13/2013 3:42 PM
Hi Ludy,
You can execute jobs by using the WebRun node using these parameters: FUNC=run&USER=
&JOB=
&OUT=xml&WAIT=true. By using the WAIT=true parameter, it will wait for the job to complete before returning to the next step in the flow.
Also, since you will probably need to update the AP190 parameters, you can do that using transaction nodes. The catch is that you have to pass all parameters to the update node, so doing a Node to inquire on AP190 first will get you most of your values that you can just pass to the update node.
Hope this helps.
Bob
Ludy
Basic Member
Posts: 21
9/13/2013 4:04 PM
Bob, thank you for that quick reply. I'll try what you suggested.
Thanks again,
Ludy
Ludy
Basic Member
Posts: 21
9/23/2013 12:34 PM
Hi Bob,
I added a web run node to my flow defined as follows –
uses IOS host
web program = cgi-lawson/jobrun.exe
post string = FUNC=run&USER=mdulatas&JOB=AP190CTS&PAY-GROUP=&CASH-CODE=&OUT=xml&WAIT=true
After I voided a check, I looked at the log and it said "“Executed WebRun Activity AP190CTS Found success string " . My question is : If AP190CTS run successfully, where do I find the report for this? I did a wrkjob on AP190CTS but didn’t find it. Also, I didnt create a AP190CTS job on portal so shouldn't the run have failed because there is no defined AP190CTS job?
Thanks,
Ludy
Bob Canham
Veteran Member
Posts: 217
9/23/2013 12:52 PM
Hi Ludy, glad that seems to be working. The somewhat screwy thing about how it works is that the print file ends up in the print manager of the user who executed the job, not the one who owns it. Similar to if you inquired on another user's job in portal and submitted it. So if your processflow is running as lawson, then the print files will be in Lawson's print manager. Also, you don't need the pay group and cash code parameters in your post string, though it doesn't seem to be hurting anything.
David Williams
Veteran Member
Posts: 1127
9/23/2013 12:56 PM
If you didn't actually build what the success string should have returned you won't get an actual success or fail message back. The "AP190CTS Found success string " is misleading since what it's actually telling you is that the success string was blank and it couldn't correctly report back.
If you don't have an AP190 job defined for user mdulatas then it would not have run and you couldn't retrieve the report. Keep in mind when the ProcessFlow user (either Lawson or PFUser) runs the job, it will more than likely be sitting in that user's print queue.
Ludy
Basic Member
Posts: 21
9/23/2013 1:46 PM
Thanks, Bob and David for the quick reply.
-- Ludy
Please
login
to post a reply.