Professional Documents
Culture Documents
>> Special type is used for flexifields. Below are some examples for reference:
Event = Load
Funtion =
FND LOADID
APPL_SHORT_NAME=SQLGL
CODE="GL#"
NUM=:$FLEX$.GL_SRS_CHART_OF_ACCOUNTS_ID
REQUIRED=Y
VALIDATE=FULL
ID=:!ID
SEG=:!VALUE
DESC=:!MEANING
NAVIGATE=!DIR
DINSERT=N
Event = Validate
Funtion =
FND VALID
APPL_SHORT_NAME=SQLGL
CODE="GL#"
NUM=:$FLEX$.AP_APXINREV_CHART_OF_ACCOUNTS_NO_VALIDATION
REQUIRED=N
VALIDATE=NONE
ID=:!VALUE
SEG=:!VALUE
DESC=:!MEANING
DINSERT=N
BOX=Y
DISPLAY=GL_BALANCING
>> :$FLEX$ is used for dependent condition of the parent value set which is of type table.
Assume you have a three-segment flexfield where the first segment is car manufacturer, the second segment
is car model, and the third segment is car color. You could limit your third segments values to only include car
colors that are available for the car specified in the first two segments. Your three value sets might be defined
as follows:
In this example, MANUFACTURER_ID is the hidden ID column and MANUFACTURER_NAME is the value
column of the car_Maker_Name_Value_Set value set. The Model segment uses the hidden ID column of the
previous value set, Car_Maker_Name_Value_Set, to compare against its WHERE clause. The end user never
sees the hidden ID value for this example.
Another example found on the internet, which talks about using PL/SQL code or calling database
functions:
I have observed that many times we need to restrict users to a limited, conditional value entries either in DFF
or when submitting concurrent request. Normally we can use dependent value set, but when dynamic or some
specific check is required, then special value set is better and only choice. Below I have described all the steps
for configuring value set. Assign this value set to DFF or concurrent req. parameter as required.
-- Below is the code to validate that user can select a date which is 3 months before sysdate. This is a
parementer in report in which user should be allowed to see data for 3 months or before, but he cannot see
recent quater data.
3. How to create a value set which is dependent of another value set. (let us consider a value set which
displays me the country name, state, in this the country value set is the parent and state value set is
child . pls do explain me how to create these two value sets.)
>> You can create value set using multiple table. Give the table names seperated by , in the table name field.
Go through any seeded value set which is based on multiple tables.
Example:
Flexfield Value Security cannot be used with Translatable Independent or Translatable Dependent value sets.
Note: The Accounting Flexfield does not support Translatable Independent and Translatable Dependent value sets.
Lets create a Translatable dependent value set based on parent value set we created in an earlier post.
Enter values against each parent value of XX_INDEPENDENT_VALUE_SET which we selected as parent
for XX_DEPENDENT_VALUE_SET.
1.Overview
Value-set is a group of values. It can also be thought of as a container of values. The values could be of any
data type (Char, Number etc.) A value set is used in Oracle Applications to restrict the values entered by a
user. For example, when submitting a concurrent program, we would like user to enter only valid values in the
parameter. This is achieved by associating a value set to a concurrent program parameter.
A Value Set is characterized by value set name and validation. There are two kinds of validations, format
validation and Value validation. In the format validation, we decide the data type, length and range of the
values. In the value validation, we define the valid values.
The valid values could be defined explicitly, or could come implicitly from different source (like table, another
value-set etc.)
2. Uses
Value-set is an important component of Oracle Applications used in defining Concurrent program parameters,
Key Flex field and descriptive flex field set of values.
Some of the scenarios where value-set is used are given below:
a. In a concurrent program, we may want users to enter only number between 1 and 100 for a
particular parameter.
b. In a concurrent program, we may want users to enter only Yes or No for a particular parameter.
c. Suppose a concurrent program has two parameters. First parameter is department and second
parameter is employee name. On selecting a particular department, we want to show only those employee
names which belongs to the selected department.
d. In a descriptive flex field enabled on a particular screen, we want to show only a designated list of
values for selection by a user.
e. In case of accounting reports, we may want users to enter a range of key flex field values
(concatenated segments).
3. Steps To Create Value Set:
Navigation:
Value Set Form:
Format Validation
Format Type
Possible values for this field are:
Char
Date
Date Time
Number
Standard Date
Standard Date Time
Time
Value Validation
Same like Independent Value Set, except the List of Values shown to you will depend on which the
Independent value you have selected in the Prior Segment. Must define your independent value set before
you define the dependent value set that depends on it. Must create at least one dependent value for each
independent value
In the above Value set screen, if you choose type as DEPENDENT and clicked the Edit Information Button,
we get the below screen
Table:
Pair validation value set allows to select a range of concatenated Flex field segments as parameters to the
report. The special value set is used to perform special validation. This is used to enter the entire key flex field
segment in the single parameter of the report/calling entity.
Special and pair value sets provide a mechanism to allow a "flexfield-within-a-flexfield". These value sets are
primarily used for Standard Request Submission parameters. You do not generally use these value sets for
normal flex field segments.
Special and Pair value sets use special validation routines you define. For example, you can define validation
routines to provide another flexfield as a value set for a single segment or to provide a range flex field as a
value set for a pair of segments.
In the above Value set screen, if you choose type as SPECIAL and clicked the Edit Information
Button, we get the below screen
FNDLOAD can be used to migrate the value set information from one instance to another and below is the
code sample
FNDLOAD $usrname/$Passwd
OY
DOWNLOAD
$FND_TOP/patch/115/import/afffload.lct
file_name.ldt
VALUE_SET FLEX_VALUE_SET_NAME=LEARN_VALUESET