Skip to Content

Absence Quota Generation upon Termination


Please help me on the below issue.

Currently quota is getting generated for each employee at the end of the month.For this, created the "generation rule" with accrual period as "Month".

Issue : However, if the employee gets terminated before the end of the month no quota is getting generated for that termination month. Attached generation rule and PCR screenshot.

e.g. employee terminates on 16th Jan 2020, then his quota should be prorated and generated on his last working day i.e, 15th Jan 2020

Requirement : Every month employee is eligible to get 12 hrs/month and accrual should be given at the end of the month.If employee terminates before the end of the month, his quota should be prorated as per the formula = ([no.of hours worked (IT2002)/174 hrs]*12hrs) and transferred to IT2006 on the last working day.

Could you please advise how to generate the quota on the last working day?

Thank you in advance for all your inputs.

pcr.png (34.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Aug 06, 2020 at 10:23 PM


    In your PCR, manually calculate the quota you require the employee to get and assign the value to a time type created specifically for this scenario. Create a separate quota generation rule which fires daily and takes its value from your new time type. This will be processed daily by the QUOTA function but will only update the quota when you have assigned a value to the appropriate time type.

    Alternatively you can update the quota with operator UPDTQA in your PCR, though for clarity I prefer use QUOTA.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.