Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

PCR payroll

$
0
0

Hi , I have a requirement where I have to check if one wagetype is available in the IT table. If yes then I have to pass the other one unchanged to the output table otherwise not.

 

For example I have a WT 1234, If this wagetype has a value > or < than 0 then WT ABCD Needs to be passed unchanged to the output table. If WT 1234 is not available in the internal table or has a value of 0 , then WT ABCD needs to be 0 too.

I wrote two rules for this and it seems to be working but wanted to check with experts to make sure I didn't do anything wrong.

 

Rule 1: I store the value of WT1234  and WT ABCD in a variable

 

*

****

addwt

 

1234

addwt&bbbb

addwt

 

abcd

addwwtz111

addwt

 

then the second rule

 

*

****

abcd

  amt?0

    *

       amt=& bbbb

         amt?0

           =

           *

             amt=& z111

            addwt

   =

addwt

 

 

Please advise


Viewing all articles
Browse latest Browse all 3363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>