Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8524

Re: Absence Quota Generation

$
0
0

Thank Upen,

 

While giving up on the Standard method, yesterday I went ahead correcting erroneous PCR.

 

This gives me the exact quotas at the exact times, but I am not able to clear the absences already used. Do you have any suggestions for that?

 

Below is the PCR:

 

 

           D OUTAQTYP

**

97            D HRS=YDAD01HRS?181

97 *          D HRS=YDAD01HRS?366

97 * *        D HRS=YDAD01HRS?731

97 * * *      Z GCY &QT2

97 * * =     HRS=0     HRS+24.00 ADDDB0410Z%PDTQA97

97 * =       HRS=0     HRS+16.00 ADDDB0410Z%PDTQA97

97 =         HRS=0     HRS+8.00  ADDDB0410Z%PDTQA97

 

NOTE %PDTQ is a custom operation built similar to UPDTQ, just the difference being this operation replaces quota regardless of the setting on V_556A_B.

 

This is the result of the PCR:

 

Personal leave is generated now from hire date to the end of the period:

02/05/2014 - 12/31/9999 with 0 hours on Feb 5th, 2014

02/05/2014 - 12/31/9999 with 8 hours on Aug 4th, 2014

02/05/2014 - 12/31/9999 with 16 hours on Feb 5th, 2015

 

And so on.

 

If employee were to take a personal day off on 02/04/2015 = 8hours

 

When 16 hours add on Feb 5th, 2015, it still keeps the 8 hours used:

02/05/2014 - 12/31/9999 with 16 hours on Feb 5th, 2015 with Used hours = 8hours. How can I clear the used hours also when I replace the Absnece quotas?

 

Thanks,

Soujanya.


Viewing all articles
Browse latest Browse all 8524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>