Professional Documents
Culture Documents
This built-in is used to invoke more than one form in single session.
i.e, if one form is invoking other form then invoking form is called as “Calling Form”.
The invoked form is called as “Called Form”.
Syntax:-
FND_FUNCTION.EXECUTE
(function_name IN varchar2,
open_flag IN varchar2 default ’Y’,
session_flag IN varchar2 default ’SESSION’,
other_params IN varchar2 default NULL,
activate IN varchar2 default ’ACTIVATE’,
browser_target IN varchar2 default NULL);
Description:- Executes the specified form function. Only executes functions that have a
form attached. Displays a message to the end user if the function is not accessible.
Arguments:-
:Global.vendor:=:po_vendors.vendor_id;
fnd_function.execute(FUNCTION_NAME=>'XXPO_VENDOR_SITES',
OPEN_FLAG=>'Y',
SESSION_FLAG=>'N',other_params=>:Global.vendor);
other_params => here it is used to pass vendor_id from vendor details form to vendor
site details form.
Step 2: Delete the block name from window, canvas ,data block and delete the detail
block from data block.
Step 3: Now create a window and apply subclass information as “WINDOW”.
Step 4 : Give this window name in PRE-FORM trigger (Form Level) and give this
window name in APP_CUSTOM body Program_Unit (in place of window name).
Execute_query;
Form:-XXPO_VENDOR_SITES
Application: Custom Top Application Name(xxmz Custom)
User Form Name: any name(Vendor Site Details Form)
Description:any(Vendor Site Details Form)
Function:-any (XXPO_VENDOR_SITES)
Query with particular application name and responsibility name you will get “MENU
NAME”
Copy that menu name, Query with that name in Application Developer Menu Window.
Form:-XXPO_VENDORS
Application: Custom Top Application Name(xxmz Custom)
User Form Name: any name(Vendor Details Form)
Description:any(Vendor Details Form)
Function:-any (XXPO_VENDORS)
User Function Name: any name(Vendor Details Form Function)
Description: Any (Vendor Details form Function)
Go to “Properties” tab give the type as “Form”
Next Go to “Form” tab attach our user function form name here (i.e Vendor Details
form).
Query with particular application name and responsibility name you will get “MENU
NAME”
Copy that menu name, Query with that name in Application Developer Menu Window.