Compensation fast formula requirement
We have a requirement to calculate number of days before promotion, Prorated bonus before promotion, Prorated bonus after promotion, Please suggest which database items and contexts we need to use.
Below is complete requirement details
Logic to build: Determine Plan Cycle: If Sysdate is in Q2 determine Plan cycles as 1/1/2024 and 03/31/2024 and so on.
Flag for
salary change: Table to be used in Valueset: CMP_ASG_SALARY_V refer to Date_from column and compare it with Quarter cycle dates to determine this.
Text Column 3: Update Flag to Y if person has salary change in the given dates above
Numeric Column 36: Number of days before promotion IF Flag = Y Determine salary change date using table CMP_ASG_SALARY_Vdetermine the number of days before promotion using: Date of salary change - Plan cycle start date-