Custom to resolve a 20 pay or deduction codes limitation of ESS PayStubs and CheckHistory.

Expand / Collapse
 
     

Custom to resolve a 20 pay or deduction codes limitation of ESS PayStubs and CheckHistory.


 Issue:  A client recently uncovered a limitation of ESS PayStubs and CheckHistory.  Specifically no more than 20 deductions or 20 pays will be displayed on the pages. 

Solution: A custom was created and implemented which resolved this issue be allowing an unlimited number of deductions or pays to be displayed.  The custom has been submitted with a request that it be included in the standard product.

Detail: Following is some detail on the subject:

(1) The Pay Stub with EssPayStub Rates system parameter set to no.



The area outlined in blue will not appear on the paystub after the Rates system paramater is set to yes.

(2) The Pay Stub with EssPayStub Rates system parameter set to yes.

Note that the pays, outlined in blue on point (1), do not appear on the pay stub in point(2).

(3) The custom solution involves modifications to the PayStubDetails and CheckHistoryDetails C# programs.

(4) Specifically the following logic was placed in each location where a datatable was built for display on the pay stub or check history:

// --> custom by Denton
int pdsCount = 40;
try
{
    pdsCount = payPds.DataArray.GetUpperBound(0);
}
catch {}
dt.DataChunkSize = pdsCount + 1;
// --^ end of custom

(5) Using the above logic the number of pays included in the datatable is set equal to the number of pays available in the page data set.  Prior to this custom the limit was 20 pays.

(6) Because the above custom was applied only to Pay Stubs and Check History the remainder of emPath continues to use 20 are the chunk size.



Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Last Modified:Tuesday, December 16, 2008
Last Modified By: Denton Harryman
Type: FIX
Article not rated yet.
Article has been viewed 1,508 times.
Options