Tuesday 25 February 2020

Context PAYROLL_ASSIGNMENT_ID wasn't set when used at line ABC of formula XYZ_PRESTAT_DEDN_CALCULATOR.

AFDICT_APP_PREFIX-PAY-1635399: An error occurred during formula execution. (ORACLE_ERROR_TEXT=) (FORMULA_ERROR_TEXT=Context PAYROLL_ASSIGNMENT_ID wasn't set when used at line ABC of formula XYZ_PRESTAT_DEDN_CALCULATOR.)

I faced this error when using DBI ASG_HR_ASG_ID in the fast formula (in this particular case, a oracle payroll formula was written on pre stat deduction element).

The above error is got during payroll execution. This error is got because the element, on which this formula is tagged to, is defined at payroll relationship level and not at assignment level.

This DBI is using the context payroll_assignment_id but this context is not available at the payroll relationship level (the element is setup to be processed at payroll relationship level). So this cannot be used in a fast formula of an element which is defined at payroll relationship level.

Refer Doc ID 2542604.1 for more information.

No comments:

Post a Comment