cancel
Showing results for 
Search instead for 
Did you mean: 

Wage type amount will be based on Birthdate

Sanky
Active Contributor
0 Kudos

Hi Expert,

I need one help from you.

We want to give birthday amount to those employee whose birthday is falling in payroll period. Suppose employee A's birthday is 06.04.1987 and employee B's birthday is 09.05.1976.

Now when 01 2013 payroll will run then employee A will get Rs.200 as birthday gift and when 02 2013 payroll will run then employee B will get Rs.200.

I am not getting any operation by which i can compare payroll period with birthday month of the employee.

Waiting your valuable reply.

Regards,

Sanky

Accepted Solutions (1)

Accepted Solutions (1)

Sujith_EM
Active Contributor
0 Kudos

Hi,

You requirement can achieve through the given way

Please maintain a date type for DOB in IT0041 then use a PCR to check whether his DOB falling on the month with the help of operation NUM.

*

  ****

    NUM=FXXC   ( here XX is your date type that records DOB )

    NUM/12   

    ADDWT&VAR1

    ROUNDA+100

    NUM-& VAR1 Subtraction

    NUM?0

    *

    =

    Here pass amount to the wage type ( example AMT=200   ADDWT ABCD

Use Function ACTIO for this Rule .

Regards

Sujith

Answers (1)

Answers (1)

sikindar_a
Active Contributor
0 Kudos

You have two funcitons  1. use NUM=FG (Once after deriving the age , use IF and ELSE conditions)  2. check the operation CPAGE  , might not be useful much but please check