How To Develop A New Form Fo
How To Develop A New Form Fo
How To Develop A New Form Fo
Search
Search Home
About
Subscribe
HOME
ADMIN
AOL
TECH STACK
MODULES
TRAINING DOCS
SUBSCRIBE TO RSS
you're reading...
FORMS
Open Forms Builder (For Oracle Apps 11i it is Forms 6i and for Oracle Apps r12 it is Forms
10g)
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 2 of 19
If the Forms Builder library path is set as the previous article, open the file TEMPLATE.fmb.
This file will reside in the same directory as the library files if you have downloaded all the
library files from the server.
Open the properties of the form. Double click on the form name to bring up the properties.
Change the Name and Title properties.
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 3 of 19
We shall first add the version, author name and date of the form by changing,
1 FND_STANDARD.FORM_INFO('$Revision: 115.12
2 '$Date: 2003/12/19 11:02 $', '$Author: appldev $');
to
1 FND_STANDARD.FORM_INFO('$Revision: 115.12
2 '$Date: 2012/08/13 11:02 $', '$Author: Ray $');
This is done so that we can get this information by using the strings <form name>.fmb
command in unix to view the form creation/modification information.
Change the following line,
1 app_window.set_window_position('BLOCKNAME', 'BLOCKNAME');
to
1 app_window.set_window_position('NEW_WINDOW', 'FIRST_WINDOW');
Create a new data block either manually adding or by using the wizard
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 4 of 19
You can use the wizard or create the canvas manually. The canvas we created is named
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 5 of 19
If you created the canvas using the wizard you might want to rename it.
Window properties
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 6 of 19
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 7 of 19
Double click on APP_CUSTOM package body. Locate the following section within the
package,
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 8 of 19
Add the name of the window you have created now to this section. It will look like the
following,
1 IF (wnd = 'NEW_WINDOW')
2 THEN
3 app_window.close_first_window;
4 ELSIF (wnd = '')
5 THEN
6 --defer relations
7 --close related windows
8 NULL;
9 ELSIF (wnd = '')
10 THEN
11 --defer relations
12 --close related windows
13 NULL;
14 END IF;
We shall change the First Navigation Block name for the form so that the first block it picks
up will be the data block we have created
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 9 of 19
As you can see the First Navigation Data Block is set to BLOCKNAME by default. Change
this to the data block we have created, i.e. XX_SUPPLIER_BLACKLIST.
Set the subclass information for all the form objects, like data block, canvas, window, items,
etc. It will be set like the following,
We shall set the subclass for the data block we have created,
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 10 of 19
Click on Subclass and the subclass popup window will open. Set the correct class name to it.
Click on OK.
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 11 of 19
Now notice the arrow on the block. It means that the subclass is set.
Now you can save the file and transfer it in binary mode to the server. The fmb file should
reside in $AU_TOP/forms/US directory.
Connect to the server and execute the following command to compile the form.
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 12 of 19
Appendix:
To display debug messages in forms
Use the API, FND_MESSAGE.DEBUG. In the following example we have used this API in a
PRE-UPDATE trigger.
When we update the data in the form we get a popup message like the following
Cheers!
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 13 of 19
Related articles
Configure Forms Builder 6i and 10g to develop Oracle Apps forms (oraclemaniac.com)
Rate this:
i
Rate This
Share this:
Email
Twitter 1
Facebook
LinkedIn
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 14 of 19
Like this:
Like Loading...
I love sleeping, watching Hollywood blockbusters, my Wii, road trips and watching my 4 year
old son grow up. In between I try to squeeze in some time to go to work.
View all posts by Abhijit Ray »
« How to get a newly added responsibility on the Oracle home page
How to add a Descriptive Flexfield (DFF) in a custom Oracle Apps form »
Discussion
1.
ABhijit,
Great article!
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 15 of 19
Regards,
Will DeLorie
Hi Will,
Thanks for your comment. You can put your detailed comments in the comments
section itself.
Regards,
Abhijit
2.
Great work Abhijit! keep it up!
Abhijit Ray
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 16 of 19
Traffic
Site Stats
Archives
March 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 17 of 19
May 2012
April 2012
March 2012
February 2012
January 2012
August 2011
Enter your email address to follow this blog and receive notifications of new posts by email.
Follow
Categories
Admin (31)
Trace (7)
AOL (50)
Alerts (4)
Attachment (7)
Audit (2)
FlexFields (5)
Functions (4)
Lookup (2)
Message (3)
Printer (1)
Profile (7)
Table (3)
Modules (75)
Approvals Management (1)
Assets (4)
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 18 of 19
Inventory (5)
iProcurement (3)
Payables (16)
Purchasing (17)
Receivables (8)
CUSTOM.pll (1)
Folders (3)
Integration (6)
OAF (2)
Personalization (20)
PL/SQL (29)
Interface (9)
Reports (1)
Unix (16)
Workflow (26)
Flags
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013
How to develop a new form for Oracle Applications | Oracle Maniacs' Notes Page 19 of 19
Blogroll
Dibyajyoti Koch
In Depth Apps
My Photos
My Training Documents
Pages
About us
My other sites
http://oraclemaniac.com/2012/08/15/how-to-develop-a-new-form-for-oracle-applications/ 4/5/2013