Skip to main content

Oracle Forms -- Important Syntaxes

1. To get the enabled property of the item
APP_ITEM_PROPERTY.GET_PROPERTY('CONTROL.FILTER_HOLD_RECORDS',ENABLED)

2. Disable Attachment for this Block in WHEN-NEW-BLOCK-INSTANCE
 APP_SPECIAL.ENABLE('ATTACHMENTS', PROPERTY_OFF);

3. Default Where / Default Order By
Set_block_property('XWII_MATL_DISP_HOLDS_V', Default_where, Lc_query);
Set_block_property('XWII_MATL_DISP_HOLDS_V', order_by, Lc_query);

4. Visual Attribute
   a. Define Visual Attribute for eg 'XWII' where you can set Colour
 b. SET_ITEM_INSTANCE_PROPERTY('block.item_name',CURRENT_RECORD,VISUAL_ATTRIBUTE ,'XWII');

4. Visual Attribute for Record
APP_RECORD.HIGHLIGHT('XWII');
Where 'XWII' is the visual attribute where you can set Colour.

5. Initiliaze SPECIAL Menu
app_special.instantiate ('SPECIAL1', GET_GROUP_CHAR_CELL ('SPECIAL_MENU.SPECIAL_MENU_ITEM', 1), '', TRUE, '');

6. execute_trigger('SPECIAL25');

7. Enable/ Disable Standard Menus
      app_special.ENABLE ('FILE.NEW', property_off);
      app_special.ENABLE ('EDIT.CLEAR', property_off);
      app_special.ENABLE ('EDIT.DUPLICATE', property_off);
      app_special.ENABLE ('EDIT.DELETE', property_off);
8.  Enable/ Disable Custom  Menus
app_special.ENABLE ('SPECIAL1', property_on);

Comments

  1. APP_SPECIAL.ENABLE('EDIT.DELETE', PROPERTY_OFF); is not working

    ReplyDelete

Post a Comment

Popular posts from this blog

Xdoxslt XML Publisher RTF Important Syntax’s     1.        To convert CASE of a tag to UPPER case      xdoxslt:convert_case(.//MATERIALTYPE,'UPPER')     2.        To convert CASE of a tag to LOWER case      xdoxslt:convert_case(.//MATERIALTYPE,'UPPER')     3.        Syntax for CONTAIN      contains(xdoxslt:convert_case(.//MATERIALTYPE,'UPPER'),’IC CREDIT MEMO’)     4.        Syntax for NOT CONTAIN      not(contains(xdoxslt:convert_case(.//REFERENCE_ID,'UPPER'),'WSC'))     5.        CHOOSE-WHEN-OTHERWISE Syntax     <?choose:?><?when: contains(xdoxslt:convert_case(.//MATERIALTYPE,'UPPER'),’IC CREDIT       MEMO’)?><?’Interco Credit Memo’?><?end when?><?otherwis...

Enable/disable a trace to a Concurrent Program - Oracle Apps Reports Trace

How do you enable/disable a trace to a Concurrent Program? 1. Connect to Oracle Applications 2. Navigate to System Administrator->Concurrent->Program->Define 3. Query the concurrent program on which you want to enable trace. 4. Check the enable trace check box bottom of the screen, Save it. 5. Ask the developer to submit the request, Once the request got submitted and completed normal. 6. Get the spid as select oracle_process_id from apps.fnd_concurrent_requests where request_id=456624. 7. You will get a spid like 12340. 8. Goto Udump and ls -ltr *12344*. 9 . You will get trace file