on 01-26-2015 2:00 PM
Dear Consultants,
I have one overtime scenario where, a different overtime payment is supposed to be given to the employees
for working on week offs and on public holidays during the month of "Ramadan".
Rules :
1) Week Offs : Basic * OT Hours * 125%.
2) Public Holidays : Basic *OT Hours *150%.
In other months, the rule will be different, note that we have different work schedule rules in the month of Ramazan.
Kindly suggest.
Regards
You can simply query work schedule rule and holiday class and day type since work schedule rule for Ramdan and other periods are completely different i.e let say XXXX work schedule is defined for ramdan period YYYY is for other than ramdan period when work schedule XXXX is there it is identified as ramdan period then next thing query Holiday class, Day type, and Processing type later same pass it to the ZL table once ZL table is updated with number of OT hours later same can be queried in pay roll schema and you can pay them accordingly.
Go through below links for understanding.
Regards
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zuber,
In the system we can say that when Ramadan month will start and end. So for that reason you can do like below
1. Create two time types and use that two type in IT2012 for the Ramadan start date and end date for all active employee for that Ramadan month.
2. Now when you will get the Time Type X from IT2012 then you will keep value 1 on the time type through out the month if you will not get the another Time Type Y value from IT2012. If Y present then cancel the X value transfer to next day. Through PCR you will control this.
3. If employee works on the Weekly Off or Public Holiday with comparison that current day time type X is present or not. If it's present then system can understand that system will generate WTX for W/OFF and WTY for Public Holiday. On the another month's for this two day's you will create WT M and WT N.
4. In the wage type valuation you will use 125% for WT X for basic pay and 150% for WTY. You can this calculation through custom PCR in payroll schema.
Hope so you got the system design.
Regards,
Sankarsan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First you have to configure Time Transfer Type. This time type will be created for Ramadan Start and End period base on time type value. Suppose you have created time types XXXX Where XXXX is for Ramadan Start date with value 1 and Ramadan End date with value 2.
Following below PCR is rquired to create.
1. ZTTF
*
XXXX
HRS=DXXXX
HRS?1
*
ADDDBXXXXZ
ADDMBXXXXZ
>
HRS=0
ADDDBXXXXZ
ADDMBXXXXZ
****
LEAVE
Use this pcr with function ACTIO after P2012 function in time schema.
2. ZTTD
*
YYYY
HRS=1
3. ZCHK (Checking employee is working during RAMADAN on W/OFF or P/H)
*
****
VARSTHOLCL
*
VARSTFREE
N
LEAVE
Y
VARSTPRSNT
N
LEAVE
Y
OUTWPSHIFT
AAAA_WSR
HRS=PNUM
ADDDBMMMMZ
********
LEAVE
1
VARSTFREE
N
VARSTPRSNT
N
LEAVE
Y
OUTWPSHIFT
AAAA_WSR
HRS=PNUM
ADDDBMMMMZ
********
LEAVE
Y
VARSTPRSNT
N
LEAVE
Y
OUTWPSHIFT
AAAA_WSR
HRS=PNUM
ADDDBNNNNZ
********
LEAVE
Insert this PCR with ACTIO function after P2011 function.
4. ZOTW (Generate OT wage type)
*
XXXX
HRS=MXXXX
HRS?1
*
HRS=DMMMM
ADDZL 9001
HRS=DNNNN
ADDZL 9002
HRS=0
ADDDBMMMMZ
ADDDBNNNNZ
>
LEAVE
Insert this PCR with ACTIO function after PCR ZTTF. You can add operation OUTWPSHIFT in the ZOTW pcr for put further logic based on the WSR OT will be generated.
Note:- If you are using different work schedule for the Ramadan period then 1st two PCR's is not required then you can put OUTWPSHIFT operation in the 3rd PCR and go with the logic. In the OUTTPSHIFT operation you may will get some error related to parameter then use VALEN operation before OUTWPSHIFT operation.
*****But if you do not want to change the WSR during the Ramadan Period then you can follow the details logic which i have mentioned.
Do accordingly then in the ZL you will get the two wage type value will come based W/OFF and P/H.Payroll schema will read this number value and will calculate through below Valuation basis table V_512w_B for OT amount calculation.
Hope so you got it now.
Regards,
Sankarsan
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.