You are on page 1of 7

some of the pre-requisite steps for form development and steps for

creating/registering PL/SQL stored procedures.


Application Name
:
Network Logistics
Base Schema Name
:
cus
(Username/Password : cus/cus@vis)
Base Unix product folder :
$CUS_TOP
Responsibility
:
Custom Application

Pre-requisites for Form development


1 Custom tables need to be created in custom schema of Oracle
ERP database (cus/cus@vis) Refer & use the above Tns
entries to connect to the database.
2 Grant need to be given for apps scheme for the new table
3 A synonym need to be created in apps schema
(apps/apps@vis)
4 Use the synonym to create the form by connecting to apps
schema
Steps for creating PL/SQL procedures
1 Create the procedure in apps schema
2 Register the procedure in oracle apps using the following steps
a Login to Oracle applications front end
b Choose Application Developer responsibility
c Click on the Navigator Menu Concurrent Executable
Define executable and save
d Click on Concurrent Program Define Concurrent
program
e Move to Sysadmin responsibility. Choose Security
Responsibility Define

f Press F11 and type the Responsibility name as Custom


Application and press Ctrl F11
g Once queried copy/note down the Request Group name
and the application name
h Click on Security Responsibility Request
i Query for the Request group (Press F11 , paste the
Request Group name copied in the previous step for the
field Request Group. Confirm the application name and
Press Control F11)
j In the bottom portion of the Request screen Add the
concurrent program defined in step 4.
k Navigate to the responsibility Custom Application and
submit the program.

steps for developing the forms


------------------------------------------1)Copy the template.fmb & APPSTAND.fmb & necessary library files
from the unix server and make one folder in mycomputer, name it
as 'resources' and paste those files.
2)Goto start - run - regedit - one window is open, in that click
software - oracle - home one.
In the right side window, double click "form60".
3)Copy the path and go to that specified path.
4)In that, copy all the library file downloaded from the unix server,
except those template.fmb & APPSTAND.fmb.
5)Open the form builder and open that templete.fmb in the resource
folder.

6)Rename the templete.fmb into any name and save it.


7)Remove the existing MASTER and DETAIL(BLOCKNAME and
DETAILBLOCKS) blocks from the form.
8) Also remove the corresponding canvas and windows. don't
remove any other objects.
9)Create your own block, canvas, windows and other related objects
depending upon your application.
10)Right click the corresponding (block,windows,canvas) and set the
property class in the subclass as
Data block - block
item - text item
canvas - canvas
window - window
11) Go to the property palatte of the canvas and choose the
corresponding window name for window option
12) In the object navigator
program units,choose the below
-->APP_CUSTOM (package body)
In the coding,
if (wnd = '<your first window>') then
app_window.close_first_window;

name.

Instead of <your first window>, you give your window

13) In the pre form trigger coding,


app_window.set_window_position('BLOCKNAME',
'FIRST_WINDOW');

Instead of 'first window', you give your window name.


14) Develope your application.
15)After creating the form(.fmb), just complile the form.. dont run
the form..

Steps for creating ".fmx"


------------------------------1) Open the unix server with the ip address as 10.203.123.154 &
user name as apps11i and password as apps11i
2) Copy the path AU_TOP/forms/US and paste in the remote side of
FTP.by using the FTP(New file transfer window) in the menu option.
3) Upload the .fmb file from your local system to the remote
location .
4) Now close the FTP and get into the AU_TOP/forms/US and check
the presence of .fmb by using ls -l option.
5) Now compile the .fmb file using following code
f60gen module=filename.fmb userid=apps/apps
module_type=FORM batch=NO
now .fmx file will be created
6) Then move this .fmx file to the corresponding responsibility top
eg. mv filename.fmx $CUS_TOP/forms/US

E-Business Suit
---------------1)Now open the E-business suit environment
2)Select apps logon links -> Ebusiness home page
user name as "operations"
password as "welcome"
3)Select the responsibilty as Application Developer, in the right side
click the Application option, in that select 'forms'.
4)Form will appear, in that
Form : INVKUSER (giver your .fmb name)
Application : Network Logistics
User - form name : INVKUSER1(remember this user form
name, this is the function name)
Description : "describe your application hint"
press the save icon
5) Then navigate to
Application -> function
A tab form will appear in which,
->Description:
Function : INVKUSER (giver your .fmb name)
User function name : INVKUSER1
Description : "your own description"
->Properties
Function : INVKUSER

->form

Type : choose the type as "form"


Name : INVKUSER1

press save button


6) switch to System Administrator responsibility
7) In that,

Security->Responsibility->Define

8) A form will open, then press F11


give the responsibility name as ' Custom Application'
press ctl+F11
copy that menu name of 'CustomMenu'
close it....
9)switch to Application Developer Responsibility, in that
-->menu
press F11
in the 'user menu name' option, you paste the copied menu
name(eg:CustomMenu).
press ctl+F11
Copy the submenu (eg: the menu name is 'Custom menu for RLL')

close it..
10)In Application Developer Responsibility
--->menu
press F11
paste that user menu name
press ctl+F11
select new in the main menu option, give the seq no as your wish
promt-->Custom menu for RLL
function-->INVUSER1
Description--> your wish..
save it..
11) Switch responsibility to CustomApp, in that select your function
and open it..
your form will run..

You might also like