on 10-21-2014 7:06 PM
Hello Gurus,
Please help me in configuring the below scenario regarding the Privilege Leave of India.
My client wants to round off the Privilege Leave which gets accrued every month (April-March) in the Time evaluation & distribute it according to the below requirement.
The Privilege Leave is given now 26 for every financial year (Apr-Mar) where in it gets accrued by 2.17 every month in the time evaluation. It should be rounded off to 2 every month & should be distributed as below.
For first 5 months (April to August) it should be accrued as 2 & in the 6th month (Sep) it should be accrued as 3. In the same way from next 5 months (Oct to Feb) it should be accrued as 2 & in the 12th month (March) it should be accrued as 3 which will be equal to 26 leaves per year.
Please help to resolve this. This is very urgent. Your valuable inputs will be appreciated.
Thanks in Advance,
M.V.V
Hi Vamshi,
You can use ROUND operation in the PCR and along with counter set with operation VARSTCURMO
in the PCR.
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 Vamshi,
1.Create time type with month balance concept and add to base entitlement and generation rule.
2. Select accrual period in the base entitlement and accrual period would monthly.
3. in the PCR use VARSTCURMO and check with the month and then pass the 2 or 3 value in the time type and this time type will call by QUOTA function.
4. Then Absence Quota type will be updated.
Got it.
Regards,
Sankarsan
Hi Samskaran,
Thanks for the reply. Its really helpful. How to differentiate between Regular & mid year joined employees in this rule? Can you also help me for the mid year joiners. The Annual Leave quota has to be prorated for them. In the mid of the month if they joined before the 15th then it is 2 & after 15th it is only 1 for them. Rest of the months it has to be followed accordingly.
Your inputs will be really appreciated. Thanks in advance.
Regards,
M.V.V
Hi Vamsi,
If you are generating quotas based on 'Time Type' (Day balance in base entitlement); to achieve your mid hire proration you can follow below logic
i) If employee is new hire, create a time type X and query current date (CURDAY) if it is 15th or below set time type X =1, if day is after 15 then set time type X=0
ii) while generating accrual at the end of the month, query time type X and if X=1 then accrual should be 1 and if X=0 then the accrual should be 2. (optional: You can restrict querying X by checking if his seniority in months; if the seniority is 1 you can skip checking time type 1)
HI Vamsi,
You can start your configuration like below.
As per my previous reply use period balance time type in the Rule base entitlement as 002 and maintain seniority 001-999 months and radio button would be accrual period.
Create another say Rule base entitlement as 001, maintain seniority 000-001 months, maintain constant 2.17 and accrual period radio button.
Now you will create one rounding rule say like below and attached this rounding rule in the 1st generation rule and select the 1st base entitlement rule and in the next generation rule don't assign the rounding rule.
TT 001 0.0 1.08 1
TT 002 1.08 2.17 2
Check and tell me.
Regards,
Sankarsan
Hi Vamshi,
Go ahead with below,
1. Create two Sequence under Absence Quota Type 90 and base entitlement 001.
Seq No-001
Seq No-002
2. Create a rounding rule TT which will assign to accrual entitlement in selection rule.
3. Selection Rule.
4. Validitity deduction interval for quota type 90.
5. PCR details which will pass the cosntant value base on the time evaluation period(i.e financial year for your case).
6. PCR placement in schema.
Insert this pcr just before CUMBT function and in between the IF ENDIF condition.
Line Func. Par1 Par2 Par3 Par4
IF EOM
ACTIO ZTST
ENDIF
Check and tell me. Hope so it will work.
You can check the below document link for test scenarion for your issue.
Best of luck.
Regards,
Sankarsan
Hi Sanskaran,
I didn't anywhere give the grouping as ZQ but in the time evaluation run in the CUMBT Output SALDO table the annual leave is coming but in QUOTA Processing table Quota Type Selection rule is shown as ZQ.. Dont know how that is coming. I am in the processing of checking all the generation rules. Please find the below screenshots & suggest. Thanks in advance.
Thanks&Regards,
M.V.V
Hi Vamshi,
I would say check your grouping once and QUOMO feature all return value in the feature through tcode (pe03). And where it's given ZQ.
As per my understanding it's taking because of not getting the grouping and as a default return in the QUOMO it's ZQ and it's returning the value.
Check.
Regards,
Sankarsan
Hi Vamsi,
There is one more way for this round off value for generating the quota is as below
Create the rounding rule and assign it in counting rule
Thanks
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
7 | |
6 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.