cancel
Showing results for 
Search instead for 
Did you mean: 

Reset Time Type to Zero on 31.03.2012

Former Member
0 Kudos
654

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Dear Consultant,

This time type i am using is Yearly Time Type. Please let me know whether i can use this for making it "0" at 31.03.XXXX.

Also pls let me know where shoul i insert this in my SCHEMA...

Please suggest...

Kind Regards

Nag

Former Member
0 Kudos

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.