oracle forms and reports steps initial

Upload: balaji-shinde

Post on 01-Mar-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/25/2019 Oracle Forms and Reports Steps Initial

    1/7

    some of the pre-requisite steps for form development and steps for

    creating/registering PL/SQL stored procedures.

    Application Name : Network Logistics

    Base Schema Name : cus(Username/Password : cus/cus@vis)

    Base Unix product folder : $CUS_TOP

    Responsibility : Custom Application

    Pre-requisites for Form development

    1Custom tables need to be created in custom schema of OracleERP database (cus/cus@vis) Refer & use the above Tns

    entries to connect to the database.

    2Grant need to be given for apps scheme for the new table

    3A synonym need to be created in apps schema

    (apps/apps@vis)

    4Use the synonym to create the form by connecting to apps

    schema

    Steps for creating PL/SQL procedures

    1Create the procedure in apps schema

    2Register the procedure in oracle apps using the following steps

    aLogin to Oracle applications front end

    bChoose Application Developer responsibility

    cClick on the Navigator Menu Concurrent Executable

    Define executable and savedClick on Concurrent Program Define Concurrent

    program

    eMove to Sysadmin responsibility. Choose Security

    Responsibility Define

  • 7/25/2019 Oracle Forms and Reports Steps Initial

    2/7

    fPress F11 and type the Responsibility name asCustom

    Application and press Ctrl F11

    gOnce queried copy/note down the Request Group name

    and the application name

    hClick onSecurity Responsibility RequestiQuery for the Request group (Press F11 , paste the

    Request Group name copied in the previous step for the

    field Request Group. Confirm the application name and

    Press Control F11)

    jIn the bottom portion of the Request screen Add the

    concurrent program defined in step 4.

    kNavigate to the responsibility Custom Application and

    submit the program.

    steps for developing the forms

    -------------------------------------------

    1)Copy the template.fmb & APPSTAND.fmb & necessary library files

    from the unix server and make one folder in mycomputer, name it

    as 'resources' and paste those files.

    2)Goto start - run - regedit - one window is open, in that click

    software - oracle - home one.

    In the right side window, double click "form60".

    3)Copy the path and go to that specified path.

    4)In that, copy all the library file downloaded from the unix server,except those template.fmb & APPSTAND.fmb.

    5)Open the form builder and open that templete.fmb in the resource

    folder.

  • 7/25/2019 Oracle Forms and Reports Steps Initial

    3/7

    6)Rename the templete.fmb into any name and save it.

    7)Remove the existing MASTER and DETAIL(BLOCKNAME and

    DETAILBLOCKS) blocks from the form.

    8) Also remove the corresponding canvas and windows. don't

    remove any other objects.

    9)Create your own block, canvas, windows and other related objects

    depending upon your application.

    10)Right click the corresponding (block,windows,canvas) and set the

    property class in the subclass asData block - block

    item - text item

    canvas - canvas

    window - window

    11) Go to the property palatte of the canvas and choose the

    corresponding window name for window option

    12) In the object navigator

    program units,choose the below

    -->APP_CUSTOM (package body)

    In the coding,

    if (wnd = '') then

    app_window.close_first_window;

    Instead of , you give your windowname.

    13) In the pre form trigger coding,

    app_window.set_window_position('BLOCKNAME',

    'FIRST_WINDOW');

  • 7/25/2019 Oracle Forms and Reports Steps Initial

    4/7

    Instead of 'first window', you give your window name.

    14) Develope your application.

    15)After creating the form(.fmb), just complile the form.. dont run

    the form..

    Steps for creating ".fmx"

    -------------------------------

    1) Open the unix server with the ip address as 10.203.123.154 &user name as apps11i and password as apps11i

    2) Copy the path AU_TOP/forms/US and paste in the remote side of

    FTP.byusing the FTP(New file transfer window) in the menu option.

    3) Upload the .fmb file from your local system to the remote

    location .

    4) Now close the FTP and get into the AU_TOP/forms/US and check

    the presence of .fmb by using ls -l option.

    5) Now compile the .fmb file using following code

    f60gen module=filename.fmb userid=apps/apps

    module_type=FORM batch=NO

    now .fmx file will be created

    6) Then move this .fmx file to the corresponding responsibility top

    eg. mv filename.fmx $CUS_TOP/forms/US

    ftp://ftp.by/ftp://ftp.by/
  • 7/25/2019 Oracle Forms and Reports Steps Initial

    5/7

    E-Business Suit

    ----------------

    1)Now open the E-business suit environment

    2)Select apps logon links -> Ebusiness home page

    user name as "operations"

    password as "welcome"

    3)Select the responsibilty as Application Developer, in the right side

    click the Application option, in that select 'forms'.

    4)Form will appear, in that

    Form : INVKUSER (giver your .fmb name)

    Application : Network Logistics

    User - form name : INVKUSER1(remember this user form

    name, this is the function name)

    Description : "describe your application hint"

    press the save icon

    5) Then navigate to

    Application -> function

    A tab form will appear in which,

    ->Description: Function : INVKUSER (giver your .fmb name)

    User function name : INVKUSER1

    Description : "your own description"

    ->Properties

    Function : INVKUSER

  • 7/25/2019 Oracle Forms and Reports Steps Initial

    6/7

    Type : choose the type as "form"

    ->form

    Name : INVKUSER1

    press save button

    6) switch to System Administrator responsibility

    7) In that,

    Security->Responsibility->Define

    8) A form will open, then press F11

    give the responsibility name as 'Custom Application'

    press ctl+F11

    copy that menu name of 'CustomMenu'

    close it....

    9)switch to Application Developer Responsibility, in that

    -->menu

    press F11

    in the 'user menu name' option, you paste the copied menu

    name(eg:CustomMenu).

    press ctl+F11

    Copy the submenu (eg: the menu name is 'Custom menu for RLL')

  • 7/25/2019 Oracle Forms and Reports Steps Initial

    7/7

    close it..

    10)In Application Developer Responsibility

    --->menu

    press F11

    paste that user menu name

    press ctl+F11

    select new in the main menu option, give the seq no as your wish

    promt-->Custom menu for RLL

    function-->INVUSER1

    Description--> your wish..

    save it..

    11) Switch responsibility to CustomApp, in that select your functionand open it..

    your form will run..