Time Card Approval based on calculated payroll time type
Summary:
Time Card Approval based on calculated payroll time type
Content (please ensure you mask any confidential information):
Hi Experts,
We are trying to build the approval rule for our timecards based on calculated payroll time type.
Ex: If any employee has weekend worked days in the calculated time, the it should trigger for manager approval , else auto approve.
Somehow this is always getting auto approved. I have used the rules as below:
1.
IF
((ApprovalTimeRecordGroup.attributeNumber10 == 300000002220840) AND (ApprovalTimeRecordGroup.attributeChar7 != "ORA_HWM_MANAGER_ENTRY") AND ((getApprovalTimeRecordsHeader1Response.result.recordedHours >= 48) OR ((ApprovalTimeRecordGroup.Payroll Time Type equalsIgnoreCase "Holiday Worked Days") OR (ApprovalTimeRecordGroup.Payroll Time Type equalsIgnoreCase "Weekend Allowance Days"))))