Monday, July 18, 2011

HRA Calculation - Indian Payroll

Hi Experts,

There is a requirement from the client to calculate HRA:

1.If an Employee Join during the month (i.e 2nd to 28/30/31) then HRA should be paid on Proportionality base
2.If an Employee attendance is booked for atleast one day in a month then HRA should be paid FULL 100%
3.If an Employee is Leave on full month then HRA should not be paid.

We have maintained char. for HRA WT as below mentioned:

PC -1 / Spec-1
PC-10 / Spec 4 and some other Processing classes.

We succeeded from 1 & 2 conditions ,but we are facing problem with 3rd condition, Please help me ............

Thanks in Advance!!!

instead of maintain the PRCL 01 and 10 Make themb blank or create a wage type in /8 series and write the PCR for the above threee conditions in one below is the PCR for the same requirement

I have written a PCR to meet all the above requirment in
> Subschema INAL and PCR INP1
>
> *
>  /801 Partial period factor 1
> RTE=TKSOLL Set
> RTE-TKAU** Subtraction
> RTE*KGENAU Multiplication
> RTE/TKDIVI Division
> ADDWT * OT Output table

>  /802 Partial period factor 2
> WGTYP? Query wage type
> ****
>  PPPAR C Entry on first?
> N
> RTE=TKSOLL Set
> RTE-TKDIVI Subtraction
> RTE*KGENAU Multiplication
> MULTI ARA Multipl.amt/no/rate
> AMT=0 Set
> ADDWT 1020 OT Output table
>  Y
> RTE=TKSOLL Set
> RTE-TKAU** Subtraction
> RTE*KGENAU Multiplication
> RTE/TKDIVI Division
> ADDWT 1020 OT Output table
>  1020
> RTE=TKAP** Set
> AMT=1 Set
> MULTI ARA Multipl.amt/no/rate
> ADDWT * OT Output table
>