Skip to Content
0

Time Evaluation Period Issue

Nov 03, 2016 at 04:46 PM

59

avatar image

Hi All,

We are facing an issue with time evaluation period. Generated absence quotas based on financial year April 1st to March 31st. And previous year quota to be carried forward on April 1st. We have written PCR's to calculate balance on 31st march and to carry forward on April 1st.

But PCR's are not working. PCR to calculate balance on 31st march is not reading on 31st march and carry forward is not happening on April 1st.

Sharing the PCR's here. Please let me know how to resolve this period issue.

pcr1.png (9.0 kB)
pcr2.png (11.6 kB)
log.png (8.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Richard Kersey Nov 23, 2016 at 04:53 PM
0

Hi,

Am I correct in saying that the quota or multiple quotas you want to read are all quota type 01?

If so can you also please confirm whether time type 9001 is the base entitlement to quota 01 or just a time type where you are holding a carry forward?

I assume you are adding in the value of 9001 into the base entitlement of quota 01 on the following day (start date of new leave year)?

Thanks

Share
10 |10000 characters needed characters left characters exceeded
Rémi Corriveau Nov 23, 2016 at 05:56 PM
0

When I look at the screen capture of the Log, I can't see what Function calls pcr Z151, but it is clear that the Day being processed is not in Month 03 since the return value to Operation HRS=BCURMO HRS?3 is not = . So please confirm that in your System, March is month 03 and that you look at the Log on March 31st.

One way to carry forward the Quota Balance from the last day of the Quota Validity Period to the next day is to insert 2 sets of Functions in your TE Schema, one that is activated on the 1st day and one that is activated on the last day, such as:

Note that in this scenario, an Information Time Type is generated on March 31st, and it is queried on April 1st (using HRS=Lxxxx) in order to create the Quota Entitlement Time Type.


Share
10 |10000 characters needed characters left characters exceeded