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