Tutorials
Oracle Apps
Oracle Apps Implementing Key Flex field and Descriptive Flex field
Oracle Apps Implementing Key Flex field and Descriptive Flex field - Page 2
Oracle Apps Implementing Key Flex field and Descriptive Flex field - Page 3
Reference Fields Window
Use this window to specify any form fields that might serve as descriptive flexfield reference fields. Your flexfield can use values in one of these fields (context field values) to determine which flexfield structure to display.
Columns
These are columns of the table that would to be used in the DFF. You may declare all columns here even if they are not being used in the DFF presently.
Save the changes and close the form. You need to define the structure of the DFF now. To do this open the Segments form using the path Application Developer à Flexfield à Descriptive à Segments.
Figure 14. DFF Segments Form
The segment form as shown in the figure 14 above is used to enter the context field values upon which the prompts in the pop-up would depend. The EMP and APL are the values that a user would enter in the context prompt for the DFF. The pop-up would decide the prompts on the basis of this value.
Global Data Elements are those prompts which would be displayed in the all the values for the context prompt.
To determine the structure of the DFF on APL context value, click on segments button at the bottom when the APL value in Context Field Values is selected. The fields to be entered are shown in figure 15 below.

Figure 15. Prompts for the APL context value
Figure 16 below shows the prompts for the EMP context value.

Figure 16. Prompts for the EMP context value
Save the changes and click on compile to freeze the DFF definition. You may optionally use the Value Sets for the values to be entered in the various prompts.
The DFF is now ready to be used from the form. To enable the DFF on the form, follow the steps below.
Open the form using the form builder and write the following code in WHEN-NEW-FORM-INSTANCE trigger of the form. Standard forms (already defined by oracle) will have this code already present in the appropriate triggers.
FND_DESCR_FLEX.DEFINE (
BLOCK=> 'TEST_DESC',
FIELD=> 'DESC_FLEX_TEST',
APPL_SHORT_NAME=>'HR',
DESC_FLEX_NAME=>'DESC_FLEX_TEST'
);
Where BLOCK is the name of block containing DFF item
FIELD is the DFF item on form
APPL_SHORT_NAME is the short name of the application with which the flex field is registered
DESC_FLEX_NAME is the name of the registered flexfield (Step 3)
Also write the following code in 'WHEN-NEW-ITEM-INSTANCE' at the form level:
FND_FLEX.EVENT ('WHEN-NEW-ITEM-INSTANCE');
The DFF would look like as shown in the figure 18 and figure 19 below depending upon the context value provided in the form as shown in figure 17 below.

Figure 17. Context Prompt

Figure 18. Prompt for APL Context Value

Figure 19. Prompt for EMP Context value
1. What is the difference between key flexfield and Descriptive flexfield?
2. What are context sensitive segments in descriptive flexfields?
3. What is the significance of structure id in key flexfields?
4. Can we use other columns (beside attributes) as segments for DFF?
5. Which procedure should be used to make the DFF read only at run time?
6. What is the significance of cross validate segments in the Key flexfield structure screen (figure 6)?
7. What is the significance of reference field in a DFF?
8. How do I enter the default value of Key flexfield or DFF segment?
9. What is the difference between flexfield qualifier and segment qualifier?
10. How do I define global segment qualifier?
11. Which procedure should be called to enable a DFF in a form?
12. Do we need to register Standard DFF’s?
13. Are the value sets mandatory for DFF segments?
14. What is the maximum number of segments that can be defined for KFF?
15. How do I enable a database column to use it in a DFF segment?
First Page: Oracle Apps Implementing Key Flex field and Descriptive Flex field
| A good read. |
| Excellent. Kanan |
| It would be nice if at the time of qestion answers, answers are also given. The document is excellent and helped me a lot in understanding flexfield. |
|
I would not agree with the comments of Kanan, if you are looking for answers you can get the answers from the tutorial itself as its a nice tutorial.<br /> Don\'t Mind :)) |
|
Dears,<br /> <br /> Your Website is Excellent to help anyone on any topic regarding to IT field.I have improved my skills due to this website. |
| wounderful site and very helpful topics. Great job done buddies |
|
Hi all, the tutorial is very nice and i personally think this tutorial is very good for the starters and i improved myself in understanding Flexfields, it would be nice if the answers r given for the question given above. |
| Appreciate if you could update and share constantly as a user forum |
|
Those who are working on this site are really doing a gr8 job. Keep it up guys..... |
| Well explained... great reading |
|
really Its good preparation, they did good job, any one can understand easily. Really helpful........ |
|
Really helpfll , thanks alot. |
|
Excellent work guys.. Really helpful topics. I bookmarked it. Keep IT up.. Good luck |
|
Thank you for an artical on creating descriptive flxefield. I have created a forms out of custom table which is in custom schema and it has features of showing DFF. I do see that it is prompting based on context value for a gievn column. When I commit transaction, values for DFFs are not populated in the table. Would you know what would be the cause of this problem and how it can be resolved. I am stuck in this badely, if I do get some solutaion that it would be a big favor to me. Thanks |
|
Ur tutorial is good .still i cant understand,what is flexfields. how will u explain to a non oracle apps user. give some real time example for me to understand the real meaning of flexfield. please? |
| it is very nice. |
|
Can you please explain me what is Global Data Elements? Thanks Giridhar |