Use Absence DFF in Global Absence Entry Validation Formula (Doc ID 2127015.1)

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Fusion Absence Management: Use Absence DFF In 'Global Absence Entry To

Validation Formula' (Doc ID 2127015.1) Bottom

In this Document

Goal
Solution

APPLIES TO:

Oracle Fusion Absence Management Cloud Service - Version 11.1.10.0.0 and later
Information in this document applies to any platform.

GOAL

It was configured the Absence Recordings DFF (ANC_PER_ABS_ENTRIES_DFF) and defined


Context sensitive segments to capture absence entry values.
How can use this DFF in an Absence Fast Formula?

The following formula has compilation errors:

VALID = 'N'
ERROR_MESSAGE = 'The value of attribute 1 is : ' ||
TO_CHAR(ANC_ABS_ENTRS_ATTRIBUTE1)
RETURN VALID,ERROR_MESSAGE

SOLUTION

 Please try using IV_ATTRIBUTE_1 instead ANC_ABS_ENTRS_ATTRIBUTE1.


Oracle Fusion Absence Management: Absence - DFF Not Receiving Value in To
Fast Formula, Receives NULL (Doc ID 2763419.1) Bottom

In this Document

Goal
Solution
References

APPLIES TO:

Oracle Fusion Absence Management Cloud Service - Version 11.13.21.01.0 and later
Oracle Fusion Absence Management - Version 11.12.1.0.0 and later
Information in this document applies to any platform.

GOAL

The user is trying to use a Descriptive Flex Field (DFF) in Fast Formula, however, the system is
not receiving any value. It is literally receiving NULL, please assist on what is missing?

The system gives a value for DFF IV_ATTRIBUTE_1 but not for IV_ATTRIBUTE_10. nor any
higher.

SOLUTION

For the below DFF input variables you can extend only up to 5 (not more than that) so
IV_ATTRIBUTE_10 will not work.

IV_ATTRIBUTE_1,IV_ATTRIBUTE_2....IV_ATTRIBUTE_5
IV_ATTRIBUTE_NUMBER1,IV_ATTRIBUTE_NUMBER2....IV_ATTRIBUTE_NUMBER5
IV_ATTRIBUTE_DATE1,IV_ATTRIBUTE_DATE2,.....IV_ATTRIBUTE_DATE5
This is the current design of the system.

Instead, you can use the below Array based INPUT value approach.

IV_ATTRIBUTE_ARR
IV_ATTRIBUTE_ARR[1] holds the value of segment ATTRIBUTE1 in
ANC_PER_ABS_ENTRIES table you can go up to 30 IV_ATTRIBUTE_ARR[2]......
IV_ATTRIBUTE_ARR[30]

IV_ATTRIBUTE_NUMBER_ARR
IV_ATTRIBUTE_NUMBER_ARR[1] holds the value of segment ATTRIBUTE_NUMBER1 in
ANC_PER_ABS_ENTRIES table you can go up to 30
IV_ATTRIBUTE_NUMBER_ARR[2] .....IV_ATTRIBUTE_NUMBER_ARR[30]

IV_ATTRIBUTE_DATE_ARR
IV_ATTRIBUTE_DATE_ARR[1] holds the value of segment ATTRIBUTE_DATE1 in
ANC_PER_ABS_ENTRIES table you can go up to 30 IV_ATTRIBUTE_DATE_ARR[1] ....
IV_ATTRIBUTE_DATE_ARR[30]

There is the need to call DATA TYPE.

Implementing Absence Management:Absence Lookups, Value Sets, and Flexfields


- https://docs.oracle.com/pls/topic/lookup?ctx=fa-latest&id=FAIAM173771

REFERENCES

NOTE:2127015.1 - Fusion Absence Management: Use Absence DFF In 'Global Absence Entry
Validation Formula'
NOTE:1559909.1 - How to Trace and Log Fast Formulas?

Fusion Absence Management: How To Calculate The Absence Duration To


Using A Fast Formula (Doc ID 1952428.1) Bottom
In this Document

Goal
Solution
References

APPLIES TO:

Oracle Fusion Absence Management - Version 11.1.8.0.0 and later


Oracle Fusion Absence Management Cloud Service - Version 11.1.8.0.0 and later
Information in this document applies to any platform.

GOAL

How to calculate the Absence Duration in a fast formula Global Absence Entry Validation?

IV_TOTAL_DURATION (parameter to Global Absence Entry Validation formula) is not


fetching any result.

Example:
Employee has 240 hr balance , and s/he is submitting 40 hrs PTO.
Current balance = 240-40 = 200
IV_TOTAL _DURATION input parameter doesn't return any values

SOLUTION

In the Fast Formula definition, use IV_TOTAL rather than IV_TOTAL_DURATION.

You might also like