Former Member

# Payroll schema calculating double pay

Dear All,

I have an issue with a payroll schema,

When employee is hired

• some day in the middle of the month – on the payslip calculations is not done
automatically divided by days but paid for full month.

• When leaving in the middle of the month – employee is getting double salary on the payslip, again
there is no division by days

• When getting a raise in the middle of the month – employee gets double pay again.

I want the solution for the schema to calculate the days so if employed at the middle of the month
the first pay would be on for the first few days the next pay for the full month the same fo leaving etc.

Also It is also a requirement that every month is fixed to 30 days, and these are set in the schema.

Schema XAL9 calls ZPPF which in turn call ZPP0

10 compart the constant calendar days with  30

20 if it is less then 29 (feb with 28)

30 if it is anything else add 1 day (bringing it back to 30)

40 if is is 28 matching the second condition add 2 days (bringing it back to 30)

50,60 are if it is = to 30 or greater than 30

10|10000 characters needed characters exceeded

Feb 20, 2013 at 09:25 PM

Please check pclass '10' (Mark wt for monthly factoring) for the wt in IT0008 (should be set to somthing other than '0' ('No Reduction') ) .

10|10000 characters needed characters exceeded
• Former Member Jörg Wulf

Hi Jorg,

Sorry for coming back late but was super busy, this article helped a lot! we managed to fix the
issue the split worked fine and showing only basic pay, unpaid absence and
resulting with the correct total gross amount. If I have the possibility to
give you more points I would, thanks a lot for your help.

Regards

• Feb 21, 2013 at 05:25 AM

As said Firstly u have to modify XPP0 in PCR XPPF  are u working for saudi ?

10|10000 characters needed characters exceeded
• Former Member

Yes, what should be the modifications sorry for asking but this is different

• Former Member
Feb 21, 2013 at 07:14 AM

Hi,, i had customized XPPF PCR and also XPP0 to XPPJ

ZPP1 PCR is for mid month join and left for monthly 22 days payout

you can customize it by changing to 30days.

1.JPG (23.5 kB)
2.JPG (13.6 kB)