Get Started with Redwood for Oracle Cloud HCM Begin Now
To ensure that questions get required attention from community members and are NOT left unanswered, it’s important for the author to indicate (by selecting “Yes” or “No” when prompted) whether the question was answered. (newly added) Please note that it is also important to respond to EACH comment your question receives. Your Yes or No response ensures an accurate status for your question.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
For more information, please refer to this announcement explaining best practices for getting answers to questions.
Error from Fast Formula a local variable was used before being initialized
Summary:
I created fast Formula, but when i run showing error as below
line 57, a local variable was used before being initialized.
and this lin 57 as below
L_Length_of_service = Round((DAYS_BETWEEN(LEAST(L_EFFECTIVE_DATE,PER_ASG_REL_ACTUAL_TERMINATION_DATE),GREATEST(PER_PERSON_ENTERPRISE_HIRE_DATE,PER_PER_LATEST_REHIRE_DATE))+1)/365,2)
and this code for Fast Formula as below:-
/*****************************************************************************
FORMULA NAME: Education Fees Request
FORMULA TYPE: Payroll
Author : Ramy Omar
Creation Date : July-2024
*******************************************************************************/ /* Database Item Defaults */ DEFAULT FOR amount is 0
DEFAULT FOR mesg is ' '
DEFAULT FOR ENTRY_LEVEL IS 'AP'
DEFAULT FOR PAYROLL_PERIOD_TYPE IS ' '
0