Formula ORA_HRX_GB_ABSENCE_PAYMENT, line 51, a local variable was used before being initialized

(Doc ID 2306057.1)

Last updated on DECEMBER 05, 2017

Applies to:

Oracle Fusion Global Payroll - Version 11.12.1.0.0 and later
Information in this document applies to any platform.

Symptoms

 On : 11.12.1.0.0 version, UK - United Kingdom Legislation

Error in Statutory Maternity formula

When running the Statutory Maternity payment process for an employee. payroll going into error with message as

Formula ORA_HRX_GB_ABSENCE_PAYMENT, line 51, a local variable was used before before being initialized

AFDICT_APP_PREFIX-PAY-1635156: Error was encountered when processing payroll relationship 3182017.
HR_51119_HRPROC_ERR_OCC_ON_ET
ETNAME CPA Statutory Maternity Pay Entitlement Result
AFDICT_APP_PREFIX-PAY-1635252: An error occurred when processing element {ELEM_NAME. (ETNAME=CPA Statutory Maternity Pay Entitlement Result)
HR_51120_HRPROC_ERR_OCC_ON_FML
FMLANAME CPA STATUTORY MATERNITY PAY ENTITLEMENT RESULT
AFDICT_APP_PREFIX-PAY-1635031: An error occurred when processing formula CPA STATUTORY MATERNITY PAY ENTITLEMENT RESULT.
HR_6867_HRPROC_FMLA_ORA_ERR
ORACLE_ERROR_TEXT
FORMULA_ERROR_TEXT Formula ORA_HRX_GB_ABSENCE_PAYMENT, line 51, a local variable
was used before being initialized. (1=I_UNIT)
AFDICT_APP_PREFIX-PAY-1635399: An error occurred during formula execution. (ORACLE_ERROR_TEXT=) (FORMULA_ERROR_TEXT=Formula ORA_HRX_GB_ABSENCE_PAYMENT, line 51, a local variable was used before being initialized. (1=I_UNIT))
Formula ORA_HRX_GB_ABSENCE_PAYMENT, line 51, a local variable was used before be

ERROR
-----------------------
Formula ORA_HRX_GB_ABSENCE_PAYMENT, line 51, a local variable was used before be

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Add Maternity leave to employees absence
2. Process quickpay
3. Review results generated.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms