Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Human Capital Management
Lawson S3 HR/Payroll/Benefits
PR39 Automation
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Michelle Wood Martinez
Past 24 Hours:
0
Prev. 24 Hours:
1
Overall:
5256
People Online:
Visitors:
291
Members:
0
Total:
291
Online Now:
New Topics
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
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
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
Human Capital Management
Lawson S3 HR/Payroll/Benefits
PR39 Automation
Please
login
to post a reply.
9 Replies
0
Subscribed to this topic
68 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
BlackSVT03
Basic Member
Posts: 7
6/2/2011 12:48 PM
First I want to say is, I have no experience in Lawson. My knowledge consists of what I can make head or tails out of from the training workbooks of some of my colleagues. So with that out of the way, I have been assigned the task of trying to completely automate the one time deductions. What we have now is we do a data dump from the cafeteria, gift shop; etc. After that, we have a process flow that reads the file, parses out the data, modifies the data and then creates a csv file. Then payroll takes the csv file and uses the Microsoft add-ins to upload the data to the ONETMDED table. We were told this is similar to using the PR39 job. How can I eliminate the step of payroll having to use the add-ins to upload the data? Thank you for your help.
sleow
Basic Member
Posts: 15
6/2/2011 1:05 PM
Split
There is a PR539 One Time deduction conversion program that will do the job for you. I am sure the CSV file is very close to what they are using for the Addins upload. We use if for the same thing. Ours is not automated but I am sure it would be fairly easy to schedule the job if you put the csv file in the right place with your flow.
Deleted User
New Member
Posts: 0
6/2/2011 1:06 PM
Split
You want to build the PR539 conversion file format. Define a PR539 job with the csv parameters that point to the file you place on the server, and your Payroll Dept staff can run the job to bring the data in. We have ours fully automated. The Cafeteria deduction system (Gempay) outputs the data, we have a scheduled ProcessFlow that converts the Gempay output into the PR539 format and FTP's it to the Lawson server. The PR Dept staff then run the pre-defined PR539 job when they want to pull in the data.
LisaN
Veteran Member
Posts: 53
6/2/2011 1:21 PM
Split
We also have the PR539 automated, it is scheduled to run every Monday morning through 'recdef'. Sounds like you could get your flow modified to perform like BarbR described and just make sure your 'recdef' job is scheduled to run after the file is in place. (We scheduled our PR539 job to run a couple of hrs after the file is placed in case there were problems). Thanks
BlackSVT03
Basic Member
Posts: 7
6/2/2011 1:25 PM
Split
Thank you all for your quick responses! PR539 it is.
Shane Jones
Veteran Member
Posts: 460
6/3/2011 11:25 AM
Split
We have deduction automation and I write directly to pr14 from a process flow. Sometimes the 500 jobs just create more complexity - just my opinion. (needing another job to run, having it know where the file is going to be, having someone review the output of the 500 job, making sure it runs after an upgrade, ...) I just tell the flow to do an AGS to update and send an email to the (assigned) owner of the process showing each change made.. mine counts the records in the file and the AGS transactions to make sure it completed all and it changes the email subject if any had a result other than "change complete - continue". If you want complete automation you need to make it so the user gets notified of everything performed... While you indicate you are a novice you are using process flow to create the csv so why not use the data to write directly to pr39? Good luck with your process. Email me if you want to see my flow... Shanesmj@yahoo.com
BlackSVT03
Basic Member
Posts: 7
6/3/2011 1:00 PM
Split
Fully automated, with notifications is what I would love to have. So I have it right now where I create the OTDLOADCSV and process flow dumps in the right directory. I've tested the job through the portal everything works great. But now I moved on to the AGS call and I am getting a "Security violation" message when testing it. When I check the log this is the error that I am getting: ERROR [JobRequest] Exception getting RMId for Owner OSId: lawson com.lawson.lawsec.authen.LSFSecurityAuthenException:Error getting resource string for identifier NO_IDENTITY_FOR_RDID, values {OSId, lawson}. Message: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key NO_IDENTITY_FOR_RDID Any ideas? Thanks again PS I saw on here to where you can test it through a URL
/cgi-lawson/jobrun.exe?FUNC=RUN&USER=
&JOB=
&OUT=text and it works.
Shane Jones
Veteran Member
Posts: 460
6/3/2011 10:16 PM
Split
Same user account? Have you run it both local and on the server? (your security error makes me question if you are running it under an account that does not have the correct security access.) Since you are using a "one-time" deduction it is likely that you are just adding records - consider using this: _PDL=YOURPRODLINE&_TKN=PR39.1&_EVT=CHG&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=A&COMPANY=
&EMP-EMPLOYEE=
&LINE-FCr0=A&EMPLOYEEr0=
&DED-CODEr0=
&DED-AMTr0=
&EFFECT-DATEr0=
&DED-STATUSr0=C&CHECK-GRPr0=
&DED-PRIORITYr0=
&CHECK-DESCr0=
&_DELIM=%09&_OUT=XML&_EOT=TRUE I think it is additional steps to create a processflow that parses a file just to save it to another file so that it can be used in a job. The flow parses the data so you might as well take the action at the time. Then you could create a message builder that collects all of the changes and results - line by line to include in an email.
BlackSVT03
Basic Member
Posts: 7
6/7/2011 12:17 PM
Split
I am able to run the locally and on the server under the Lawson login. I don’t know if it’s the right way or wrong way but i got it to work by changing the web program to "cgi-lawson/jobrun.exe?FUNC=RUN&USER=
&JOB=
&OUT=text" and it works perfectly. Now onto further automation issues. I am trying to pull the file that we are loading from the actual server it exists on. And i am running into a "Command error output: Access is denied". I have tried to run it line by line through the syscommand and i have put it in a batch file and tried to execute it. Here's the batch file. pushd \\dione\f$\automatic interfaces\copy of cbord\archive copy /y 06062011a.bak e:\lsftest\gen\bpm popd e: cd lsftest\gen\bpm ren 06062011a.BAK CBord06062011.csv I get the access to denied right of the bat with the "pushd \\dione\f$\automatic interfaces\copy of cbord\archive". I have made the Lawson account a local admin on the server, and i have shared the folder and I gave Lawson rights. I'm starting to hate the security with system.
BlackSVT03
Basic Member
Posts: 7
6/9/2011 3:28 PM
Split
Just as a FYI We figured out why we were having "Access is Denied" while accessing another server. Lawson kept telling us to grant permissions to the user that is running the process which, in our case, is wrong. While checking the event viewer (on the server we were pulling the files from) I notice that a user of "LAWSONWEBTST$" was logging on. The reason for this is that Process Flow must be using the "laserv-lsftest" service which is setup to log on as "Local System". So when you execute the process flow it is accessing files as the server name. Also we had to grant permission to the complete file path. So in our case automatic interfaces, copy of cbord and archive all had to be shared with permissions to the server (LAWSONWEBTST).
Please
login
to post a reply.