Hi all:
I have two question about valuation basis /001 and /002. I want to use /001 for calculating Overtime work salary and use /002 for sick leave deduction.
/001 hour rate: basic salary/208
/002 daily rate: basic salary*12/365
Kindly be informed that I have created one constant Z0005 in V_T511K, Z0005 = 208, so the first step, OT salary was calculated correctly. The OT hours and Sick leave days are maintained in WT 9103 and 9104 separately.
The logic about OT salary : /001 * 2 * OT hours
The logic about Sick leave deduction: Basic salary - /002 * (natural days during the month - leave days)
But when calculating /001 and /002 by rule Z013 which was copied from X013, I found that /001 and /002 are same, and I don't know how to change the rule to achieve my purpose.
Image may be NSFW.
Clik here to view.
Q1: How to change the rule to calculate different /001 and /002?
Q2: After calculating /002, what should I go to calculate leave deduction?
Look forward to getting experts' help, thank you.
Best regarts,
May.Feng