Exforsys.com
 
Home 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

Page 2 of 3



Descriptive Flexfield

The descriptive flexfield could be defined for a custom form or a standard form but in either case, the descriptive flexfield is required to be defined in the system first. If the descriptive flexfield is to be defined on a custom table then the custom table is required to be registered with Applications Objects Library before it can be used in the descriptive flexfield definition. To register custom tables under AOL refer to the document on Table Registration. The standard tables come registered with the Oracle Applications therefore you do not need to register them again.


To register the descriptive flexfield, open the register form using the navigation path : Application Developer à Flexfield à Descriptive à Register. The form would look like as shown in figure 12 below.



Figure 12. Descriptive Flexfield Register form


Once you have identified the additional information you want to capture in a Descriptive flexfield, you must determine the usage. There are two types of segments for Descriptive flexfields:


  • Global segments
  • Context-sensitive segments

Global Segments

A global segment is a segment that will always be displayed in a Descriptive flexfield window common to all context values, and it is the most commonly used type of Descriptive flexfield. Each global segment maps one-to-one to a database column. Descriptive flexfield segments are usually stored in columns named ATTRIBUTE1 to ATTRIBUTEn, where n is the maximum number of segments for a given Descriptive flexfield.


Context-Sensitive Segments

A context-sensitive segment is a segment that may or may not be displayed in a Descriptive flexfield window, depending on a context value. A context value can be derived from another field in the same block or from the context field. The field from which a context value derives its value is called a reference field. Remember, a Descriptive flexfield is associated with a database table, not a single form. A context field is a special field appearing in the Descriptive flexfield window. You can use a context field to allow users to enter their own context values or override what is defaulted from the reference field. The context value, whether from a reference field or a context field, determines which context-sensitive segments will be displayed.

Let’s say, you need to define a DFF for the Human Resource à People à Enter and Maintain form. The DFF field ( [ ] ) is already provided on the form. Depending upon whether the details being entered are for an employee or an applicant, you want to decide on the details to be entered in the database.


For an employee the details required are:


1. Drivers License Jurisdiction
2. Drivers License Number
3. Global ID
4. Country of Origin
5. Security Clearance
6. Badge Number
7. Bonded?
8. Hired Via Acquisition
9. Acquired Company
10. Original Hire Date
11. Proposed Retirement Date
12. Proposed Retirement Reason
13. Service Start Date
14. Union Seniority Date


And the details required if the person is an applicant are:


1. Current Employer
2. Employer's Phone
3. Verification Check Date
4. Verification Checked By
5. Reference Check Date
6. Referenced Checked By
7. Pre-Employment Physical Date


The DFF prompt fields have to depend on the value entered in the context field. If the value entered is EMP then the prompt for the employee details should pop-up and if the value entered is APL then the prompt for Applicant details should pop-up.


The steps involved are :


Register the DFF using the Descriptive Flexfield registration form as shown in figure 13 below. Standard DDF’s are already registered with oracle applications and hence this step can be skipped for seeded DFF’s.



Figure 13. DFF Register Form


Forms and flexfield routines use the combination of application name and flexfield name to uniquely identify your flexfield. The details of the fields on the above forms are:


Application


Application name where you want to register your DFF.


Name

Use this name when you use flexfield routines to call your descriptive flexfield from your forms or programs.

Title

Flexfields displays this unique title at the top of the flexfield window when your users enter your descriptive flexfield.

Table Name

Enter the name of the table that contains your descriptive flexfield columns. Your table must already exist in the database, and it should already have columns for your descriptive flexfield segments, as well as a structure column. These segment columns are usually called ATTRIBUTE1, ATTRIBUTE2, ..., ATTRIBUTEn.

You must register your table with Oracle Applications before you can use it in this field.



Structure Column

Enter the name of the column, such as ATTRIBUTE_CATEGORY, in your table that your flexfield uses to differentiate among descriptive flexfield structures. Your descriptive flexfield uses this column to let your users see different descriptive flexfield structures based on data supplied by the form or the user. You must have a structure column even if you only intend to use one descriptive flexfield structure.

Context Prompt

Enter a default context field prompt that asks your user which descriptive flexfield structure to display. Depending upon how your application installer defines your descriptive flexfield, your user may or may not see a context field as part of the descriptive flexfield pop-up window. Descriptive flexfield windows display this context field prompt if the installer allows the end user to override the default context field value.

If your application installer defines it, the context field appears to the user as if it were simply another flexfield segment (with the prompt you specify here). Your user enters a value in the context field, and other descriptive flexfield segments pop up based on that value. The installer can modify the context field prompt using the Define Descriptive Segments window.




Next Page: Oracle Apps Implementing Key Flex field and Descriptive Flex field - Page 3


Read Next: Oracle Apps Template Form



 

 

Comments


furkanalam said:

  A good read.
September 23, 2005, 4:01 pm

Kanan Singhal said:

  Excellent. Kanan
June 9, 2006, 5:57 am

Kanan Singhal said:

  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.
June 9, 2006, 5:58 am

Mitra said:

  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 :))
June 15, 2006, 12:40 am

Khawaja said:

  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.
June 15, 2006, 2:48 am

Amalendu Kundu said:

  wounderful site and very helpful topics. Great job done buddies
October 6, 2006, 7:06 am

Ravi venkata Revanth said:

  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.
October 12, 2006, 1:57 am

Shankar N Mahadevan said:

  Appreciate if you could update and share constantly as a user forum
December 6, 2006, 10:37 am

Aparajita said:

  Those who are working on this site are really doing a gr8 job.

Keep it up guys.....
February 3, 2007, 2:37 am

Pratik Ghoshal said:

  Well explained... great reading
June 20, 2007, 8:50 am

Rajesh Sannapureddy said:

  really Its good preparation, they did good job, any one can understand easily.

Really helpful........
July 30, 2007, 5:52 am

Zaid said:

  Really helpfll , thanks alot.
February 21, 2008, 5:47 am

Robbie Deol said:

  Excellent work guys..
Really helpful topics. I bookmarked it.

Keep IT up..

Good luck
March 15, 2008, 7:10 pm

Kamlesh Dhairyavan said:

  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
November 20, 2008, 10:07 pm

kannan said:

  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?
January 6, 2009, 4:06 am

sakthivel said:

  it is very nice.
January 30, 2009, 10:41 am

Giridhar Puvvadi said:

  Can you please explain me what is Global Data Elements?
Thanks
Giridhar
April 30, 2009, 2:43 am

Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 
Partners -  Privacy and Legal Policy -  Site News -  Contact   Sitemap  

Copyright © 2000 - 2009 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape