cancel
Showing results for 
Search instead for 
Did you mean: 

Not to show the wage type when amount is zero in payslip

0 Kudos

Hi Gurus,

I am not sure what's wrong with the rule below, my intention is to display the text and the wage type amount when the wage type amount is not Zero, and not to display the text and the amount when wage type amount is zero.

Below is the rule i apply to the wage type text, but it only works when the wage type amount is not EQ 0. When the WT amount is zero, the WT text text still appear

rule no. Table field Typ CO Value1 table new value

____ __ ____ ____ ___ ___ ______ ____ ________

1 1 RT BETRG N NE ' 0 TEXT 10 (TEXT 10 is the WT text)

1 2 RT BETRG N EQ ' 0 TEXT 34 (text 34 is blank line)

I apply the below rule for the amount and this is working fine

rule no. Table field Typ CO Value 1 table new value

____ __ ____ ____ ___ ___ ______ ____ ________

2 1 RT BETRG N NE ' 0 RT BETRG

2 2 RT BETRG N EQ ' 0 SUPPRESS PRINTING

I need some pionters to the rules to make it work. Thanks a lot.

Rgds,

C

Edited by: Team HR on Sep 13, 2010 9:29 AM

Accepted Solutions (0)

Answers (1)

Answers (1)

sikindar_a
Active Contributor
0 Kudos

if the amount is 0 than there is no wage type in RT right than wht is the need of going through the rule