In a Standard form a DFF is disable?How we can Enable it?

Answer Posted / rajat

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



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


for further reference :
http://www.exforsys.com/tutorials/oracle-apps/oracle-apps-implementing-key-flex-field-and-descriptive-flex-field/2.html

Is This Answer Correct ?    2 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a value set? List its various types.

642


how can i print random rows in plsql table

1924


testing tools?

1741


Can you differentiate between mediator and osb?

619


tell me the scenarios of the independent in reports

2098






Do you know what is applysys in oracle application database schema, what is apps?

661


Which oracle apps version you are very confident in?

695


A program must be written which accepts date parameter. The date parameter will accept data in the format DD/MM/YYYY. This data has to be validated and post validation, the following details have to be displayed for this date parameter 1. Input date must be defaulted to sysdate, It can be overridden by any other date. 2. Financial year should be displayed for this date parameter. Eg: If the input date is 30/11/2010, the financial year must be displayed as 1. From Date : 01-Aprr-2010 To Date: 31-Mar-2011 3. Calendar year and Calendar month must also be displayed. 4. The next payment cycle (say for EB), must be displayed based on this date parameter. 5. The previous payment must also be displayed based on this date.

1666


In sequence i want to 11 and 15th values how we will write?

1566


do you know is it possible to run the interface without using oracle apps?

638


Tell me how to find the custom directory in front end?

651


Tell me how to debug the report?

627


What is instead of trigger in where we will use?

667


how do you describe O2C along with tables

2304


q)what are the validations in sql*loader

1731