Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Practice
Practice 3-2
3-2
Defining
Defining aa key
key flexfield
flexfield structure
structure with
with aa dependent
dependent
segment
segment
security for the value set. Specify that the values should be right-justified
and zero-filled.
Define a dependent value set named XX_SUB. Give the value set a
description, a format type of Char, and a maximum size of 2. Enable
security for the value set. Specify that the values should be right-justified
and zero-filled. Associate the dependent value set with the independent
value set XX_ACCT. Assign the dependent value set a dependent default
value of XX, and give the default value a description.
In addition to these two value sets, you will use two of the value sets you
created previously, XX_CO and XX_FUTURE. You do not need to redefine
these value sets.
Step 2: Define the Structure (Segments)
After defining your value sets, use the Key Flexfield Segments window to
define another new flexfield structure for the Accounting Flexfield in the Oracle
General Ledger application. Give your structure the code XX_COA2, the title
XX Chart of Accounts 2, a description, and the view name XX_AFF_VIEW_2.
Enable the structure. Use a period (.) as the segment separator, specify that
segments should be cross-validated, and allow dynamic inserts.
Define four segments for your structure.
Define a segment named CO, with a prompt of Company. Assign the
segment the number 1, the column SEGMENT1, and the value set
XX_CO. Ensure that the segment is displayed and enabled.
Enable security for the segment. Give the segment a display size of 2 and
a description size of 30. Enable the Balancing Segment flexfield qualifier
for the segment.
Define a segment named ACCT, with a prompt of Account. Assign the
segment the number 2, the column SEGMENT2, and the value set
XX_ACCT. Ensure that the segment is displayed and enabled.
Enable security for the segment. Give the segment a display size of 4 and
a description size of 30. Enable the Natural Account Segment flexfield
qualifier for the segment.
Define a segment named SUB, with a prompt of Subaccount. Assign the
segment the number 3, the column SEGMENT3, and the value set
XX_SUB. Ensure that the segment is displayed and enabled.
Enable security for the segment. Give the segment a display size of 2 and
a description size of 30.
Define a segment named RFU, with a prompt of Future Use. Assign the
segment the number 4, the column SEGMENT4, and the value set
XX_FUTURE. Ensure that the segment is displayed and enabled.
Specify a default type of Constant and a default value of 0000. Enable
security for the segment. Give the segment a display size of 4 and a
description size of 30.
When you finish defining the structure, freeze and compile your flexfield
definition.
Copyright Oracle Corporation, 2000. All rights reserved.
Value: 2500
Description: Eastern Region
Account Type: Expense
Define and enable the following values in the XX_SUB value set for the
independent value 1500 (Western Region).
Value: 55
Description: Car expense
Value: 67
Description: Food expense
Value: 99
Description: Entertainment
Define and enable the following values in the XX_SUB value set for the
independent value 2500 (Eastern Region).
Value: 55
Description: Car expense
Value: 87
Description: Hotel expense
Value: 89
Description: Training materials
After defining your value sets, segments, and values, navigate to the Accounting
Flexfield and test the results of your work, as described in step 4 of Practice 3-1.
4
5
6
7
8
9
10
11
12
13
14
15
Enabled: Selected
Segment Separator: Period (.)
Cross-Validate Segments: Selected
Allow Dynamic Inserts: Selected
Click the Segments button to navigate to the Segments Summary
window.
Enter the information for the first segment in the following fields:
Number: 1
Name: CO
Window Prompt: Company
Column: SEGMENT1
Value Set: XX_CO
Displayed: Selected
Enabled: Selected
Click the Open button to navigate to the Segments window.
Enter the information for the first segment in the following fields:
Security Enabled: Selected
Display Size: 2
Description Size: 30
Save your work.
Click the Flexfield Qualifiers button to navigate to the Flexfield
Qualifiers window.
Select the Enabled check box for the Balancing Segment flexfield
qualifier.
Save your work.
Navigate back to the Segments Summary window.
Enter the information for the second segment in the following fields:
Number: 2
Name: ACCT
Window Prompt: Account
Column: SEGMENT2
Value Set: XX_ACCT
Displayed: Selected
Enabled: Selected
Click the Open button to navigate to the Segments window.
Enter the information for the second segment in the following fields:
Security Enabled: Selected
Display Size: 4
Description Size: 30
Copyright Oracle Corporation, 2000. All rights reserved.
Enabled: Selected
Value: 67
Description: Food expense
Enabled: Selected
Value: 99
Description: Entertainment
Enabled: Selected
8 Save your work.
9 In the Segment Values window, select Value Set and find the XX_SUB
value set and the independent value 2500 (Eastern Region).
10 In the Values, Effective region, define the following values:
Value: 55
Description: Car expense
Enabled: Selected
Value: 87
Description: Hotel expense
Enabled: Selected
Value: 89
Description: Training materials
Enabled: Selected
11 Save your work.
After defining your value sets, segments, and values, navigate to the
Accounting Flexfield and test the results of your work, as described in step
4 of Practice 3-1.