cancel
Showing results for 
Search instead for 
Did you mean: 

PCR for Wage type

Former Member
0 Kudos

Gurus

I have written rule as below.

I have Assigned 4 Dummy Wt (6000,6001,6002,6003) in T554A counting class to read number of absence (Paid and Unpaid)

and Based on that need to pay an amount for WT1050

Condition is

WT 1050 = Rs.500 (No Paid and unpaid Absence)

WT 1050 = Rs. 500 (If Paid and Unpaid absence is two days)

WT 1050 = RS.450 (IF Absence is 2.5 days)

WT 1050 = Not paid and

Written rule As below. But the Amount not displayed in payslip and in RT table against Wt1050 is comming as *0.006.00 under.Kindly help us in this.

ZAAA Attendance Allowances

3

6002 Absence Deduction

NUM=6000 Set

NUM+6001 Addition

NUM+6002 Addition

NUM+6003 Addition

NUM?2 Comparison

<

AMT=500 Set

MULTI NAA Multipl.amt/no/rate

ADDWT 1050 OT Output table

=

AMT=500 Set

MULTI NAA Multipl.amt/no/rate

ADDWT 1050 OT Output table

>

NUM?2.5 Comparison

<

AMT=500 Set

MULTI NAA Multipl.amt/no/rate

ADDWT 1050 OT Output table

=

AMT=500 Set

AMT-50 Subtraction

MULTI NAA Multipl.amt/no/rate

ADDWT 1050 OT Output table

Edited by: Sikindar on Aug 24, 2011 5:00 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Senthil:

I think the WT codes u mentioned with operation need to be change slightly

you have mentioned like

NUM=6000 Set

NUM+6001 Addition

But you need to give 2 spaces after sign e.g.

NUM= 6000 Set

NUM+ 6001 Addition

Try this and lemme knw the impact.

Regards,

TATA

Former Member
0 Kudos

Hi TATA

We tried that also and Amount is not appraring against the wage type.Kindly help us in this.

Former Member
0 Kudos

Put the PRINT condition after each logic then you can be able to know where is the problem, actually to identify your logic.

Hope you understood.

Regards,

TATA

Former Member
0 Kudos

Hi TATA

PFA of rule.condition is this

If the absence is two days or less 500 paid

If it is 2.5 days or above 450 is paid. Kindly let me know how t cover the scenaio

I am new to PCRS, kindly help me.

ZAAA Attendance Allowances

*

****

ADDWT * OT Output table

3

6004 No of Days

NUM= 6000 Set

NUM+ 6001 Addition

NUM+ 6002 Addition

NUM+ 6003 Addition

NUM?2 Comparison

*

<

AMT=500 Set

ADDWT 1050 OT Output table

PRINT Print table entries

=

AMT=500 Set

ADDWT 1050 OT Output table

PRINT Print table entries

ZAAB Personnel Calculation Rule ZAAB

*

****

ADDWT * OT Output table

3

6004 No of Days

NUM= 6000 Set

NUM+ 6001 Addition

NUM+ 6002 Addition

NUM+ 6003 Addition

NUM?2.5 Comparison

*

AMT=500 Set

AMT-50 Subtraction

ADDWT 1050 OT Output table

PRINT Print table entries

=

AMT=500 Set

AMT-50 Subtraction

ADDWT 1050 OT Output table

PRINT Print table entries

Former Member
0 Kudos

Senthil:

I think ZAAB PCR seperately need not require to write....this ZAAB condition you can put in ZAAA only its using ">" then amt 500 - 50 condition and addwt 1050. this condition is enough.

but I want to ask you one thing is this PCR working or not as per ur requirment if not then wat problem u facing let us know now.

All the best.

Regards,

TATA

Former Member
0 Kudos

Hi TATA

Now what happens i have given 1050 Amount=500 upto two days and 2.5 days absence it is1050 is 450, if the absence is more than three amount for 1050 is 0

But here when i enter any absence based on number of days it is getting multiplied

Ex : IF absence days is 1 =500

days 2=1000

days 3=1500

Is there anything need to done on Processing classes for WT 1050. Kindly advise me in this.

Edited by: HRSAP2011 on Aug 24, 2011 2:18 PM

former_member193210
Active Contributor
0 Kudos

What is the function calling the PCRs in you Payroll Schema ?

If it is PIT, what is the content of the Input Table (IT) just before the PCR is processed ?

Former Member
0 Kudos

Hello Remi

We have inserted the rule under XT00 in Indian Payromm IN00.

000100 COPY XLR0 Import last payroll results

000110 COPY INR0 * Import last payroll results

000120 COPY XT00 * General processing of time data

000130 COPY ZT00 general processing of time data

000140 PIT ZAAA Attendance Allowances (Upto 2)

000150 PIT ZAAB * Attendance Allowances (Above 2.5)

000160 COPY INLN Loan accounting

kindly help us in this.

former_member193210
Active Contributor
0 Kudos

You are calling PCR ZAAA (and ZAAB) with function PIT, so it will process information contained in your Input Table (IT).

Do WTs 6004, 6000, 6001, 6002 and 6003 all have the same splits in the IT read by PCR ZAAA ? If not, you may not be able to read the values from the WTs that don't share the exact same splits as WT 6004. A solution is to create temporary variables of these WTs in a preceeding PCR (as in ADDWT& xxxx) and then to read the temporary variables instead of the WTs (as in NUM+& xxxx).

Can there be more than 1 occurrence of WT 6004 in your IT ? If so, you would end up doubling (or tripling) the amount so you should either add a decision on the amount of WT 1050 or zero out the values of the temporary variables after using them (as in ZERO=&xxxx).

Also try to combine ZAAA and ZAAB into a single PCR. In ZAAA, to the decision NUM?2, there should be the return value > where a second decision would be made on NUM?2.5.

Note that you can replace operations AMT=500 AMT-50 by a single operation (AMT=450), and if the values change in the future, replace the number by a constant in your PCR and create a constant in V_T511K that is delimited in time (with the 2 values).

Former Member
0 Kudos

Hi Remi/All

I tried all options but could not complete that.

Kindly Suggest me in the form of PCR

1.Read number of days Absences

2. Check the number

3. Pay Accordingly

500 - upto Two Days

400 -upto 2.5 days

300 - upto 3 days

0 -Above three days

Wage type for this is 1050.

Kindly let me know if i need to change any PC,CC of that Wt also.

Edited by: HRSAP2011 on Aug 26, 2011 2:20 PM