Está en la página 1de 53

Oracle Applications FORMS Development of form through wizard Down Load the Template.fm from elow path!D"#oracle#$%S#apps#apps&st#appl#au#'(.).

)#forms#*S+ and put it into des, top

Dou le clic, on Form uilder

Open it in the form uilder Delete the -.isted loc, name of the window.

/lic, on 0es The a ove left side into mar,!red color+ is used to delete the o 1ect. Similarl2 /reate new window 2 putting cursor on window and 2 selecting 3 4reen color 5utton.

Similarl2 delete loc, name of the canvas and create new canvas.

/lic, on 0es /lic, on 3 4reen color to create new canvas 2 putting canvas

Similarl2 delete e.isted loc, name and create new loc,

/lic, on O,6e.t6e.t

/lic, on Refresh.

/lic, on /onnect

7 Transfer all columns in to right side drop down list. /lic, on 6e.t /lic, on 6e.t /lic, on 6e.t /lic, on Finish. /lic, on 6e.t /lic, on 6e.t

Select displa2 items which are re8uired in 2our la2out. /lic, on 6e.t /lic, on 6e.t /lic, on 6e.t /lic, on Finish. 9ress F: For o 1ect 6avigator. .

Dou le clic, Template and give the name is as mentioned elow

Dou le clic, on 9R-;FORM

4ive the <indow 6ame and close that window onl2.

Dou le clic, on when;new;form;instance

4ive the form name which we changed as a ove mentioned.

/lic, on 9rograming *nits

Dou le clic, here and enter window name.

-nter the window name and close the window.

for /omplation /TRL3S=%FT3> For fm. generation ctrl3T? /op2 the fm. and transfer into elow path.

/onnect to the Application Developer Responsi ilit2

/lic, on O,. ApplicationForm

4ive the fm. 6ame ApplicationFunction

/lic, on 9roperties Ta .

-nter the t2pe is Form@ /lic, on Form ta .

-nter the form name and save. ApplicationMenu

/lic, On Save and O>. Attach Menu to the responsi ilit2 in s2stem administrator responsi ilit2

This is the menu we have to attch to the new responsi ilit2. Responnsi ilit2 will e attched to the user.

Select our responsi ilit2 and select our form from the menu.

Development of Master Details Form Open the Template.fm from A*&TO9 Resource Folder

4ive the T-M9LAT- 6ame as MAST-R&D-TA%LS as a ove mentioned. Delete the e.isting A5LO/>6AM-B 6ames of the <indow@canvas and Data loc,. /reate new window@canvas and dat loc,!Through wizard+. Thorugh wizard select li,e as elow

/lic, on O,/lic, on 6e.t/lic, on 6e.t -nter the Ta le 6ame is AA9&%6$O%/-S&ALLB Transfer the all columns as elow

/lic, on 6e.t /lic, on 6e.t /lic, on 6e.t Finish. /lic, on 6e.t /lic, on 6e.t Select the elow columns as it is mentioned elow.

6e.t6e.t6e.tFinish. 9ress F: for o 1ect 6avigator 9lace cursor on ADATA5LO/>B and clic, on 3!4reen color 5utton+.

/lic, on o,6e.t6e.t -nter the ta le is AA9&%6$O%/-&9A0M-6TS&ALLB and clic, on ArefreshB utton.

/lic, on 6e.t *n chec, the chec, o. calle Aauto 1oin data loc,B /lic, on "/reate relation shipB Select A ase on 1oin conditionB

/lic, on O,. Again /lic, on O,.

Select A%6$O%/-&%DB Cs As mentioned elow.

6e.t6e.tFinish. 6e.t6e.t6e.t Select the columns as mentioned elow.

Select 6e.t6e.t Select ATa ularB utton as mentioned elow.

6e.t

Finsish. 9ress F: for Ao 1ect 6avigatorB Select A9R-;FORMB Trigger and Dou le clic, on left side lue color dot utton.

4ive the <indow name instead of A5LO/> 6AM-B

/lose the child window. Dou le clic, on A<=-6;6-<;FORM;%6STA6/-B Trigger on left side lue color dot utton.

4ive the name as AMAST-R&D-TA%LSB instead of AT-M9LAT-B

