You are on page 1of 41

Custom Form Development &

Deployment in Oracle Applications

Prepared By

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Jegan.A

This Document will help to develop Custom Form with the Oracle Application Standards & Deploy in the
Oracle Application.

Prerequisites:

1. Forms Builder (6i or 9i or 10g) must be installed on Windows Platform & make sure Connection
String is entered in TNSNAMES.ora (e.g. C:\orant\NET80\ADMIN\ TNSNAMES.ora).

2. TEMPLATE.fmb, APPSTAND.fmb must be copied to FORMS_PATH (e.g. C:\orant\FORMS60)


from $AU_TOP/forms/US.

3. Copy APPCORE.pll, APPDAYPK.pll, FNDSQF.pll, CUSTOM.pll, GLOBE.pll, VERT.pll, JA.pll, JE.pll, and
JL.pll to FORMS_PATH (e.g. C:\orant\FORMS60) from $AU_TOP/resource.

4. Navigate to Form Builder.exe and Create Shortcut at Desktop.

Database Objects Required Developing this Form:

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Find the Attachment contains the Script to Create Database Objects & Sample Data’s to be Inserted.

5. Open Form Builder & Connect to the database using File à Connect.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


6. Open the TEMPLATE.fmb from the FORMS_PATH (e.g. C:\orant\FORMS60) using File à Open.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


7. Save As with the file name as per the requirement, using File à Save As.

Note: It is advisable to maintain certain standards in naming Objects, like Custom objects will
start with XX & no special character except “_”.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


8. Place the Cursor on the Module TEMPLATE .Right Click & open Property Palette.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


9. In the Property Palette, Change the Name Filed from TEMPLATE to the file name you saved (e.g.
XXGTS_EMPDTLS).

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


10. Go to Object Navigator using Window à 1. Object Navigator. In the Object Navigator Expand
the Triggers Node which is next to the Module XXGTS_EMPDTLS & go to the trigger PRE-FORM,
Place the Cursor on that, Right Click & select the PL/SQL Editor.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


11. Change the Date, Time & Author. Date & Time is Current Date & Time in the Format
YYYY/MM/DD HH24: MI (e.g. 2009/10/29 14:52).Exit from PL/SQL Editor by pressing Close
Button.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


12. As you opened the PRE-FORM PL/SQL Editor, open the WHEN-NEW-FORM-INSTANCE PL/SQL
Editor. In PL/SQL Editor, change” TEMPLATE.fmb” with the Current Form name i.e.
“XXGTS_EMPDTLS.fmb”. Change the Date & Time details as mentioned in the Last Step. Change
the Text “mzasowsk ship” with the Short Description of the Form i.e. XXGTS Sample Emp Form.
Exit from PL/SQL Editor by pressing Close Button.

13. Go to Object Navigator using Window à 1. Object Navigator. In the Object Navigator Expand
the Window Node, Place the Cursor on the Window “BLOCKNAME”, Right Click & open Property
Palette. In the Property Palette, Change the Name Filed from “BLOCKNAME” to the file name

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


you saved (e.g. XXGTS_EMPDTLS), Give a Title to the Window in the Title Field (e.g. XXGTS
Sample Emp Form).

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


14. Go to Object Navigator using Window à 1. Object Navigator. In the Object Navigator Expand
the Canvas Node, Place the Cursor on the Canvas “BLOCKNAME”, Right Click & open Property
Palette. In the Property Palette, Change the Name Filed from “BLOCKNAME” to the file name
you saved (e.g. XXGTS_EMPDTLS).

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


15. Go to Object Navigator using Window à 1. Object Navigator. In the Object Navigator Expand
the Triggers Node which is next to the Module XXGTS_EMPDTLS & go to the trigger PRE-FORM,
Place the Cursor on that, Right Click & select the PL/SQL Editor.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


16. As displayed below, In the Code Change ‘BLOCKNAME’ to Window Name i.e. XXGTS_EMPDTLS.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


