Comparison between Action days with Calendar days
Facing a very difficult situation, expecting your valuable suggessions.
Let me tell you my requirement first.
I have one action type which is "LO" action means Lay Off. what is this action means if we run this action type then watever the amount maintained in IT0008 should be paid as 50% for all other component except 3 WT's which are WT 1150 - HRA, 1160 - Med Alw, and WT 1170 - Washn Alw.
To overcome the above scenario. I have written one PCR and in that i have use the condition that if employee is on "LO" action type then that WT Amt/2 else 100%. which is working for all the 50% case people. but, the problem is for only those above 3 WT's.
The scenario is If employee is on "LO" action for full month then the amount maintain in IT0008 for the above 3 WT's should be considered as Zero, whereas employee is on the same action i.e. "LO" for partial month i.e. any other action exist other than "LO" then system should pay 100 % amount maintained in IT0008......
which means I have to compare action type "LO" with calender days, if "LO" = Calendar days then 0% pay else 100% pay.
How to compare this above scenario pls let me knwo. This is my golive week and i have to solve this issue any how. Pls help me friends.
Eagarly Awaiting your inputs.
Edited by: Prashantkumar Tata on May 11, 2011 1:22 PM
Edited by: Prashantkumar Tata on May 12, 2011 6:49 AM