Vous êtes sur la page 1sur 19

Cascading Dependencies

can I create one dependent value set from another dependent value set instead of from an independent value set?

1- Create Value Set


SH SUB Class

2- Get Value Set ID


3- Create Value Set
SH SUB Class Table

Table Name Value Meaning


FND_FLEX_VALUES FV.FLEX_ VA LUE FVT.DESCRIPTION
FV,FND_FLEX_VALUES_TL FVT

Where/Order By WHERE 1 = 1
AND FV.FLEX_ VALUE_ID = FVT.FLEX_ VA LUE_ID(+)
AND FVT.LANGUA GE(+) = USERENV ('LANG')
AND NVL (FV.ENABLED_FLA G, 'Y') = 'Y'
and FV.FLEX_ VALUE_SET_ID=1026167
and FV.ATTRIBUTE1=:$FLEX$.Family
and FV.ATTRIBUTE2=:$FLEX$.Class
Order by FV.flex_value
4- Create Dependent Value Set
SH SUB Class Type

5- Create Value Set SH SUB Class Type Table


- Get Value Set Id For SH SUB Class Type Value Set To Use In Where
Table Name Value Meaning
FND_FLEX_VALUES FV, FV.FLEX_ VA LUE FVT.DESCRIPTION
FND_FLEX_VALUES_TL FVT
Where/Order By WHERE 1 = 1
AND FV.FLEX_VALUE_ID = FVT.FLEX_VALUE_ID(+)
AND FVT.LANGUAGE(+) = USERENV ('LANG')
AND NVL (FV.ENABLED_FLAG, 'Y') = 'Y'
AND PARENT_FLEX_VALUE_LOW = :$FLEX$.Sub_Class
AND FV.FLEX_VALUE_SET_ID = 1026169
ORDER BY FV.FLEX_VALUE
6- Update Item Category Key Flexfield Structures

- Find Category Structures You Are Used (ITEM_CATEGORIES)


Save
7- Active Descriptive Flexfields For Value Set
Application Object Library Flexfield Segment Values
Add Context Field Value With Value Set Name SH SUB Class

Use Item Category Value Set


8- Add Value To Value Set (SH SUB Class, SH SUB Class Type)
Test
‫تم بحمد هللا‬

Vous aimerez peut-être aussi