Skip to main content

SQL for Before / After a character (For Example / OR _ )

SELECT flv1.meaning, flv1.attribute1,NVL(SUBSTR(flv1.meaning, 0, INSTR(flv1.meaning, '/')-1), flv1.meaning) Before,
SUBSTR(flv1.meaning, INSTR(flv1.meaning, '/') + 2) AFTER
                          FROM   fnd_lookup_values flv1 
                          WHERE  flv1.lookup_type = 'XWII_BOL_NAME_REPLACEMENT' 
                          AND    flv1.enabled_flag = 'Y'
                          AND    TRUNC (SYSDATE) BETWEEN TRUNC (NVL (flv1.start_date_active,SYSDATE))
                                               AND TRUNC (NVL (flv1.end_date_active,SYSDATE))
                  AND    flv1.LANGUAGE = 'US'

Comments

Popular posts from this blog

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

Oracle Forms-How to Enable Attachment in Custom Form of Oracle Apps

How to Enable Attachment in Custom Form of Oracle Apps Step to enable Attachment Option in Oracle Apps Custom Form:   1)       Navigation: - Application Developer -> Attachment-> Document Entities 2)       Now enter the information as shown below and save the records. 3)       a) Open ‘Attachment Functions’ Screen b) Entered the following information as shown below. c)Save the records Navigation: - Application Developer -> Attachment-> Attachment Functions                Note: - Name = Form name   4)         Click on ‘Categories’ and select ‘Miscellaneous’ from LOV and save the records.   5)       a) Open the’ Attachment Functions’ again and select the type as ‘Function’ and entered the corresponding function name of the Form (function name=n...

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...