Monthly Archives: September 2020

How to Convert Comma Separated Values into Table using ‘REGEXP_SUBSTR’

WITH csv AS (SELECT ‘AA,BB,CC,D33D,EE,FFDD.MM,GG’ AS csvdata FROM DUAL) SELECT REGEXP_SUBSTR (csv.csvdata, ‘[^,]+’, 1, LEVEL) pivot_char FROM DUAL, csv CONNECT BY REGEXP_SUBSTR (csv.csvdata,'[^,]+’, 1, LEVEL) IS NOT NULL;

Read More

Convert the Amount into the Word using Function in Oracle Apps R12

Create or Replace Function AMT_IN_WORDS ( P_TOT_AMT float, P_TRANSACTION_CURR Varchar2) return varchar2 IS InvalidNumberFormatModel EXCEPTION; PRAGMA EXCEPTION_INIT(InvalidNumberFormatModel,-1481); InvalidNumber EXCEPTION; PRAGMA EXCEPTION_INIT(InvalidNumber,-1722); TYPE GroupTableType IS TABLE OF VARCHAR2(30) INDEX BY BINARY_INTEGER;…

Read More

How to disable of the Add New Record Button, Clear Button and Delete Button from the Oracle apps Custom Form Oracle Apps R12.

Overview In order to disable New Record Button, Clear Button and Delete Button, Please follow below step Write the code in the Form Level Trigger (WHEN-NEW-BLOCK-INSTANCE) IF :XXBEX_PRO_BUDGET_HEADER_V.PROJECT_STATUS IN (‘PROJECT…

Read More

How to make DFF field(attributes) uneditable or Disable through Form Personalization

When the Disposition Fields = (‘Complete’,’Accept’,’Accept with Variance’,’Reject’) Then Disable or READ ONLY the DFF Help -> diagnose -> custom code-> personalize Condition: Trigger Event: WHEN-NEW-ITEM-INSTANCE Trigger Object: GMDQSMPL.SAMPLE_NO Condition:…

Read More

Change group query associated to LOV Using Forms Personalization in Oracle Apps R12

Overview Requirement: We have to change the “type”  field LOV query for populating the custom values. To achieve this we have to follow the below process. Step-1: Login into the application…

Read More

To display all data for a particular block while opening the EBS form.

Overview Sometimes having a requirement to display all block data whenever form is open. In order to achieve please follow below step, Open Form builder> Open your custom form >Go…

Read More

500 Internal error in OAF

Once any environment get refreshed in EBS, a new dbc file will be generated. Some times we will receive 500 internal error. To over come this we need to replace…

Read More

Calling External URL in new Tab

When we calling any external URL from OAF page, we need to add destination URI as below. So URL will open in new tab with same browser. javascript:var a =…

Read More

Displaying Number of characters entered in text field

In OAF page, if user want to know how many characters entered in message text input field. Below is the code we need to use in process request.   String…

Read More

Calling External URL in a New window

Suppose if we want to call any external URL in OAF page. So you can call as like below. urlname = https://www.google.com/ pageContext.sendRedirect(urlname);

Read More