My Oracle Support Banner

Error while running quickpay Formula SA_GRATUITY_CALCULATION, line 557, a local variable was used before being initialized. (1=L_GRATUITY_ACCRUED) (Doc ID 2725729.1)

Last updated on NOVEMBER 18, 2020

Applies to:

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

Symptoms

On : 11.13.20.07.0 version, SA - Saudi Arabia Legislation

When attempting to run a quickpay for a terminated employee,
the following error occurs.

ERROR
-----------------------
Error was encountered when processing payroll relationship 100878.
An error occurred when processing element {ELEM_NAME. (ETNAME=Gratuity)
An error occurred when processing formula SA_GRATUITY_CALCULATION.
 An error occurred during formula execution. (ORACLE_ERROR_TEXT=) (FORMULA_ERROR_TEXT=Formula SA_GRATUITY_CALCULATION, line 557, a local variable was used before being initialized. (1=L_GRATUITY_ACCRUED))
 Formula SA_GRATUITY_CALCULATION, line 557, a local variable was used before being initialized. (1=L_GRATUITY_ACCRUED)


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run quickpay - Error occurs



Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.