17. Go to Object Navigator using Window à 1. Object Navigator. In the Object Navigator Expand
the Program Units, Place the Cursor on APP_CUSTOM (Package Body) & Right Click & select the
PL/SQL Editor.

18. In APP_CUSTOM (Package Body) PL/SQL Editor, in CLOSE_WINDOW Procedure, change the text
“<your first window>” with your Custom Window Name (e.g. XXGTS_EMPDTLS).

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


19. Go to Object Navigator using Window à 1. Object Navigator. In the Object Navigator Expand
the Data Blocks Node, Place the Cursor on the Block “BLOCKNAME”, in Left side Toolbar find the
button “Delete” , Click the Delete button in order to the Block “BLOCKNAME”. Do the same tp
delete the Block “DETAILBLOCK”.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


20. Go to Object Navigator using Window à 1. Object Navigator. In the Object Navigator Expand
the Canvases Node, Still further Expand your Custom Canvas (e.g. XXGTS_EMPDTLS).Delete all
the elements(e.g. TEXT42, FRAME01, FRAME02) Under “Graphics” Node, by clicking the “Delete”
button which is in Left side Toolbar.

21. In the Object Navigator, Place the cursor on Data Blocks Node, Right Click & select the Data
Block Wizard.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


22. Our Objective is to create a Multi Record Block for the Table EMP. Kindly follow the below
Screen Shots to achieve that.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Enter Table or View name, if you know the Full name of that, or Select the Table or View name by
Clicking Browse button.

Press the Refresh Button to Populate the Available Columns of the Table or View.

Move the Required columns from Available Columns List to Database Items.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


After Pressing Finish button, you can see a Block is created in Data Block Node in the Name EMP.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Enter the Prompts for each Column as you can understand.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Select the layout Style “Tabular”, because we need to create a multi record Block.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Enter a meaningful short description for the Frame in Frame Title, Enter the No. of records to be
displayed in the layout & Enable the Display Scrollbar.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


After Click Finish, Forms Builder will navigate to Grid Designer Layout of the Canvas “XXGTS_EMPDTLS”
& Block “EMP”.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


We are almost done; the last step is assigning appropriate Property Class to each item in this Canvas.
Below is some Property Classes normally used frequently.

1. TEXT_ITEM

2. TEXT_ITEM_DATE

3. TEXT_ITEM_DISPLAY_ONLY

4. FRAME_RECT

5. WINDOW

6. CANVAS

7. FRAME_RECT

8. BLOCK

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


9. BUTTON

10. DISPLAY_ITEM

23. Start with the Frame “Employee Details”, Place the Cursor on the Frame “Employee Details”,
Right Click & select the Property Palette. In the Property Palette, Change the Value of the
Property Update Layout from “Automatically” to “Manually”. Assign the Property Class
FRAME_RECT in the Property Subclass Information as showed in the Screen Shots.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


24. Place the Cursor on the Item “EMPNO”, Right Click & select the Property Palette. In the Property
Palette, Assign the Property Class TEXT_ITEM in the Property Subclass Information as showed in
the Screen Shots.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


25. Repeat the above step for all the items (ENAME, JOB, MGR, SAL, COMM, DEPTNO) except the
Item “HIREDATE”. For the Item “HIREDATE” Property Class need to be assign is
“TEXT_ITEM_DATE”.

26. Adjust the Canvas, as displayed below & Save the Changes using File à Save.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


27. Move the form file (e.g. XXGTS_EMPDTLS.fmb) to AU_TOP/forms/US & Compile it. Let assume
there is a Custom Top (GAA_TOP) for all the Customizations.

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


28. Now we will see, How to register our Custom form in Oracle Applications. Login into Oracle
Applications, go to Application Developer Responsibility.

Application Developer à Application à Form

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Application Developer à Application à Function

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Application Developer à Application à Menu

Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC


Prepared by

Jegan.A

This Document is a Property of Global Technology Services LLC

You might also like