oracle r12 form 10g customization

Upload: rameshibm

Post on 05-Apr-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/31/2019 Oracle R12 Form 10G Customization

    1/8

    Oracle R12 Form 10G Customization:

    This article describe you in brief the steps of Form Customization and Registration withOracle Apps R12.

    1. In order to develop a form for Apps R12 first you have to install the Oracle Forms

    Developer Version 10.1.2.0.2 in your system.

    2. Copy the Template.fmb file from serve to your Local PC on any specific path liked:\Apps\

    a. Template.fmb would be under following path

    b. /apps/apps_st/appl/au/12.0.0/forms/us

    3. Coy the Required plls from Server to Local PC in same location d:\Apps\. All pllswould be on following path

    a. /apps/apps_st/appl/au/12.0.0/resource

    Required Plls

    APPCORE.pllAPPCORE2.pll

    APPDAYPK.pllAPPFLDR.pll

    CUSTOM.pll

    FNDSQF.pllFV.pll

    GHR.pll

    GLOBE.pll

    GMS.pllHRKPI.pll

    IGILUTIL.pllIGILUTIL2.pllJA.pll

    JE.pll

    JL.pllOPM.pll

    PQH_GEN.pll

    PSA.pll

    PSAC.pllPSB.pll

    VERT.pll

    VERT1.pllVERT2.pll

    VERT3.pll

    VERT4.pllVERT5.pl

    4. setting Forms Path in Registry

    Regedit Run Go to Start KEY_oracle_forms Oracle Software

    HKEY_LOCAL_MACHINE

  • 7/31/2019 Oracle R12 Form 10G Customization

    2/8

    Set or Append FORMS_PATH d:\apps (D:\apps is the location where all required plls

    are placed.

    Before Appending C:\oracle_forms\plsql After Appending C:\oracle_forms\plsql; D:\apps

    5. Now develop the Form using oracle Form Builder.

    a. Open the template.fmb file from d:\apps.

    b. Use Save-As to change the file name, Say Employees.fmbc. Change the module name now enter employee instead of Template.

    d. Create New Block using wizard. For now select scott.emp table and select new canvas

    during wizard.

    e. In Canvas property change Window to BlockName or you can create new window aswell and assign it to your canvas.

    6. Apply property classes to each item to ensure the same look and feel as the rest of Oracle

    Apps forms. For each Module, Canvas, Window etc., apply the Property Classes that ismost appropriate.

    Item Type Property Class

    Module MODULE

    Canvas CANVASWindow WINDOW

    Data Block BLOCK

    Text Item TEXT_ITEMDisplay Item DISPLAY_ITEM or EXT_ITEM_DISPLAY_ONLY

    Creation Date CREATION_OR_LAST_UPDATE_DATE

    Last Update Date CREATION_OR_LAST_UPDATE_DATE

    To apply the property class, click on the small button (on the right) on the Subclassinformation property of the property sheet of each item.

    In the Subclass Information Window choose the property class radio button. Then choose

    the correct property class for the current item.6. From the Module property Change the First Navigation Data Block property to EMP

    (Emp is the Block you created earlier )

    7. Open the APP_CUSTOM.CLOSE_WINDOW program Unit and modify the block nameas following.

    if (wnd = BLOCKNAME) then

    app_window.close_first_window;

    Note that BlOCKNAME is window name which we assign to the new canvas

  • 7/31/2019 Oracle R12 Form 10G Customization

    3/8

    1. Now Compile your form Ctrl+Shift+K . It should compile successfully.

    2. Now transfer your employee.fmb file to server in custom_dev. You can use Telnet,

    WinSCP , Putty etc be sure select binary while copying in the server.3. Set the environment variable using Telnet. Foe me it is . APPebs_ebsprod.env

    4. Use following command to compile form

    frmcmp_batch.sh module=.fmb userid=apps/

    output_file=.fmx module_type=form batch=nocompile_all=special

    Be sure there shouldnt be any error.

    1. Move the File to /apps/apps_st/appl/PO/12.0.0/forms/us. I am assuming to attach

    this form with Purchasing Module.

    Now register the Form in Oracle Apps

    1. Go to the Application Developer Responsibility.

    2. Navigate to ApplicationForm and define the form here. Write the Form namewhich you have saved at server side PO folder. Select application from LOV.

  • 7/31/2019 Oracle R12 Form 10G Customization

    4/8

    3- Define the Function for Form. Application Function. Give Unique Function and User

    Function Name

    http://www.oracleport.com/wp-content/uploads/2010/06/oracle-form-customization-2.jpg
  • 7/31/2019 Oracle R12 Form 10G Customization

    5/8

    4- Select the Form Tab and select the same Form from Form LOV which you defined in

    step- 2

    http://www.oracleport.com/wp-content/uploads/2010/06/oracle-form-customization-4.jpg
  • 7/31/2019 Oracle R12 Form 10G Customization

    6/8

    5- Now to assign the form to a Menu select Application Menu

    Here you have to decide, in which responsibility you want to put this form. For example Iwant to put this form under Purchasing Super User responsibility. Then press Find Button

    and select PO_SUPERUSER_GUI from LOV

    http://www.oracleport.com/wp-content/uploads/2010/06/oracle-form-customization-5.jpg
  • 7/31/2019 Oracle R12 Form 10G Customization

    7/8

    6- And Now If I want to place this form in Item submenu then select the submenu option

    INV_ITEMS and copy this Ctrl+C.

    7- Move the cursor to the header part and press F11 then paste in Menu and press

    Ctrl+F11. Select the detail part and create a New Row then write Prompt what ever youwant and then select the Function name form Function LOV which you have created in

    Step2.

    http://www.oracleport.com/wp-content/uploads/2010/06/oracle-form-customization-6.jpg
  • 7/31/2019 Oracle R12 Form 10G Customization

    8/8

    8- Now your form is ready to use. Navigate to Purchasing Super user responsibility. You

    can see custom form under Item sub menu.

    http://www.oracleport.com/wp-content/uploads/2010/06/oracle-form-customization-7.jpg