What is the condition/formula coding language for Salary Component?

You are right on that sense.
Some components of the incentive we are implementing depends on the following:

  • number of months last worked date before joining. We defined a custom field for employee which is the last working day before joining. We need to determine if this is 6 months before joining or not.
  • age of the employee. That can be determined from the date_of_birth intrinsic employee field but to calculate the age in salary component is a bit tricky. There are different incentive lengths for different age groups.
  • number of months that the incentive is applied. The number of months calculated must be added to the date_of_joining and yet again date operations need to be known. Which language shall we use? Python?