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

PCR - Payroll

$
0
0

Dear experts,

 

Based on the requirement of my company, the below PCR was created, in which the payroll processes the wage type 9501 in a special way under the condition of using wage typed 2055 in the payroll, where 9501 wage type is added on 3046 and the result is stored in 3047, as the following: 

 

*

  9501 Gain Work Tax

    ADDWT *    OT   Output table

    AMT=& 2055 Set

    AMT?0      Comparison

      =

        ADDWT *    OT   Output table

      >

        ZERO= RNA  AmtNumRteTime = 0

        FILLF RNA  Fill amt/no/rate

        AMT+& 3046 Addition

        SUBWT 3047 OT   Output table

 

 

Now, there is a need to modify the scenario, in the following way:

 

- Whenever wage type 9501 is not available under the condition of using wage typed 2055 in the payroll,  then the wage type 2055 is added on 3046 and the result is stored in 3047. (Pending)

- Whenever wage type 9501 is available under the condition of using wage typed 2055 in the payroll, then proceed with the rule which is illustrated above (Done)

 

I appreciate your help handling what need to be added on the above rule to cover the pending part.

 

-----------------------------------------------------------------------------------------------------------------------------------------------------

 

Note: I have created the following but it doesn't work:

 

*

  ****

    AMT=& 2055 Set

    AMT+& 3046 Addition

    SUBWT 3047 OT   Output table

 

9501 Gain Work Tax

    ADDWT *    OT   Output table

    AMT=& 2055 Set

    AMT?0      Comparison

      =

        ADDWT *    OT   Output table

      >

        ZERO= RNA  AmtNumRteTime = 0

        FILLF RNA  Fill amt/no/rate

        AMT+& 3046 Addition

        SUBWT 3047 OT   Output table

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 8338

Trending Articles



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