Professional Documents
Culture Documents
Context Sensitive DFF
Context Sensitive DFF
Context Sensitive DFF
1/7
1/24/2014
The title of the DFF is Common Lookups. This is the DFF for Common Lookups form.
See the form field named, Reference Field. It is set to :FND_LOOKUP_TYPES.LOOKUP_TYPE.
This value refers to a field on the Common Lookup form. This means that the DFF CONTEXT will
change based on the value of the LOOKUP_TYPE item on the block FND_LOOKUP_TYPES on the
Common Lookup form.
The value of Code in the Context Field Values section of the form will need to match with the value
set on Reference Field. i.e. When a Lookup Type AE_BANK_NAMES is created in Common Lookups
form it will have show the DFF segments as set up in the Context, AE_BANK_NAMES, in the DFF
Context. Let us check the Segments for Context, AE_BANK_NAMES. Click on the Segments button.
We see that it has 1 segment, adf. Close this window and let us check another context. Say,
EY_BANK_GUARANTEE.
This Context has 4 segments set up.
Now let us open the Common Lookup form. Query for Lookup Type, AE_BANK_NAMES.
Check the DFF for a Lookup Code.
You can see that the Context Value is set automatically as the DFF is synchronized with Lookup Type
value. Also, you can see 1 segment in this DFF as it has been setup.
Let us now query for the Lookup Type, EY_BANK_GUARANTEE and check the DFF.
You can see that the DFF segments being displayed are different from the previous DFF and is as per
the set up in the DFF, we saw earlier. The Context Value has also been picked up automatically.
This way we are not allowing the users to enter the DFF Context and change the DFF segments
accordingly, but we are restricting the users from selecting the wrong Context. This way there is little
scope of bypassing business logic.
We have used the same logic to extend usage of Common Lookups. You can find the article here,
Extending Lookups in Apps.
Cheers.
Related articles
How to add Descriptive Flexfields (DFF) in an Oracle Apps Framework (OAF) page
(oraclemaniac.com)
Enable/Disable DFF segments dynamically (oraclemaniac.com)
Quick access to documents/transactions from Navigator menu (oraclemaniac.com)
Account generation workflow setup and customization (oraclemaniac.com)
Receivables Invoice Interface/Conversion (oraclemaniac.com)
Develop a custom form to allow auto-query functionality (oraclemaniac.com)
How to relax Security Rules (oraclemaniac.com)
http://oraclemaniac.com/2012/03/04/context-sensitive-dff/
2/7
1/24/2014
Discussion
3/7
1/24/2014
Class-> 1 2 3 4 5
Parameter 0 0 0 0 0
a23563
b22224
c22225
d22
e22225
f5444
g53333
h52233
Simillar matrix for customer C
The scores will be changing.
Can you please guide me to configure this using lookups and dff.
POSTED BY ABC | JUNE 12, 2012, 12:43 PM
REPLY TO THIS COMMENT
Hi ABC,
The requirement is not very clear to me. Do you mean customer profile classes when you are
referring to class? I do not understand what you mean by parameters to classes. Can you
elaborate on it?
Regards,
Abhijit
POSTED BY ABHIJIT RAY | JUNE 14, 2012, 4:25 PM
REPLY TO THIS COMMENT
2. Hi Abhijit,
Its good to find your blog !! How are you..and your family ?
Have a quick question on DFF.
1. I have created a DFF on AP Invoice Line with value set Yes and No
2. I have created a Custom Profile which will be attached with the responsibility Yes or No Values
Now my requirement is
When I attach YES to the profile at the resp level, the DFF should be displayed at the Inv Line level,
however if I select No at the profile level..it should not prompt for the DFF at the Inv line level.
I have used :PROFILES.INVOICE_FILE in the reference field where INVOICE_FILE is the name of
the Custom Profile.
Thanks for your help
POSTED BY RAJIB | JUNE 26, 2012, 4:40 PM
http://oraclemaniac.com/2012/03/04/context-sensitive-dff/
4/7
1/24/2014
this
link,
Instead
of
-Abhijit
POSTED BY ABHIJIT RAY | JUNE 26, 2012, 11:05 PM
REPLY TO THIS COMMENT
3. Hi Abhijit,
Its good to find your blog !! How are you..and your family ?
Have a quick question on DFF.
1. I have created a DFF on AP Invoice Line with value set Yes and No
2. I have created a Custom Profile which will be attached with the responsibility Yes or No Values
Now my requirement is
When I attach YES to the profile at the resp level, the DFF should be displayed at the Inv Line level,
however if I select No at the profile level..it should not prompt for the DFF at the Inv line level.
I have used ROFILES.INVOICE_FILE in the reference field where INVOICE_FILE is the name of
the Custom Profile.
Thanks for your help
POSTED BY RAJIB | JUNE 26, 2012, 4:40 PM
REPLY TO THIS COMMENT
4. Hi Abhjit
There is a requirement in our project to default the DFF values (5 segments) in the customer site
DFF field to sales orders and quotes header based on the user selection of customer and OU in the
orders and quotes
if a need arises, user will change the defaulted values of the value sets in the orders and quotes too.
This will be taken for analysis in the form of report
Any pointers of defaulting the customer site DFF into sales order/quote DFF will be of great help.
Thanks and regards
Anand
POSTED BY ANAND | DECEMBER 6, 2012, 4:21 PM
http://oraclemaniac.com/2012/03/04/context-sensitive-dff/
5/7
1/24/2014
6/7
1/24/2014
Powered by WordPress.com
http://oraclemaniac.com/2012/03/04/context-sensitive-dff/
7/7