You might be struggling to find some libraries particularly the ones mentioned.
You can find them on $AU_TOP/plsql . I am not sure why someone will create libraries there.
Wednesday, 21 September 2011
Monday, 19 September 2011
Oracle Forms : Developing a new form.
One small tip which might help while developing a new form.
1.Start development from TEMPLATE.fmb from $FND_TOP or $AU_TOP
2.Make sure the window is associated with the canvas and the code to close window is properly initialized or else you might see wierd calendar etc poping on the screens.
The place to check will be app_custom.close_window
1.Start development from TEMPLATE.fmb from $FND_TOP or $AU_TOP
2.Make sure the window is associated with the canvas and the code to close window is properly initialized or else you might see wierd calendar etc poping on the screens.
The place to check will be app_custom.close_window
Find the Current Tab in a canvas.
The following piece of code can be used to find the tab in a given canvas.
===
declare
--call the serial capture api.
l_tab_name varchar2(100);
begin
--get the current tab
l_tab_name := GET_CANVAS_PROPERTY('CANVAS_NAME',topmost_tab_page);
if l_tab_name = 'TAB1' then
fnd_message.debug('TAB1');
elsif l_tab_name = 'TAB2' then
fnd_message.debug('TAB2');
else
fnd_message.debug('INVALID TAB');
end if;
exception
when others then
fnd_message.debug('Error in process:'||sqlerrm);
end;
===
declare
--call the serial capture api.
l_tab_name varchar2(100);
begin
--get the current tab
l_tab_name := GET_CANVAS_PROPERTY('CANVAS_NAME',topmost_tab_page);
if l_tab_name = 'TAB1' then
fnd_message.debug('TAB1');
elsif l_tab_name = 'TAB2' then
fnd_message.debug('TAB2');
else
fnd_message.debug('INVALID TAB');
end if;
exception
when others then
fnd_message.debug('Error in process:'||sqlerrm);
end;
Thursday, 15 September 2011
Organization selection in Oracle Applications.
Today I had to add Organization access to one of the forms. I found that is actually very easy to do.
Step 1: Add 'FND_ORG.CHOOSE_ORG; ' in the WHEN-NEW-FORM-INSTANCE trigger
Step 2: Define 4 parameters in the form; ORG_ID,ORG_CODE,ORG_NAME,CHART_OF_ACCOUNTS_ID
And you are all set, the list of Orgs appearing will be from the Organization Access defined for the current responsibility.
Step 1: Add 'FND_ORG.CHOOSE_ORG; ' in the WHEN-NEW-FORM-INSTANCE trigger
Step 2: Define 4 parameters in the form; ORG_ID,ORG_CODE,ORG_NAME,CHART_OF_ACCOUNTS_ID
And you are all set, the list of Orgs appearing will be from the Organization Access defined for the current responsibility.
Wednesday, 31 August 2011
Receiving Transaction Errors (rcv_transactions_interface)
We had some receiving errors and I learnt an interesting point that the detailed errors can be found in po_interface_errors.
select * from PO_INTERFACE_ERRORS where batch_id
in (select group_id from rcv_transactions_interface)
select * from PO_INTERFACE_ERRORS where batch_id
in (select group_id from rcv_transactions_interface)
Friday, 19 August 2011
Oracle Shipping Exceptions.
There might be scenarios when Pick Release is called you are not sure where to look into. WSH_EXCEPTIONS does the job of tracking the exceptions.
select * from WSH_EXCEPTIONS
select * from WSH_EXCEPTIONS
Thursday, 18 August 2011
Some More Date functions.
What day is today in SQL?
select to_char(sysdate,'DAY') from dual;
Extending the above to other useful stuff:
First Day of the Month:
select to_char(trunc(sysdate,'MM'),'DAY' ) from dual;
Ex: WEDNESDAY
Last Day of the Month:
select to_char(last_day(sysdate),'DAY') from dual;
Ex: MONDAY
Last Date of the month :
select last_day(sysdate) from dual
Ex:31-Aug-2011
Add time to a given date:
select to_char(trunc(last_day(sysdate))+13/12,'DD-MON-RRRR HH24:MI:SS') from dual
select to_char(sysdate,'DAY') from dual;
Extending the above to other useful stuff:
First Day of the Month:
select to_char(trunc(sysdate,'MM'),'DAY' ) from dual;
Ex: WEDNESDAY
Last Day of the Month:
select to_char(last_day(sysdate),'DAY') from dual;
Ex: MONDAY
Last Date of the month :
select last_day(sysdate) from dual
Ex:31-Aug-2011
Add time to a given date:
select to_char(trunc(last_day(sysdate))+13/12,'DD-MON-RRRR HH24:MI:SS') from dual
Subscribe to:
Posts (Atom)
Integrations Lead - Lessons learnt
Integrations have been my passion for a while but like anything tech there is no credit given when things go right but always heaps of pres...
-
For most outbound interfaces bursting to content server and then picking the file from UCM is the best approach for large extracts. Default...
-
While developing Cloud integrations I could not find a single place for all details like InterfaceID or jobdefinitionname or job name etc. ...
-
You can use valueset(Ex-ORG_LEVEL1) to use the query table functionality in Fast Formulas. Below is sample how you pass parameters(P_ORG_ID)...