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
Paycheck view under Self-Service
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Raju
Past 24 Hours:
1
Prev. 24 Hours:
2
Overall:
5205
People Online:
Visitors:
326
Members:
0
Total:
326
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 Smart Office
Error
11/6/2024 9:54 PM
When I try to enroll a retiree in 72.1 health plan
Infor CloudSuite
Syteline: New Data Maintenance Wizard (Error) Need help
11/1/2024 4:39 PM
Hi, I need help with an error on syteline while us
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
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
1369
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
Paycheck view under Self-Service
Please
login
to post a reply.
19 Replies
0
Subscribed to this topic
68 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
John Costa
Veteran Member
Posts: 154
10/2/2007 6:12 PM
OK, here’s one to baffle the best of you. I sure hope you can help me find a solution.
I have one employee who is unable to view his paychecks under Employee Self-Service (ESS). Whenever he clicks on the “Pay Checks” link to see a list of his paychecks, he gets a “Invalid Parameter: CHECK_DATE>” error. He is also unable to view “Year to Date” info. He gets these errors regardless of what PC he tries to log into the Portal with.
I have over 2,000 employees in the same security class and no one else gets this error. That rules out a problem with the “paytyear.htm” file on my web server (var FUTUREPAYMTS = TRUE). I believe I’ve ruled out his PC because I can view my paychecks from his browser (Internet Explorer 7) without error. I’ve also modified my RD30 record to reflect his employee number, logged in to ESS on his machine, and was able to view his paychecks without error.
I’ve gone as far as deleting his user ID from the environment on my application server and recreating it, along with deleting and recreating his RD30 record. An IOS cache refresh along with a reboot of both my application server and web server had no effect. I’ve tried testing with Lawson security turned completely off and yet the error remains.
I had the user log into our backup environment. He was able to view his paychecks without any error. I think that narrows the issue down to something on either our production application server or the production web server.
I am able to run DME queries directly from his browser on his machine, hitting the PRTIME and PAYMASTR tables without a problem, bringing back paycheck data in raw XML.
Lawson GSC is at a loss to explain the error.
Any suggestions from the gurus here on the forum? I’m at my wits end.
Sam Simpson
Veteran Member
Posts: 239
10/2/2007 6:26 PM
Try this.
1. Let the user login to Lawson.
2. call the refresh profile servlet - http://
:
/servlet/Profile?_REFRESH=True
3. resfresh ios cache.
hope this helps.
John Henley
Posts: 3353
10/2/2007 6:26 PM
What platform / version of IOS and ESS are you running?
John Henley
Posts: 3353
10/2/2007 6:42 PM
Check versions between production and backup server of DME.
Do a compare/diff of paytyear.htm between the two servers.
Between those two you should find the problem.
If that doesn't uncover it, try with security off to rule out a security bug or perhaps orphaned data security rule,etc.
John Costa
Veteran Member
Posts: 154
10/2/2007 6:43 PM
We are on version 8.0.3, service pack 3 of IOS. ESS is version 8.1.0.50 (Yes, I know, very out of date, we're working on it...) Refreshing the user profile followed by an IOS cache refresh had no effect, the error remains.
Ragu Raghavan
Veteran Member
Posts: 475
10/2/2007 7:14 PM
A while back, I was customizing some ESS/MSS code and I got a similar message:
"Invalid Paraamter B-COR".
Truned out that the Supervisor was defined as "B-COR&HR".
The "&" in the process-level threw a DME call off. I had to do some ESCAPE/UNESCAPE in the code to take care of this. You could check and see if the Supervisor, process_level, department etc for the employee are the same in production/backup and if the production one has any special characters.
ridjayc
Veteran Member
Posts: 191
10/2/2007 7:16 PM
What is the code that you have for function GetPayment() in file paytyear.htm?
For the "Pay Checks" link you said you were getting an error of "Invalid Parameter: Check_date>:" Are you getting the same error on “Year to Date”?
John Costa
Veteran Member
Posts: 154
10/2/2007 7:28 PM
Thanks so much for your prompt responses thus far. I sincerely appreciate the effort.
I'll have to spend some time looking at the Supervisor, Process_Level, Department etc. to see if there's any special characters. Since I am able to bring up this employee's data under my modified RD30 record, I'm not sure if this would be the cause but I'll certainly take a look. Besides, the backup system database is a mirror of the production database, so the data contained within them is virtually idnetical. The backup database was restored from production backup taken this past Sunday.
Here is the code from the GetPayment() function:
function GetPayment()
{
var dmeObj = new DMEObject(authUser.prodline,"paymastr");
dmeObj.out = "JAVASCRIPT";
dmeObj.index = "pymset4";
dmeObj.field = "check-nbr;check-type,xlt;check-date;per-end-date;"
+ "gross-pay;check-net;net-pay-amt;check-id;employee.full-name;"
+ "employee.last-name;employee.first-name;employee.middle-init;"
+ "employee.fica-nbr;employee.process-level;employee.department;"
+ "employee.addr1;employee.addr2;employee.addr3;employee.addr4;"
+ "employee.city;employee.state;employee.zip;country-code;"
+ "employee.label-name-1;currency-code;cucodes.forms-exp";
dmeObj.select = "status=9";
dmeObj.key = authUser.company+"="+authUser.employee+"=";
// If this is the first call and the flag is set, look for future dated payments.
if (FUTUREPAYMTS) {
dmeObj.select += "&check-date>="+YYYYMMDD1;
}
else {
dmeObj.key += YYYYMMDD1+"->"+YYYYMMDD2;
}
dmeObj.max = "600";
dmeObj.sortdesc = "check-date";
dmeObj.func = "ProcessThisPayment()";
dmeObj.debug = false;
DME(dmeObj,"dmedata");
}
John Costa
Veteran Member
Posts: 154
10/2/2007 7:30 PM
When the employee clicks on the 'Year to Date' link, the blue ribbon at the top of frame starts animating but nothing ever gets returned. Normally, I should see a drop-down appear listing years (2004 thru 2007).
ridjayc
Veteran Member
Posts: 191
10/2/2007 8:03 PM
I don't know how much time you want to spend on this. This is a possiblity although I don't know if you really want to do this unless you can figure out a way to recreate the problem in a test environment.
You can make a custom copy of paychecks.htm possibly called xxPayChecks.htm
and also paytyear.htm to say xxPaytYear.htm. You would then modify xxPayChecks to point to xxPayTYear.htm. Then you can then add an alert near the bottom of GetPayment().
Something like
GetPayment()
{
.
.
.
alert('The dmeobj.select is ' + dmeObj.select);
.
.
}
I am guess that variable YYYYMMDD1 is not set correctly. If you confirm that it is not being set correctly then you can step back through say GetDateRange() and hopefully at some point finding out why.
John Henley
Posts: 3353
10/2/2007 10:16 PM
John, let's do what Jay is recommending, but instead of putting the alert in to show the dmeObj.select, I want you to change
dmeObj.debug = false;
to
dmeObj.debug = true;
This will give you a pop-up dialog when it does the DME call. Take a screen shot and look closely at the call.
DO NOT post the screenshot since it contains the SSN.
Type that call manually into a browser window, using that employees login and see what happens.
I agree with Ragu that you may have a stray ampersand in the call...or the result.
or perhaps the SELECT part of the DME call is getting messed up.
John Costa
Veteran Member
Posts: 154
10/3/2007 12:06 PM
Thanks for the help folks. I checked the employee's record in both EMPLOYEE and PAEMPLOYEE. I could see nothing there out of the ordinary (no use of funky characters or anything). I'll try and modify the GetPayment() function to see if I can capture the DME query. It might be tough to do it today since I will be upgrading our backup system to ESP7/MSP6.
John Costa
Veteran Member
Posts: 154
10/3/2007 12:24 PM
Attached is the DME query resulting from changing the debug flag in the GetPayment() function from "false" to "true". I didn't see a SSN in the screenshot so it looked OK to post here. Anything look strange? (I've erased the server name for security purposes.)
Attachments
11032518771.JPG
John Henley
Posts: 3353
10/3/2007 3:04 PM
I think this is an issue with the URL encoding, which changed with IE7. If I do a DME query without encoding that select, I get the same error you're reporting. If I encode it, it works fine. So, did you post this screen shot from that user's PC/browser? I'm guessing you didn't, based on the fact that the function code that you posted doesn't match the &SELECT part of the DME query in your screen shot. So, try this:
In paytyear.htm on the server where you are having this problem, change:
dmeObj.select = "status=9";
to
dmeObj.select = "status%3D9";
and change:
dmeObj.select += "&check-date>="+YYYYMMDD1;
to
dmeObj.select += "%26check-date%3E%3D"+YYYYMMDD1;
Then stop/restart that web server. From that user's computer, make sure they have the IE cache = everytime setting, and clear the cache.
Have them login and try that page.
John Costa
Veteran Member
Posts: 154
10/4/2007 1:18 PM
I went ahead and made the changes you suggested, updated the DME select statements as you suggested. After I restarted the TomCat service, the issue on the user's PC was RESOLVED! But, and this is a big one, now no one else can view their paychecks or Year-to-Date info. The following error is received: SELECT Option: Field Name Must Preceed Value. COMPANY=1
(I've attached a screen shot below).
Since the needs of the many outweigh the needs of the few (or the one), I restored the original paytyear.htm file.
Where to from here?
Attachments
1104181179671.JPG
John Henley
Posts: 3353
10/4/2007 1:55 PM
Well, I'll take it this is good news, since it shows we're on the right path.
OK, where to go from here. I would copy the paytyear.htm to paytyear_test.htm and change the "dmeObj.debug = true" so you can see the DME call in its entirety...
Are all your users on IE7??
BTW, while you're testing this, you can always copy paytyear.htm to a different file name, e.g. paytyear_test.htm and execute it directly, i.e.
http://myserver/lawson/hrnet/paytyear_test.htm
John Costa
Veteran Member
Posts: 154
10/4/2007 2:15 PM
Thanks, John, I appreciate your efforts. Regarding Internet Explorer, we have a mixture of folks using IE7 as well as IE6. I wish it was standardized across the domain, but unfortunately that's not within my realm of control.
For your info, I got the SELECT option error on two machines when trying to view my paychecks, one using IE7 and the other using IE6.
Here's the resulting DME:
Attachments
1104155187571.JPG
John Henley
Posts: 3353
10/4/2007 2:28 PM
It looks like you have some stray encoding-related characters in the &SELECT. For example:
&SELECT=status%253D9%2526check-date
should be:
&SELECT=status%3D9%26check-date
In other words, it's "double-encoding" the percent sign!
John Costa
Veteran Member
Posts: 154
10/4/2007 2:39 PM
Would there be a setting on my web server that controls this, such as something in IIS or IOSRE? This is a strange one since everyone is able to log into my backup system without error. We are right in the middle of upgrading our backup system to service pack 7 and we are shooting for October 13th to upgrade our production system. I'm beginning to think we won't find a resolution to this and that it will magically resolve itself once the upgrade is complete. I know, wishful thinking....
John Costa
Veteran Member
Posts: 154
10/4/2007 2:39 PM
Would the user's PC be doing the double-encoding somehow?
Please
login
to post a reply.