cancel
Showing results for 
Search instead for 
Did you mean: 

Making Def Comp WT zero on negative Good money

0 Kudos

Hello all,

We want to make DEf comp wages WT 3821 to zero if negative /5PY exists. Currently 3821 is calculated in function P0169 and /5PY current value is calculated in USTAX function. By the time USTAX function is called, all the cumulations have taken place and its too late to do anythign with 3821.

IS there a way to loop back to the top of schema and reprocess by only initialzising a few tables?

Thank you,

Soumya

View Entire Topic
former_member235056
Active Contributor
0 Kudos

Hi Soumya,

You need to write a rule with condition SCOND=T AL and place this rule between LPBEG and LPEND and this will rerun the loop one more time.

Please check ULPC rule under UDNT schema that runs loop using the same logic.

Hope this helps.

Thanks

Ameet