Attaching Forms Reports SQL in Apps.doc

download Attaching Forms Reports SQL in Apps.doc

of 23

Transcript of Attaching Forms Reports SQL in Apps.doc

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    1/23

    Attaching Forms/Reports /Procedure/sqls in Oracle Apps.

    After creating a new form or a new report for Oracle Apps, the forms/reportsneeds to be registered in Oracle Apps.Attached the steps for the same.

    Move the fmb(for Forms) /rdf( For Reports) under appropriate directory indatabase server

    The appropriate directory to where the forms/reports needs to be movedis based on the Application for which the same is developed.

    For Inventory based reports/forms the rdf/fmb needs to be moved to$MIT_INV_TOP/reports/US or $MIT_INV_TOP/forms/US respectively.

    The SQL scripts needs to be moved to $MIT_INV_TOP/sql

    Attached some of the different applications in Oracle Apps and theircorresponding application top in database

    Application Custom TopAccounts Payable $MIT_AP_TOP

    General Ledger $MIT_GL_TOPInventory $MIT_INV_TOPBills of Material $MIT_BOM_TOPPurchasing $MIT_PO_TOPWork in Process $MIT_WIP_TOPOrder Entry $MIT_ONT_TOP

    The fmb/rdf needs to be ftped to database server in Binary Mode.

    Make the fmb/rdf executable bu running chmod command in unix.

    The forms needs to be compiled after moving to the Custom top as perthe following code.

    f60gen module=$MIT_INV_TOP/forms/US/forms.fmb userid=apps/output_file==$MIT_INV_TOP/forms/US/forms.fmx module_type=FORM

    Login to Oracle Apps in appropriate instance

    Go to responsibility System Administrator

    Defining Reports /SQL under Oracle Apps. Attached samplesteps.

    Responsibility: System Administrator

    Navigation Path: Concurrent>Program>Executable

    The Define Executable Form will contain five fields to enter; the fieldsand the values to enter are as follows:

    Required?

    QuickPick

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    2/23

    A short name used byOracle

    Save the work.

    A) Define Concurrent Programs

    Responsibility: System Administrator

    Navigation Path: Concurrent>Program>Define

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    3/23

    The concurrent program to be defined is MIT Open Sales Order Report

    The following should be entered:

    FieldName

    D

    Program Yes No MIT Open SalesOrder ReportLeave the programEnabled

    This is the program name.

    Short Name Yes No A short name used by Oracle

    Application Yes Yes The owning application forthe program. Use the quickpick.

    Description Yes No MIT Open SalesOrder Report

    Description of the program

    Executable:Name

    Yes Yes MITOPENORD This is the name given to theexecutable defined earlier.Use the quick pick to select it.

    Executable:Options

    No No Blank Not used for this definition

    Executable:Method

    Yes Yes SQL Plus This field should default whenthe executable name isselected

    Executable:Priority

    No No Blank Not used for this definition

    Request:Type

    No No Leave Blank Name of request type

    Request:MLS

    Function

    No No Leave Blank

    Request:Incremental

    No No Leave Blank

    Request:Use in SRS

    No No Check this box Identifies whether program issubmitted through StandardReport Submission

    Request:Run Alone

    No No Leave Unchecked

    Request:Enable Trace

    No No Leave Unchecked

    Request:AllowDisabled

    Values

    No No Leave Unchecked

    Request:Restart onSystemFailure

    No No Uncheck this box

    Request:NLSComplaint

    No No Uncheck this box

    Output: Yes Yes Text

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    4/23

    FormatOutput:Save

    No No Check this box Determines whether output issaved after execution.

    Output: Print No No Uncheck this box Determines whether output issent to the printer.

    Output:

    Columns

    No No Leave Blank

    Output:Rows

    No No Leave Blank

    Output:Style

    No No Leave Blank

    Output StyleRequired:

    No No Leave Blank

    Output:Printer

    No No Leave Blank

    Save the work.

    Press the Parameters button on the form.

    The following should be entered:

    FieldName

    D

    Program Yes No MIT Open SalesOrder Report

    This is the program name.

    Application Yes No The owning application forthe program. Use the quickpick.

    Seq Yes No 1 This the Sequence NumberParameter Yes No No Of Days This is the Parameter NameDescription No No No of days for which

    need to retrieve therecords

    This the description of

    Parameter

    Value Set Yes Yes 3 Digits Select the value set forparameter

    Description Yes No 3 digit positivenumber

    Description of the Parameter

    Required No No Checked Check BoxDisplay Size Yes No 3 Display size of the parameterConcatenate Yes No 25 Concatenated Description

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    5/23

    dDescriptionSize

    Size of parameter

    Descriptionsize

    Yes No 50 Description size of theparameter

    Prompt Yes No No Of Days Prompt of the parameter

    while report runLeave the other fields blank

    Save the Work

    Defining forms in Oracle Apps.

    Following are the steps:Navigate to Application Developer Responsibility from File->Switch to ResponsibilitySystem AdministratorNavigate to Application->Forms and press EnterFill the following information in this screenForm Application User Form Name Description

    MITARDWF MIT Custom Receivables MITARDWF Debrief Phantom Item

    Accounts

    Save and close the form.Navigate to Application->Function and press EnterFill the following informationDescription TabFunction User Form Name Description

    MITARDWF_FN MITARDWF_FN Debrief Phantom Item AccFunction

    Navigate to the Form Tab and enter the following informationFunction Form Application Parameters

    MITARDWF_FN MITARDWF MIT CustomReceivables

    Blank

    Switch the responsibility and navigate to System administrator ResponsibilityNavigate to Security->Responsibility->Define and find out the Menu attached to theresponsibility MIT US Receivables Manager

    The menu name is AR_NAVIGATE_GUI. Close the form.Switch the responsibility again and navigate to Application developer responsibility.Navigate to Application->Menu, press F11 and enter Menu name asAR_NAVIGATE_GUI and press Control F11Go to the detail section of the same screen by clicking on the Current RecordIndicatorAdd a new record and add the following information and save.Seq Prompt Submenu Function Descriptio56 Debrief Phantom Item Accounts Blank MITARDWF_FN Debrief Pha

    Item Accou

    The complete screen shots are as follows:Navigate to Application Developer ResponsibilityGo to Application->Register-

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    6/23

    Add a New Application as shown below and save the information

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    7/23

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    8/23

    Add a New Record with the following Information as shown below and save

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    9/23

    Go to the Main Menu and Navigate to Application -> Function

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    10/23

    Navigate to the Form Tab and enter the information as shown below

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    11/23

    Go to Description tab and enter the information as shown below and save

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    12/23

    Switch a Responsibility System Administrator

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    13/23

    Navigate to the Security=>Responsibility

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    14/23

    Click on Define

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    15/23

    Search for the responsibility MIT US Receivables Manager and copy the Item in the

    Menu field namely AR_NAVIGATE_GUI

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    16/23

    Switch the responsibility and go to Application Manager

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    17/23

    Navigate to the Application->Menu->Define

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    18/23

    Search for the Menu namely AR_NAVIGATE_GUI

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    19/23

    Now the Custom form namely Debrief Phantom Accounts is displayed

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    20/23

    The custom form is displayed on clicking the highlighted menu

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    21/23

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    22/23

  • 7/27/2019 Attaching Forms Reports SQL in Apps.doc

    23/23