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:
Zac Shields
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5210
People Online:
Visitors:
409
Members:
0
Total:
409
Online Now:
New Topics
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
Lawson S3 Procurement
RQ13 Approval Info
10/17/2024 2:12 PM
When a Requisition is approved on RQ13, what table
S3 Customization/Development
Read and Write CSV file COBOL
10/9/2024 2:53 PM
Does anyone have a quik example of a program that
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
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
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
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
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: 3353
10/3/2009 10:06 PM
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.