cancel
Showing results for 
Search instead for 
Did you mean: 

PCR to count type of absence in order to reduce payment

Funcional
Participant
0 Kudos

hi everybody,

I need a PCR to count absence type registered in infotype 2001m,we run time evaluation from periods, instead of an entire month, for example we runa time evaluation: 21.05.2018 to 20.06.2018. So, if in this period there are not authorized absences, an amount should be discounted from the salary.

I appreciatte your help.

thanks in advance.

Rosina Fernandez

Accepted Solutions (1)

Accepted Solutions (1)

BGibbons
Active Contributor

Hi,

High level approach

Use a PCR in conjunction with function 'PTIPA' - there are a number of examples in the standard time schema. Check for specific absences and as appropriate write ( ADDDBxxxx ) to a time type xxxx (create a new for this purpose) on the TES table.

Assuming you are interested in checking a full payroll period then in another PCR you need to check for the last day of the payroll period (

VARSTLDYPP ) and if it is you want to sum you time type for the period (SUMPPxxxx don't forget to add the current days value!)

Based on the answer you get from the sum (depending on your business rules) you may want to write a record to the 'ZL' table (ADDZLxnnnn) to be used in payroll for adjusting the employee's pay

bg

Funcional
Participant
0 Kudos

hi Brendan, I will do this and let it know the results.

Thanks in advance!

best regards.

Rosina

Funcional
Participant
0 Kudos

hi Brendan,

I created the rule shown below and inserted it in time Schema, and it works as you can see in PT_Bal00 for the time type created, now I need another rule to summarize the absences, that is what I understood.

900Sr. llegadas Tarde Prueba20180510.05.2018ZABSAbsentismo Pago Pres1,00

900Sr. llegadas Tarde Prueba20180511.05.2018ZABSAbsentismo Pago Pres1,00

900Sr. llegadas Tarde Prueba20180514.05.2018ZABSAbsentismo Pago Pres1,00

900Sr. llegadas Tarde Prueba20180515.05.2018ZABSAbsentismo Pago Pres1,00

4,00

Thanks in advance.

best regards!

Rosina

ZT78 Cuenta días de absentismo
    *
      ****
        VARSTABSCE Empleado ausente
          N
          Y
            VARABTYP   Tipo abs. en arg.va.
              *
                HRS=1      Fijar
                ADDDBZABS  Sum.HRS en Saldo día
              **
              ***

  • ****

Answers (0)