cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Wage code no prorate, but must consider WPBP splits - Oman Payroll

karpagam_rajbabu
Participant
0 Kudos
271

Hi Team,

My Scenario is as given below:  Oman Payroll

1) Suppose in Jul-2024, emp takes 1day LOP  & then 5 day Sick leave, then the wage code 1200 must be paid fully, say 100 Rials.  If employee is present for 1day also then the full amount must be paid.  Only if the employee is on Loss of Pay Leave for full month then the amount will be zero.  So used PC10 as 0 (No prorate), and this requirement is met.  
2) Suppose the employee probationary period is getting completed on 12.07.2024 and wagecode 1200 is increased as 150 Rials, then the month salary must get calculated as (100/31*11 + 150/31*20) = 136.667 Rials.  But now 100 Rials of the 1st split and 150 Rials of the 2nd split is getting added up and the amount in RT shows as 250 Rials.

Kindly suggest how to achieve both cases 1 & 2.  Do I have to work on customizing XPPF or is it possible with any Processing Class. 

Accepted Solutions (0)

Answers (1)

Answers (1)

karpagam_rajbabu
Participant
0 Kudos

Hi Team,

I wrote the custom PCR for /803 as below in PCR ZPP1 (a copy of standard PCR XPP1):

ZPP1

*

/803

rte=tksoll

rte-tkau**

rte?0

*

rte=tksoll

rte*kgenau

rte/tkdivi

addwt *

=

addwt *

And this works for all my scenarios.

1. no prorate for paid and unpaid leave

2. full-month unpaid leave, then zero

3. prorate for WPBP splits like mid-month joining, mid-month leaving, inactive status, etc.