2) Write Dynamic action and call this JavaScript apex.item( "P4_ITEM_VALUE").setValue(apex.item('P4_RATE').getValue()*apex.item('P4_QUANTITY').getValue());
Oracle Tutorial, We have covered all Oracle articles which includes Oracle Database, Application, Framework, Oracle HRM, ADF Training and Financial Training. Further more we have queries and scripts for Oracle EBS Modules.
Tuesday, 31 March 2020
Compute and Set Interactive Grid Column Value Oracle Apex
Set / Get Interactive Grid Column Value Master Detail Form Oracle Apex 1) Assign Static Id to Column (that will be update by command) and use it's id in following commands. in my example P4_ITEM_VALUE is Static Id of Item Value Column.
2) Write Dynamic action and call this JavaScript apex.item( "P4_ITEM_VALUE").setValue(apex.item('P4_RATE').getValue()*apex.item('P4_QUANTITY').getValue());
2) Write Dynamic action and call this JavaScript apex.item( "P4_ITEM_VALUE").setValue(apex.item('P4_RATE').getValue()*apex.item('P4_QUANTITY').getValue());
Set / Get Interactive Grid Column Value Master Detail Form Oracle Apex
1) Assign Static Id to Column (that will be update by command) and use it's id in following commands.
in my example P4_ITEM_VALUE is Static Id of Item Value Column.
2) Write Dynamic action and call this JavaScript
var salary = apex.item( "P4_ITEM_VALUE");
salary.setValue(100);
or
apex.item( "P4_ITEM_VALUE").setValue(10);
Oracle DDL with EXECUTE IMMEDIATE -- Drop Multiple Object at once
If You want to Drop Multiple Object at once use this script. Please
using
This script check cursor query and take update of your database
/* Formatted on 3/31/2020 1:40:01 am (QP5 v5.139.911.3011)
*/
DECLARE
CURSOR OBJECTLIST
IS
SELECT 'Drop
'
|| OBJECT_TYPE
|| ' '
|| OWNER
|| '.'
|| OBJECT_NAME
|| ''
DROPCOMMAND
FROM ALL_OBJECTS
WHERE OWNER = 'APPS' AND OBJECT_NAME LIKE 'EBA%';
BEGIN
FOR LDX IN OBJECTLIST
LOOP
DBMS_OUTPUT.PUT_LINE
(TO_CHAR (LDX.DROPCOMMAND));
BEGIN
EXECUTE IMMEDIATE
LDX.DROPCOMMAND;
DBMS_OUTPUT.PUT_LINE ('Object has been dropped.');
EXCEPTION
WHEN OTHERS
THEN
DBMS_OUTPUT.
PUT_LINE (
SQLERRM
|| ' While performing this Command,'
|| TO_CHAR
(LDX.DROPCOMMAND));
END;
END LOOP;
END;
select 'Drop '||OBJECT_TYPE||' '||OWNER||'.'||OBJECT_NAME||';'
from all_objects
where owner='APPS'
AND OBJECT_NAME LIKE 'EBA%'
Wednesday, 25 March 2020
Import DMP file from one schema to another
imp FILE=D:\dmpFile.dmp FULL=N fromuser=fromUser touser=ToUser LOG=D:\LOG.TXT
imp FILE=D:\25mar2020.dmp FULL=N fromuser=apps touser=pos LOG=D:\LOG.TXT
imp FILE=D:\25mar2020.dmp FULL=N fromuser=apps touser=pos LOG=D:\LOG.TXT
change tablespace of table Oracle
Runtime this Query and Move one table space to other.
SELECT 'ALTER TABLE <SCHEMA>.' || TABLE_NAME ||' MOVE TABLESPACE '||' <TABLESPACE_NAME> ' FROM dba_tables WHERE OWNER = '<SCHEMA>' AND TABLESPACE_NAME <> '<TABLESPACE_NAME>'
SELECT 'ALTER TABLE POS.' || TABLE_NAME ||' MOVE TABLESPACE '||' POS ' FROM dba_tables WHERE OWNER = 'POS'
Command :
ALTER TABLE POS.APPS_CATALOG_HEADER MOVE TABLESPACE POS
Thursday, 19 March 2020
Java File.deleteOnExit() method
- import java.io.File;
- import java.io.IOException;
- public class DeleteOnExitExample
- {
- public static void main(String[] args)
- {
- File temp;
- try
- {
- temp = File.createTempFile("abc", ".temp"); //creating a .temp file
- System.out.println("Temp file created at location: " + temp.getAbsolutePath());
- temp.deleteOnExit(); //delete file on runtime exit
- System.out.println("Temp file exists : " + temp.exists());
- }
- catch (IOException e)
- {
- e.printStackTrace();
- }
- }
- }
Get Current Row in OAF Button Event
private void DeleteEntryLines(OAPageContext pageContext, OAWebBean webBean)
{
EslFaVerifyLinesAllGViewImpl l_linesVO = this.getEslFaVerifyLinesAllGView1();
EslFaVerifyLinesAllGViewRowImpl l_Lines_Row = (EslFaVerifyLinesAllGViewRowImpl) this.findRowByRef(pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE));
l_Lines_Row.remove();
}
{
EslFaVerifyLinesAllGViewImpl l_linesVO = this.getEslFaVerifyLinesAllGView1();
EslFaVerifyLinesAllGViewRowImpl l_Lines_Row = (EslFaVerifyLinesAllGViewRowImpl) this.findRowByRef(pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE));
l_Lines_Row.remove();
}
Subscribe to:
Posts (Atom)
OADBTransactionImpl in Oracle Application Framework (OAF)
OADBTransactionImpl is a class in Oracle Application Framework (OAF), which is a framework for building Oracle E-Business Suite applications...
-
Create Type Loop_Type is table of Varchar2(400) Create or Replace Function Find_Loop_F (P_End_loop in NUmber Default 10) Return Loop_Typ...
-
//import oracle.cabo.ui.validate.Formatter; important Class for Formatting // Set Number fields Format public void se...
-
FND_PROFILE values: fnd_profile.value('PROFILEOPTION'); fnd_profile.value'MFG_ORGANIZATION_ID'); fnd_profile.value(...