FND Cross-Validation Rules

Description

Categories
Enginatics
Repository
GitHub
Cross-validation rules of key flexfield structures, one row per rule element (include or exclude range).

Show Violating Combinations lists the enabled accounting flexfield combinations that fail an enabled and currently active rule instead, one row per combination and violated element. A combination outside every include range of a rule is shown against element type Include with blank ranges, a combination inside an exclude range with that exclude range. Oracle validates a combination only when it is created, so combinations created before a rule was defined or tightened stay enabled although they violate it.

Segment values are compared with the ranges as text, which matches Oracle's validation for character value sets.

SQL 377 lines

Parameters 6

ParameterTypeList of values SQL
FlexfieldLOV
fif.id_flex_name=:flexfield
LedgerLOV
fvrv.application_id=101 and fvrv.id_flex_code='GL#' and fvrv.id_flex_num in (select gl.chart_of_accounts_id from gl_ledgers gl where gl.name=:ledger)
StructureLOV
fifsv.id_flex_structure_name=:structure
Rule NameLOV
fvrv.flex_validation_rule_name=:rule_name
Enabled OnlyLOV
fvrv.enabled_flag='Y' and
trunc(sysdate) between nvl(fvrv.start_date_active,trunc(sysdate)) and nvl(fvrv.end_date_active,trunc(sysdate)) and
nvl(x.element_enabled,'Y')='Y'
Show Violating CombinationsLOV