Sei sulla pagina 1di 5

Practice 5-2

Practice
Practice 5-2
5-2
Defining
Defining aa descriptive
descriptive flexfield
flexfield with
with None
None validation
validation

Copyright Oracle Corporation, 2000. All rights reserved.

Practice 5-2 Instructions


Scenario
This practice reinforces the concept of global segments for a descriptive
flexfield and demonstrates the use of the None validation type. In this scenario,
you will define a descriptive flexfield to track the following information about
employees:
The person who referred the employee
Height
Weight
Step 1: Define Value Sets
Use the Value Sets window to define three value sets as follows:
Define an independent value set named XX_WHO_REFER. Give the
value set a description, a format type of Char, and a maximum size of 15.
Enable security for the value set.
Define a value set of validation type None named XX_EMP_HEIGHT.
Give the value set a description, a format type of Number, a maximum
size of 4, and a precision of 2.
Define a value set of validation type None named XX_EMP_WEIGHT.
Give the value set a description, a format type of Number, a maximum
size of 3, a precision of 0, a minimum value of 90, and a maximum value
of 999.
Copyright Oracle Corporation, 2000. All rights reserved.

Defining Descriptive Flexfields


Chapter 5 - Page 58

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.
Delete the segments that you defined previously, and define three new segments
for the Global Data Elements context.
Define a segment named Who Referred, with a prompt of Who. Assign the
segment the number 10, the column ATTRIBUTE1, and the value set
XX_WHO_REFER.
Define a segment named Height, with a prompt of Height. Assign the
segment the number 20, the column ATTRIBUTE2, and the value set
XX_EMP_HEIGHT.
Define a segment named Weight, with a prompt of Weight. Assign the
segment the number 30, the column ATTRIBUTE3, and the value set
XX_EMP_WEIGHT.
Ensure that all three 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 value set.
Define and enable the following values for the XX_WHO_REFER value set.
Value: 100
Description: President

Value: 200
Description: Executive Vice President

Value: 300
Description: Senior Vice President
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-2 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_WHO_REFER

Copyright Oracle Corporation, 2000. All rights reserved.

Defining Descriptive Flexfields


Chapter 5 - Page 59

Description: XX Who Refer Value Set


Security Available: Selected
Format Type: Char
Maximum Size: 15
Validation Type: Independent
3 Save your work.
4 Enter the information for the second value set in the following fields:
Value Set Name: XX_EMP_HEIGHT
Description: XX Employee Height Value Set
Format Type: Number
Maximum Size: 4
Precision: 2
Validation Type: None
Note: You cannot enable security for a value set of validation type
None.
5 Save your work.
6 Enter the information for the third value set in the following fields:
Value Set Name: XX_EMP_WEIGHT
Description: XX Employee Weight Value Set
Format Type: Number
Maximum Size: 3
Precision: 0
Min Value: 90
Max Value: 999
Validation Type: None
7 Save your work.
Step 2: Define the Structure (Segments)
1 Navigate to the Descriptive Flexfield Segments window.
System Administrator: (N) Application>Flexfield>
Descriptive>Segments
2 Query your descriptive flexfield.
3 Clear the Freeze Flexfield Definition check box.
4 In the Context Field Values region, select the Global Data Elements
context and click the Segments button to navigate to the Segments
Summary window.
5 Delete the segments that you defined previously.
6 Save your work.
7 Enter the information for the first segment in the following fields:
Number: 10

Copyright Oracle Corporation, 2000. All rights reserved.

Defining Descriptive Flexfields


Chapter 5 - Page 60

Name: Who Referred


Window Prompt: Who
Column: ATTRIBUTE1
Value Set: XX_WHO_REFER
Displayed: Selected
Enabled: Selected
8 Save your work.
9 Enter the information for the second segment in the following fields:
Number: 20
Name: Height
Window Prompt: Height
Column: ATTRIBUTE2
Value Set: XX_EMP_HEIGHT
Displayed: Selected
Enabled: Selected
10 Save your work.
11 Enter the information for the third segment in the following fields:
Number: 30
Name: Weight
Window Prompt: Weight
Column: ATTRIBUTE3
Value Set: XX_EMP_WEIGHT
Displayed: Selected
Enabled: Selected
12 Save your work.
13 Navigate back to the Descriptive Flexfield Segments window.
14 Select the Freeze Flexfield Definition check box.
15 Click the Compile button to compile the flexfield definition.
Step 3: Define Values
1 Navigate to the Segment Values window.
System Administrator: (N) Application>Validation>Values
2 In the Find window, select Value Set and find the XX_WHO_REFER
value set.
3 In the Values, Effective region of the Segment Values window, define
the following values:
Value: 100
Description: President
Enabled: Selected

Copyright Oracle Corporation, 2000. All rights reserved.

Defining Descriptive Flexfields


Chapter 5 - Page 61

Value: 200
Description: Executive Vice President
Enabled: Selected
Value: 300
Description: Senior Vice President
Enabled: Selected
4 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.

Copyright Oracle Corporation, 2000. All rights reserved.

Defining Descriptive Flexfields


Chapter 5 - Page 62

Potrebbero piacerti anche