Anda di halaman 1dari 50

Oracle Applications FORMS

Development of form through wizard


Down Load the Template.fmb from below
path(D:\oracle\VIS\apps\apps_st\appl\au\12.0.0\forms\US) and
put it into desk top

Double click on Form builder

Open it in the form builder


Delete the Existed block name of the window.

Click on Yes
The above left side into mark(red color) is used to delete the
object.
Similarly Create new window by putting cursor on window
and by selecting + Green color Button.

Similarly delete block name of the canvas and create new


canvas.

Click on Yes
Click on + Green color to create new canvas by putting canvas

Similarly delete existed block name and create new block

Click on OkNextNext

Click on Refresh.

Click on Connect

]
Transfer all columns in to right side drop down list.
Click on Next
Click on Next
Click on Next
Click on Finish.
Click on Next
Click on Next

Select display items which are required in your layout.


Click on Next
Click on Next
Click on Next
Click on Finish.
Press F3 For object Navigator.
.

Double click Template and give the name is as mentioned below

Double click on PRE-FORM

Give the Window Name and close that window only.

Double click on when-new-form-instance

Give the form name which we changed as above mentioned.

Click on Programing Units

Double click here and enter


window name.

Enter the window name and close the window.

for Complation CTRL+SHIFT+K


For fmx generation ctrl+T;
Copy the fmx and transfer into below path.

Connect to the Application Developer Responsibility

Click on Ok.
ApplicationForm

Give the fmx Name


ApplicationFunction

Click on Properties Tab.

Enter the type is Form,


Click on Form tab.

Enter the form name and save.


ApplicationMenu

Click On Save and OK.


Attach Menu to the responsibility in system administrator
responsibility

This is the menu we have


to attch to the new responsibility.
Responnsibility will be attched to the user.

Select our responsibility and select our form from the menu.

Development of Master Details Form


Open the Template.fmb from AU_TOP Resource Folder

Give the TEMPLATE Name as MASTER_DETAILS as above


mentioned.
Delete the existing BLOCKNAME Names of the
Window,canvas and Datablock.
Create new window,canvas and datblock(Through wizard).
Thorugh wizard select like as below

Click on OkClick on NextClick on Next


Enter the Table Name is AP_INVOICES_ALL
Transfer the all columns as below

Click on Next
Click on Next
Click on Next
Finish.
Click on Next
Click on Next
Select the below columns as it is mentioned below.

NextNextNextFinish.
Press F3 for object Navigator
Place cursor on DATABLOCK and click on +(Green color
Button).

Click on okNextNext
Enter the table is AP_INVOICE_PAYMENTS_ALL and
click on refresh button.

Click on Next
Un check the check box calle auto join datablock
Click on :Create relation ship
Select base on join condition

Click on Ok.
Again Click on Ok.

Select INVOICE_ID s As mentioned below.

NextNextFinish.
NextNextNext
Select the columns as mentioned below.

Select NextNext
Select Tabular button as mentioned below.

Next

Finsish.
Press F3 for object Navigator
Select PRE-FORM Trigger and Double click on left side
blue color dot button.

Give the Window name instead of BLOCK NAME

Close the child window.


Double click on WHEN-NEW-FORM-INSTANCE Trigger
on left side blue color dot button.

Give the name as MASTER_DETAILS instead of


TEMPLATE

Close the child window.


Select Programing Units and Select
APPS_CUSTOME(Package body)

Double click on APP_CUSTOEM*(Package Body)


Give the window103 instead of <Your first window>

Close the child window.


To Complie ctrl+shift+k;
To generate fmx ctrl+t;
Trnasfer fmx in to server as below mentioned path.

Conncet to the Applications and create form and attach to the


function .attach function to the menu. Attach menu to the
responsibility and attach responsibility to the user .Ofter that

select responsibility and select our form.This Registration


process was done for previous all forms.

Calling One Form to another Form


--------------------------------------------
Develop the FORM using HZ_PARTIES
Delete existing block names of the window,canvas and
datablock and create new canvas ,new window and new
datablock.

Click on Ok.-->NextnextEnter the table name

Next Next NextFinish NextNext

Next Next Next NextFinish.


Press F3 for object Navigator
Give window name in PRE-FORM trigger
Give template name is WHEN-NEW-FORM-INSTANCE
Triggger.
Give Window name name in programming units.

Double click on Canvas from object navigator.


Double click on this

Select a button from left side menu bar

Put it into the canvas

Double click on the and give the lagle is parties

Right click select smart triggerWHEN-NEW-BUTTON-PRESSED


Trigger

Develop the Form as in tabular format using


hz_party_sites table . Similarly give window name s and template
names in triggers

Press F3 for object Navigator


Create parameter as below mentioned

Double click on parameters


Give the parameter name is p1 and close the child
window.

Click on Data blockSelect Triggrs Select PRE-QUERY

Creation of DFF
------------------
Develop the form using table is INV_NEW_ITEMS
Item,itemdesc,itemcost.
Delete existing window ,canvas,datablock.
Create new window,canvas and new datablock through manually.
Double click on block .set the below proerties for query data
source name,query data source columns.

Close the child window.


Double click on canvas

Design as below mentioned

Set the column names for all TEXT_ITEM except small


TEXT_ITEM
Double click on small text_item
set the below properties.
data base item=no

close the child window.


Give the block name and text item name as mentioned below.

close the child window.


press F3 For object navigator
select programming units
place a cursor on programming units and select green color +
button and select package specification
Create package specification and package body as below
mentioned.

Click on ok.
Again select green color + button and select package body.

Write the folloing code in package body

Form block name which


we have given the name
or as it created.

DFF Text item name

This same name should give while creating


DFF in application developer responsibiltiy

Connect to the application Developer Responsibility

Flex fieldsdescriptiveregister
Enter into the fields as mentionened below and save.

Click on columns button ,just to see our columns and closed

Anda mungkin juga menyukai