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
Best approach for Birthdate interface
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Isabella Harris
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5218
People Online:
Visitors:
373
Members:
0
Total:
373
Online Now:
New Topics
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
S3 Systems Administration
S3 Payroll - PayStubs
9/18/2025 6:58 PM
Looking for a reliable solution to streamline the
S3 Systems Administration
Quick Access report
8/25/2025 7:17 PM
Looking for a good way to see who has access Lawso
S3 Customization/Development
LP01 hiding a PTO plan from the list
8/13/2025 4:44 PM
Hi all. is there a way to hide a specific PTO&n
Lawson Business Intelligence/Reporting/Crystal
GLTrans - PO Line/MAInvdtl
8/6/2025 6:13 PM
Hello, we have an existing tabular model for fina
IPA/ProcessFlow
Retrieving GUID from InforOS
7/25/2025 2:22 AM
Hello everyone, I was wondering if there is a way
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
Chesca
1042
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
Best approach for Birthdate interface
Please
login
to post a reply.
4 Replies
0
Subscribed to this topic
52 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
April
Basic Member
Posts: 15
9/10/2009 2:09 PM
Hello - I am building an interface to run monthly and grab all of the employees who have a birthday that month. I then am emailing the list to the manager (or at least that is my goal). Right now I have it setup to email the manager, but it occurs multiple times depending on how many employees have a birthday that month. Would it work if I sent all of the employees with a birthday that month to a file and then somehow pull from that file for the email in order to generate a list?
I also have it setup as a branch to many msgbuilders (one for each manager). Is there an easier way to set this up so each manager only sees his/her employee's bdays instead of everyones?
Thanks, April
Tim Cochrane
Veteran Member
Posts: 154
9/10/2009 3:26 PM
Split
Here's the option we would use:
1. add a new index to EMPLOYEE (which is what we did, i don't think EMPSET97 is delivered), where key = Company, Supervisor & Employee.
2. Build a query using EMPLOYEE and the new key and the relation on PAEMPLOYEE to do a "Select where PAEMPLOYEE.BIRTHDATE month = current month.
3. Branch to send the email when the supervisor number changes, else continue spinning thru the query adding the results to a MsgBuilder node.
April
Basic Member
Posts: 15
9/10/2009 6:49 PM
Split
I am not sure how to accomplish #3 though. How in the branch am I telling it to hold the data until supervisor A switches to supervisor B?
Thanks, April
Tim Cochrane
Veteran Member
Posts: 154
9/11/2009 11:57 AM
Split
Not a problem April, although i'll put a disclamier here that this is only one way to accomplish this, SO...
In the Start node add 2 variables: one that will hold the EMPLOYEE.SUPERVISOR value, the other is a variable to let the flow know this is the first time thru the query. initialize both to spaces, Ex: firstFound=="", superNum=="".
Here's how the query loop would work:
After the EMPLOYEE table query, add a branch where one leg goes to an assign if firstFound="". Assign the supervisor number just found to the variable . You'll only do this assignment once as this is your initial seeding of the supervisor number that you will use later in the loop to determine when the supervisor number changes. Each time you go thru the query loop you'll either add birthdates to the MsgBuilder node or send the email, depending on if the supervisor has changed. Toward the end of the query loop, update superNum with the EMPLOYEE.SUPERVISOR = superNum so that always contains the latest suprvisor found.
Depending on your javascripting experience and if you want to add custom code to pflow.js, some of this could be handled by pflow.js.
I've roughed out a query loop in Designer. Email me and I can send a screen shot. There are no guts behind the nodes, but at least you could "see" what I'm thinking.
John Henley
Posts: 3362
3
3
3
10/3/2009 10:06 PM
Split
If you have the HRSUPER table hierarchy set up, you can query/loop on HRSUPER, then have an inner loop for each supervisor that looks for the supervisor's direct reports who have birthdays.
Please
login
to post a reply.