Skip to Content
avatar image
Former Member

How to prevent payroll run without time evaluation ?

Dear All

please help me in this issue

i want to raise an error during payroll run

if there is an employee don't have time evaluation , the payroll will raise an error to him

thank you

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Nov 21, 2016 at 06:04 PM

    In your Time Evaluation Schema, before the end of treatment for the Day, add Function IF with par3 = EOP, followed by Function ACTIO and a simple PCR that will create an Information WT (such as 9EOP with Number 1 or FTE%), and terminated by Function ENDIF.

    In your Payroll Schema, add Function ACTIO and a simple pcr to read the Information WT and raise an Error if the WT does not exist.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 22, 2016 at 12:13 PM

    Dear Rémi Corriveau

    thank for your replay

    there are employees dose not have time evaluation,

    when payroll run, i want to distinguish time evaluation status for the employee, if there is time evaluation done (TMSTA-9) ? he will appear in payroll result, but it will raise error if there is no time evaluation done (TMSTA-0).

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Rémi Corriveau

      Dear

      i want to check if the employee has an IT0007 with Time Management Status = 0 ? will appear in payroll without any error.

      But if the employee has an IT0007 with Time Management Status = 1, ...9, so it have to be time evaluation, at this moment the payroll will raise an error to this employee because he don't have time evaluation yet

      thank you

  • Nov 22, 2016 at 05:42 PM

    In your Time Evaluation Schema, there may be Function CHECK with PAR2 = PON.

    Before that, insert a pcr that will check the employee's Time Management Status on IT0007, and if = 0, you could generate the Information WT mentioned previously. If that Information WT is also generated on the last day of the Payroll Period for the employees with TM Status = 1-9, then you could add a pcr in your Payroll Schema to check for the existence of that "flag".

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 23, 2016 at 05:56 PM

    In your Time Evaluation pcr, you can use Operation OUTWP to check the Time Management Status (look at the documentation on that Operation).

    As for creating an Information WT, you will first have to create the Time Type and the Wage Type, then you'll be able to use Time Evaluation Operation ADDZL to create it in a Time Evaluation pcr.

    Use program rpdasc00 to find pcr (in your TE Schema) that currently uses these Operations, and study them (how they are build and how they are called in the schema), and try to create your own. Search for documents on Time Evaluation configuration as there are many posted already detailing how to build a pcr for specific purpose, and look at the Time Management wiki page. Create your pcr, insert it into your TE Schema, and test it. Try to solve the problems you may encounter, and post again if you can't solve it.

    Add comment
    10|10000 characters needed characters exceeded