/lose the child window. Select A9rograming *nitsB and Select A99S&/*STOM-B!9ac,age od2+

Dou le clic, on A99&/*STO-MD!9ac,age 5od2+ 4ive the window'): instead of E0our first windowF

/lose the child window. To /omplie ctrl3shift3,? To generate fm. ctrl3t? Trnasfer fm. in to server as elow mentioned path.

/onncet to the Applications and create form and attach to the function .attach function to the menu. Attach menu to the responsi ilit2 and attach responsi ilit2 to the user .Ofter that

select responsi ilit2 and select our form.This Registration process was done for previous all forms.

/alling One Form to another Form ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Develop the FORM using =G&9ART%-S Delete e.isting loc, names of the window@canvas and data loc, and create new canvas @new window and new data loc,.

/lic, on O,.;;F6e.tne.t-nter the ta le name

Next Next Next Finish Next Next

Next Next Next Next Finish. Press F3 for object Navigator Give window name in PRE-FORM trigger Give tem !ate name is "#EN-NE"-FORM-$N%&'N(E &riggger. Give "indow name name in rogramming )nits.

*o)b!e c!ic+ on (anvas from object navigator. *o)b!e c!ic+ on this

Select a utton from left side menu ar

/reate another form using =G&9ART%-S !Standard process+? Add utton

Dou le clic, on Apush utton')HB Right clic, on utton <rite the following code in <=-6;5*TTO6;9R-SS-D Trigger.

Develop the Form as in ta ular format using hz&part2&sites ta le . Similarl2 give window name s and template names in triggers

9ress F: for o 1ect 6avigator /reate parameter as elow mentioned

Dou le clic, on parameters 4ive the parameter name is p' and close the child window.

/lic, on Data loc,Select Triggrs Select 9R-;I*-R0

Dou le /lic, on that

Dou le clic, on when;new;form;instance trigger at form level

Registration of Ta le in Oracle Applications


1)Register the Table in INV/INV@APPS Schema SQL> create table inv_new_items(item varchar2(10), itemdesc varchar2(100), itemcost number(9), created_by number(8), creation_date date, last_updated_by number(8), last_update_date date, attribute_category varchar2(150), attribute1 varchar2(150), attribute2 varchar2(150),

attribute3 attribute4 attribute5

varchar2(150), varchar2(150), varchar2(150));

2)Give Grants to the Apps Schema

SQL> GRANT ALL ON INV_NEW_ITEMS TO APPS; 3)Connect to the APPS Schema SQL> CONN APPS/APPS@PROD Connected. 4)Create Synonym to access the table from PO Schema SQL> CREATE PUBLIC SYNONYM INV_NEW_ITEMS FOR WIP.WIP_NEW_ITEMS; Synonym created. 5)Register the Table as below. Begin AD_DD.REGISTER_TABLE('inv','inv_NEW_ITEMS','T',8,10,90); AD_DD.REGISTER_COLUMN('inv','inv_NEW_ITEMS','ITEM',1,'VARCHAR2',10,'N','Y'); AD_DD.REGISTER_COLUMN('inv','inv_NEW_ITEMS','ITEMDESC',2,'VARCHAR2',100,'N','Y' ); AD_DD.REGISTER_COLUMN('inv','inv_NEW_ITEMS','ITEMCOST',3,'NUMBER',9,'N','Y'); AD_DD.REGISTER_COLUMN('inv','inv_NEW_ITEMS','CREATED_BY',4,'NUMBER',8,'N','Y'); AD_DD.REGISTER_COLUMN('inv','inv_NEW_ITEMS','CREATION_DATE',5,'DATE',11,'N','Y' ); AD_DD.REGISTER_COLUMN('inv','inv_NEW_ITEMS','LAST_UPDATED_BY',6,'NUMBER',8,'N', 'Y'); AD_DD.REGISTER_COLUMN('inv','inv_NEW_ITEMS','LAST_UPDATE_DATE',7,'DATE',11,'N', 'Y'); AD_DD.REGISTER_COLUMN('inv','inv_NEW_ITEMS','ATTRIBUTE_CATEGORY',8,'VARCHAR2',1 50,'N','Y'); AD_DD.REGISTER_COLUMN('inv','inv_NEW_ITEMS','ATTRIBUTE1',9,'VARCHAR2',150,'N',' Y'); AD_DD.REGISTER_COLUMN('inv','inv_NEW_ITEMS','ATTRIBUTE2',10,'VARCHAR2',150,'N', 'Y');

AD_DD.REGISTER_COLUMN('inv','inv_NEW_ITEMS','ATTRIBUTE3',11,'VARCHAR2',150,'N', 'Y'); AD_DD.REGISTER_COLUMN('inv','inv_NEW_ITEMS','ATTRIBUTE4',12,'VARCHAR2',150,'N', 'Y'); AD_DD.REGISTER_COLUMN('inv','inv_NEW_ITEMS','ATTRIBUTE5',13,'VARCHAR2',150,'N', 'Y'); commit; end;

/reation of DFF ;;;;;;;;;;;;;;;;;; Develop the form using ta le is A%6$&6-<&%T-MSB %tem@itemdesc@itemcost. Delete e.isting window @canvas@data loc,. /reate new window@canvas and new data loc, through manuall2.

Dou le clic, on loc, .set the elow proerties for 8uer2 data source name@8uer2 data source columns.

/lose the child window. Dou le clic, on canvas

Design as elow mentioned

Set the column names for all T-JT&%T-M e.cept small T-JT&%T-M Dou le clic, on small te.t&item set the elow properties. data ase itemKno

close the child window.

4ive the loc, name and te.t item name as mentioned elow.

close the child window. press F: For o 1ect navigator select programming units place a cursor on programming units and select green color 3 utton and select pac,age specification /reate pac,age specification and pac,age od2 as elow mentioned.

/lic, on o,. Again select green color 3 utton and select pac,age od2.

<rite the folloing code in pac,age od2

DFF Te.t item name

Form loc, name which we have given the name orshould as it created. This same name give while creating DFF in application developer responsi ilti2

DFF 6AM- <=%/= %S /R-AT-D %6 A99L%/AT%O6 D-$-LO9-R R-S9; FD-S/R%9T%$-Register

/onnect to the application Developer Responsi ilit2 Fle. fieldsdescriptiveregister -nter into the fields as mentionened elow and save.

/lic, on columns utton @1ust to see our columns and closed /reate DFF From Fron -nd?

También podría gustarte