How to open a FlexField when you click on the text item?

Perguntas relacionadas a questões técnicas do Oracle EBS. Criação de Concorrentes, Value Sets, Alerts, Forms Personalizations, Configurações, etc
Post Reply
edersu
Rank: Estagiário Júnior
Rank: Estagiário Júnior
Posts: 2
Joined: Tue, 07 Nov 2006 12:46 pm
Location: Assis-SP

Next, I have a text_item field, connected to Dummy LOV
enable_list_lamp, in this field I have a FlexField, returning a code_combination

only the following: When you click on the Text_Item field, the FlexField does not open automatically, you need to click on the 3 dots "..." of the field, but wanted to open flex automatically, to prevent random values ??from being inserted ...

Here goes the stretch of the FlexField that is in the trigger WHEN-NEW-FORM-INSTANCE

Select all

FND_KEY_FLEX.DEFINE(BLOCK => 'HR_UNA_HIERARQUIA_CHAVE' 
                                                   ,FIELD => 'TXT_CHAVE' 
                                                   ,APPL_SHORT_NAME => 'SQLGL' 
                                                   ,CODE => 'GL#' 
                                                   ,NUM => 101 --v_ORGANIZATION_ID 
                                                   ,ID => 'COD_COMBINATION_ID' 
                                                   ,REQUIRED => 'Y' 
                                                   ,VALIDATE => 'FULL' 
                                                   ,USEDBFLDS => 'N' 
                                                   ,TITLE => 'Conta Contábil' 
                                                   ,ALLOWNULLS=>'N'); 
The property automatic_display of LOV enable_list_lamp is 'YES'

Thanks from now on .....
edersu
Rank: Estagiário Júnior
Rank: Estagiário Júnior
Posts: 2
Joined: Tue, 07 Nov 2006 12:46 pm
Location: Assis-SP

It was like this ......

Select all

WHEN-VALIDATE-ITEM 
if ( :system.mode = 'NORMAL' ) then 
       fnd_flex.event( 'WHEN-VALIDATE-ITEM' );--trigger do flexfield 
    end if; 
 
WHEN-NEW-ITEM-INSTANCE 
app_standard.event('WHEN-NEW-ITEM-INSTANCE'); 
    fnd_flex.event('WHEN-NEW-ITEM-INSTANCE' );
The two above are triggers of the text-item

]] And the trigger of form:

Select all

KEY-LISTVAL 
FND_FLEX.EVENT('KEY-LISTVAL' );

Thanks.
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest