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:
Zac Shields
Past 24 Hours:
1
Prev. 24 Hours:
1
Overall:
5210
People Online:
Visitors:
252
Members:
0
Total:
252
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
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
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.
BarbR
Veteran Member
Posts: 306
6/2/2011 1:06 PM
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
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
Thank you all for your quick responses! PR539 it is.
Shane Jones
Veteran Member
Posts: 460
6/3/2011 11:25 AM
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
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
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
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
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.