on 2011 Dec 16 7:53 AM
Dear Team,
I have to reset the Time Type 9334 at my leave year end i.e. on 31.03.20XX. The time Types i have used are the following with settings.
Time type 9333 PL Base Entitlement
Save as day balance 1 Balance formation
Cumulate in period balance 1 Balance formation
Time Type 9334 PL Time Counter
Save as day balance 1 Balance formation
Cumulate in period balance 1 Balance formation
Transfer prev. period 1 Transfer
Transfer prev. year 1 Transfer
I want to make this time type value "0" every year on 31.03.XXXX, as i have written a PCR for leave generation based on DOJ.
Request you to provide some inputs regarding this...
Also Please find the PCR below. Pls suggest me if any changes required.
ZT09 PL Leave Generation
*
****
HRS=BCURDY Set
HRS?15 Decision op. HRS
*
HRS=M9334 Set
HRS?1 Decision op. HRS
*
LEAVE Stop with PC Rule
<
HRS=BCURMO Set
HRS?4 Decision op. HRS
*
HRS-16 Subtraction
HRS*-1 Multiplication
HRS*2.5 Multiplication
ADDDB9333 Add to day balance
HRS=1 Set
ADDDB9334 Add to day balance
<
HRS-4 Subtraction
HRS*-1 Multiplication
HRS*2.5 Multiplication
ADDDB9333 Add to day balance
HRS=1 Set
ADDDB9334 Add to day balance
>
HRS=M9334 Set
HRS?1 Decision op. HRS
*
LEAVE Stop with PC Rule
<
HRS=BCURMO Set
HRS?4 Decision op. HRS
*
HRS-16 Subtraction
HRS*-1 Multiplication
HRS*2.5 Multiplication
HRS-1 Subtraction
ADDDB9333 Add to day balance
HRS=1 Set
ADDDB9334 Add to day balance
<
HRS-4 Subtraction
HRS*-1 Multiplication
HRS*2.5 Multiplication
HRS-1 Subtraction
ADDDB9333 Add to day balance
HRS=1 Set
ADDDB9334 Add to day balance
Kind Regards
Nag
Hi,
follow the following logioc for intializ zero of month balance.
*
****
varstcurmo
**
colop*
12 (for indian payrol march)
varstreday
**
colop*
01
hrs=m9334 (you feel like reset as zero)
addmb9334- (use "-" sign)
colop*
use this with PMB function
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Where you required in schema such place only insert i.e before Cumbt after limit functions any where based on business mapped in Schema which is not impact your business i.e after completion of your updating Quotas, any time wagetypes etc.
As per your Query you want intiliaze zero particular month balance at end of march of every year and start fresh counting from april onwards right.
Then given pcr logic will be enough. As you told should be cumulate daybalance/month balance/previous period/previous year also.
User | Count |
---|---|
109 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.