cancel
Showing results for 
Search instead for 
Did you mean: 

IT0014 wage type to be 0 during leave

akhilakademar
Discoverer
0 Kudos

Hi Experts,

We have a requirement to make a wagetype's amount as 0 only during a specific leave.

I tried absence valuation. But now payroll is generating this wagetype twice; once with amount 0 - calculated via absence valuation, another one directly from IT0014 - which should not be available.

Please let em know how we can achieve this.

Thanks,

Akhila

Accepted Solutions (0)

Answers (2)

Answers (2)

sikindar_a
Active Contributor
0 Kudos

Absence Valuation will be checked in the used in PRCL 10 which talks about both splits and reduction of amount based on his working days

Instead of that i would recommend to insert WPBPA in PCR X011 which used specifically for wage types in IT0014

akhilakademar
Discoverer
0 Kudos

Hi Sikindar,

Can you pls provide steps to make changes in PCR.

Thanks,

Akhila

former_member193210
Active Contributor
0 Kudos

Study current configuration, read available documentation on Schema, Personnel Calculation Rules (pcr), Payroll Functions and Payroll Operations, search the web for more information on PCRs and more specifically on pcr X011 and changes to it, and then copy X011 and try making changes to the copy.

Once you become confident enough that you can make changes and reverse your changes, and that you have created a copy of the pcr with the required changes, modify your schema to comment out X011 and add your pcr just after, and then test, test, test.

former_member193210
Active Contributor
0 Kudos

Would that impact all WTs on IT0014 or only a specific one?

Does the "specific leave" also have a "specific Absence Type" ?

In your Time Evaluation, could you read the Absences and then generate an Information Wage Type with a Number (transfered to Table ZL) if the specific Absence exist?

In your Payroll Schema, somewhere after the contents of Table ZL are transfered to the Input Table, you could add a pcr that would read the Information WT and transfer it's value to a Temporary Variable (through Operation ADDWT& xxxx). Then, immediately after Function P0014 (probably in sub-schema xAP0) processes the IT0014s, add a pcr to process the WTs that were just created and while processing them, query the temporary variable's Number. If it's value is equal to zero, it would mean that the employee does not have the "specific" Absence, but if it's value is something else, it would mean that the employee in on the "specific leave".

akhilakademar
Discoverer
0 Kudos

Hi Remi,

Yes, I have configured a new absence type and configured absence valuation.

This is applicable to only one wage type in IT0014 (Say 1053).

Though absence valuation is working fine, need to restrict this wage type appearing twice in RT table.

When employee is on leave, WT 1053 amount should be 0.

Else, complete amount from IT0014 should be paid.

Thanks,

Akhila

former_member193210
Active Contributor
0 Kudos

How is WT 1053 configured in Table T511?

Abhijit_Mundhe
Participant
0 Kudos

Hi Remi,

Please see below the configuration of WT1053 in T511,

former_member193210
Active Contributor
0 Kudos

When the "employee is on leave" what could you use to identify that? Could you use a field on IT0000 (such as P0000-STAT1), an Information Wage Type, or something else that could be queried through a pcr?

If so, after IT0014 is processed through Function P0014, add a pcr in your Payroll Schema to process WT 1053 and zero out it's RTE, NUM and AMT if the condition is met (the employee is "on leave").