Professional Documents
Culture Documents
Practice
Practice 5-4
5-4
Defining
Defining aa descriptive
descriptive flexfield
flexfield with
with Dependent
Dependent
validation
validation
Associate the dependent value set with the independent value set
XX_COUNTRY. Assign the dependent value set a dependent default value
of XX, and give the default value a description.
Step 2: Define the Structure (Segments)
After defining your value sets, use the Descriptive Flexfield Segments window
to define the structure for your descriptive flexfield. For the purposes of this
practice, use the same descriptive flexfield that you worked on previously to
enter your new structure. Unfreeze the flexfield definition first so that you can
change the structure.
For the context field, change the prompt back to Context. Specify that no value
is required and context override is not allowed. Disable the Yes and No contexts
that you defined previously, and delete the segments that you defined for the
Yes context.
Define two new segments for the Global Data Elements context.
Define a segment named Country Code, with a prompt of Country. Assign
the segment the number 10, the column ATTRIBUTE1, and the value set
XX_COUNTRY.
Define a segment named Region Code, with a prompt of Region. Assign
the segment the number 20, the column ATTRIBUTE2, and the value set
XX_REGION.
Ensure that both segments are displayed and enabled. When you finish defining
the structure, freeze and compile your flexfield definition.
Step 3: Define Values
After defining the value sets and segments for your flexfield, use the Segment
Values window to define the values associated with the independent and
dependent value sets.
Define and enable the following values for the XX_COUNTRY value set.
Value: USA
Description: United States
Value: CAN
Description: Canada
Value: UK
Description: United Kingdom
Define and enable the following values in the XX_REGION value set for
the independent value USA.
Value: OK
Description: Oklahoma
Value: TX
Description: Texas
Copyright Oracle Corporation, 2000. All rights reserved.
Value: WI
Description: Wisconsin
Define and enable the following values in the XX_REGION value set for
the independent value CAN.
Value: SAS
Description: Saskatchewan
Value: BC
Description: British Columbia
Value: YT
Description: Yukon Territory
Define and enable the following values in the XX_REGION value set for
the independent value UK.
Value: WA
Description: Wales
Value: SL
Description: Scotland
Value: EN
Description: England
After defining your value sets, segments, and values, navigate to your
descriptive flexfield and test the results of your work. When you are finished,
exit without saving.
Practice 5-4 Solutions
Step 1: Define Value Sets
1 Navigate to the Value Sets window.
System Administrator: (N) Application>Validation>Set
2 Enter the information for the first value set in the following fields:
Value Set Name: XX_COUNTRY
Description: XX Country Value Set
Security Available: Selected
Enable Longlist: Selected
Format Type: Char
Maximum Size: 3
Uppercase Only: Selected
Value: EN
Description: England
Enabled: Selected
13 Save your work.
After defining your value sets, segments, and values, navigate to your
descriptive flexfield and test the results of your work. When you are
finished, exit without saving.