Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Design Studio
Passing values from DS to PF
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Brady
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5274
People Online:
Visitors:
497
Members:
0
Total:
497
Online Now:
New Topics
Lawson S3 Financials
Applying credits to open AP invoices
4/28/2025 1:26 PM
Hello, I am new to the Lawson system and after ru
Lawson S3 Financials
Lawson APIA
4/28/2025 1:22 PM
Has anybody recently installed Lawson's APIA m
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
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
User Experience
Lawson Design Studio
Passing values from DS to PF
Please
login
to post a reply.
4 Replies
0
Subscribed to this topic
12 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
LCM
Basic Member
Posts: 8
2/11/2009 8:24 PM
Hi,
I am attempting to build a hybrid Design Studio and Process Flow solution for MA43 but I have run in to some difficulties. The request that I received is that when the Change button is used that I need to evaluate each line item to determine if the user has increased the value of the Invoice field. If so, a PF is to run that among other things sends an email to the buyer listing what happened and who made the change. I have built a DS page that initially builds an array of what the values are for each line at the time of the inquire and then compares them to their values when the change is entered. I can see via alerts that I have the values I need written to arrays for each line. I have also used the Wizard to build a PF trigger that passes DB values to the flow and creates the email.
Now for my difficulties:
First for the trigger, I have been unsuccessful integrating the PF trigger in to the script conditional (i.e., xml & JS). Consequently, at this point the flow runs every time the change button is pressed regardless of whether or not the conditions of the change occurs. Is it possible to refine the PF trigger in DS to run under conditions beyond what the Wizard allows you to build?
After spending a good chunk of time on this without success, I figured that I would just do the analysis on the flow side instead. The problem I ran in to here is getting the values contained in my global variables in DS in to my flow. I have no problem passing Lawson values but I have not figured out how to pass the variables I created in my functions on the Script portion of DS since they do not appear as “User Variables” (and I do not get values when I simply replace a variable with the name of one of my variables).
I am at an impasse here and would appreciate any suggestions that anyone has to offer.
Thanks!
David Williams
Veteran Member
Posts: 1127
2/11/2009 9:05 PM
Split
The best work around for what you're trying to do is to build an AGS call to trigger ProcessFlow in stead of using the form action. You would use the OnAfterTransaction function to see if the action was a Change and then check your criteria before triggering your flow.
If your criteria is met then do an AGS call to WFWK.1, passing all of the data elements. If your criteria is not met then just do a Return True so the form continues on as normal.
Terry P
Veteran Member
Posts: 234
2/11/2009 9:06 PM
Split
Drop me a note at pickering@4j.lane.edu with your email address or phone number.
LCM
Basic Member
Posts: 8
2/13/2009 10:36 PM
Split
Thank you David and Terry for pointing me in the right direction. I now have this request functional (although I still need to add a few things) and I have learned quite a bit while doing it. I neglected to add that we have moved to LSF9 earlier and that added some confusion for me since I did not think I could make an AGS call to WFWK anymore.
This is a great site. Thanks again.
Gary Davies
New Member
Posts: 0
3/9/2009 10:45 AM
Split
WFWK still works, it just has been moved to the application product line instead of LOGAN in 9.0
Please
login
to post a reply.