Skip to Content

Wage type is a sum of others

Hello All,

How can I create a base wage type that is a sum of other two wage types?

Example: Wage type 9010 = /131 + /314

Best Regards

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Dec 10, 2014 at 02:03 AM

    Through a Payroll Simulation with the "Display log" box checked, find out where the final values of WTs /131 and /314 exist in the Input Table. That would be a good point where to put your new PCR.

    Take note of the splits for WTs /131 and /314. Do they share the same ones?

    There are many ways to build your PCR, and how you build it will influence what you require as Par2 and Par3 to Function PIT (in your Payroll Schema). The ESG can be generic (*) or specific, and so can be the WT, but if you use the generic WT (****), then you'll have to use operation WGTYP? to query the WT being processed.

    Sankarsan gave you an example, and here are some more:

    ZPC1

    ESG * WT /131

    ADDWT *

    ZERO= RN (to delete the Rate and Number, only the Amount will be left)

    ADDWT 9010

    ESG * WT /314

    ADDWT *

    ZERO= RN (to delete the Rate and Number, only the Amount will be left)

    ADDWT 9010

    ESG * WT ****

    ADDWT *

    ZPC2

    ESG * WT ****

    WGTYP?

    /131 ADDWT *

    ZERO= RN (to delete the Rate and Number, only the Amount will be left)

    ADDWT 9010

    /314 ADDWT *

    ZERO= RN (to delete the Rate and Number, only the Amount will be left)

    ADDWT 9010

    **** ADDWT *


    ZPC3

    ESG * WT /131

    ADDWT *

    ZERO= RN (to delete the Rate and Number, only the Amount will be left)

    ADDWT 9010

    ESG * WT ****

    ADDWT *

    ESG 3 WT /314

    ADDWT *

    ZERO= RN (to delete the Rate and Number, only the Amount will be left)

    ADDWT 9010

    ESG 3 WT ****

    ADDWT *


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 09, 2014 at 05:30 PM

    Hi Ricardo,

    For this it's required a PCR like below.

    ZPCR

    *

    /131

    ADDWT *

    AMT= /131 (after = give two space)

    AMT+ /314 ( ,, )

    ADDWT 9010

    ****

    ADDWT *

    Insert this PCR in the schema where you are getting WT /131 and /314 value in the output table. Insert this PCR with PIT function in schema.

    Check and tell me.

    Regards,

    Sankarsan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.