steps to create a concurrent program of type pl_sql stored procedure _ techmandate

Upload: muthu-saravanan

Post on 02-Jun-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/10/2019 Steps to Create a Concurrent Program of Type PL_SQL Stored Procedure _ Techmandate

    1/9

    11/4/2014 Steps to create a Concurrent Program of type PL/SQL Stored Procedure | Techmandate.com

    http://www.techmandate.com/steps-to-create-a-concurrent-program-of-type-plsql-stored-procedure/ 1/9

    Bet365

    Oracle Apps R12 Oracle Apps R11 Oracle Apps Help Procure to Pay Cycle (R12) Oracle Apps Technical

    Order to Cash (O2C) Cycle in Oracle Apps R12 Oracle Apps Functional Interview Q&A

    Home Concurrent Programs Steps to create a Concurrent Program of type PL/SQLStored Procedure

    Posted | 0 comments

    Steps to create a Concurrent Program oftype PL/SQL Stored ProcedureThe PL/SQL stored procedure is another popular type of the concurrent

    program in Oracle Applications extensions. The popularity of this type of the

    concurrent program for the concurrent processing is probably related to the

    fact that PL/SQL is still seen by most developers to be the most efficient way

    of manipulating data in Oracle databases; another important factor for

    Search for:

    Search

    Recent Posts

    PO Flip Process

    Flow of accountinginformation in Procure toPay Cycle

    MOAC Tutorial Step 5:

    http://www.techmandate.com/moac-tutorial-step-5-testing-if-the-moac-is-working-fine/http://www.techmandate.com/category/order-to-cash-o2c-cycle-in-oracle-apps-r12/http://www.techmandate.com/category/oracle-apps-functional-interview-qa/http://bet365.pokerbot-online.com/http://www.techmandate.com/moac-tutorial-step-5-testing-if-the-moac-is-working-fine/http://www.techmandate.com/flow-of-accounting-information-in-procure-to-pay-cycle/http://www.techmandate.com/po-flip-process/http://www.techmandate.com/category/concurrent-programs/http://www.techmandate.com/http://www.techmandate.com/category/oracle-apps-functional-interview-qa/http://www.techmandate.com/category/order-to-cash-o2c-cycle-in-oracle-apps-r12/http://www.techmandate.com/category/oracle-apps-technical/http://www.techmandate.com/category/procure-to-pay-cycle/http://www.techmandate.com/category/oracle-apps-help/http://www.techmandate.com/category/oracle-apps-r11/http://www.techmandate.com/category/oracle-apps-r12/http://www.techmandate.com/http://bet365.pokerbot-online.com/
  • 8/10/2019 Steps to Create a Concurrent Program of Type PL_SQL Stored Procedure _ Techmandate

    2/9

    11/4/2014 Steps to create a Concurrent Program of type PL/SQL Stored Procedure | Techmandate.com

    http://www.techmandate.com/steps-to-create-a-concurrent-program-of-type-plsql-stored-procedure/ 2/9

    using PL/SQL is that the Oracle Applications database comes with a huge

    library of PL/SQL programs and APIs that are freely available to developers

    for reuse in their own custom modules and extensions.

    The methodology of creating a PL/SQL concurrent program is similar to

    creating a SQL*Plus Script or any other concurrent program. First, you have

    to write the code in PL/SQL and save it into the Oracle Applications database

    in the APPS schema.

    Register it with AOL through the Concurrent Program Executable screenby

    specifying PL/SQL Stored Procedure in the Execution Methodfield and the

    name of the PL/SQL stored proceduredefined in the Execution File

    Namefield.

    We will illustrate how to do this with an example:

    Create a PL/SQL stored procedure

    create or replace procedure XX_PO_HEADERS_ALL_PROC (errbuf OUT

    varchar2, retcode OUT varchar2) AS

    cursor po_cursor is

    select

    PO_HEADER_ID POI,

    TYPE_LOOKUP_CODE TLC,

    VENDOR_ID VID,

    CURRENCY_CODE CC

    Testing if the MOAC isworking fine.

    MOAC Tutorial Step 4: Assignthe Security Profile to ProfileOption of Responsibility

    MOAC Tutorial Step 3: Runthe concurrent programSecurity List Maintenance

    Categories

    Concurrent Programs

    Inventory Q&A

    Oracle Apps FunctionalInterview Q&A

    Oracle Apps Help

    Oracle Apps R11

    Oracle Apps R12

    Oracle Apps Technical

    http://www.techmandate.com/moac-tutorial-step-5-testing-if-the-moac-is-working-fine/http://www.techmandate.com/category/oracle-apps-technical/http://www.techmandate.com/moac-tutorial-step-5-testing-if-the-moac-is-working-fine/http://www.techmandate.com/category/oracle-apps-technical/http://www.techmandate.com/category/oracle-apps-r12/http://www.techmandate.com/category/oracle-apps-r11/http://www.techmandate.com/category/oracle-apps-help/http://www.techmandate.com/category/oracle-apps-functional-interview-qa/http://www.techmandate.com/category/inventory-qa/http://www.techmandate.com/category/concurrent-programs/http://www.techmandate.com/moac-tutorial-step-3-run-the-concurrent-program-security-list-maintenance/http://www.techmandate.com/moac-tutorial-step-4-assign-the-security-profile-to-profile-option-of-responsibility/http://www.techmandate.com/moac-tutorial-step-5-testing-if-the-moac-is-working-fine/
  • 8/10/2019 Steps to Create a Concurrent Program of Type PL_SQL Stored Procedure _ Techmandate

    3/9

    11/4/2014 Steps to create a Concurrent Program of type PL/SQL Stored Procedure | Techmandate.com

    http://www.techmandate.com/steps-to-create-a-concurrent-program-of-type-plsql-stored-procedure/ 3/9

    From PO_HEADERS_ALL

    where rownum

  • 8/10/2019 Steps to Create a Concurrent Program of Type PL_SQL Stored Procedure _ Techmandate

    4/9

    11/4/2014 Steps to create a Concurrent Program of type PL/SQL Stored Procedure | Techmandate.com

    http://www.techmandate.com/steps-to-create-a-concurrent-program-of-type-plsql-stored-procedure/ 4/9

    retcode := 2;

    end;

    /

    Compile this procedure from SQL prompt.

    Note:No need to place this in any Application Folder as this is a stored

    procedure and is stored in Database.

    Note 2:This PL/SQL stored procedure has 2 parameters. These parameters

    are used for the interaction between the concurrent program and the pl/sql

    Program.

    System administrator>> concurrent>> program>> executable

    Enter the following details

    Concurrent Program Executable

    http://www.techmandate.com/wp-content/uploads/2013/07/plsql-stored-proc.jpg
  • 8/10/2019 Steps to Create a Concurrent Program of Type PL_SQL Stored Procedure _ Techmandate

    5/9

    11/4/2014 Steps to create a Concurrent Program of type PL/SQL Stored Procedure | Techmandate.com

    http://www.techmandate.com/steps-to-create-a-concurrent-program-of-type-plsql-stored-procedure/ 5/9

    Save your work

    Define the Concurrent Program

    Go to System Administrator>>Concurrent>>Program>>Define

    Defining a Concurrent Program

    Save your work

    Attach this concurrent program to a Request group

    http://www.techmandate.com/wp-content/uploads/2013/07/plsql-stored-proc1.jpg
  • 8/10/2019 Steps to Create a Concurrent Program of Type PL_SQL Stored Procedure _ Techmandate

    6/9

    11/4/2014 Steps to create a Concurrent Program of type PL/SQL Stored Procedure | Techmandate.com

    http://www.techmandate.com/steps-to-create-a-concurrent-program-of-type-plsql-stored-procedure/ 6/9

    System Administrator>> Security>> Responsibility>> Request.

    F11.

    Group Field: Type All Reports and Press ctrl +F11

    Ensure Application is: Payables

    Click on + icon on the toolbar to create a new request.

    Assigning Concurrent Program to a Request Group

    Save your work

    Run the request

    http://www.techmandate.com/wp-content/uploads/2013/07/plsql-stored-proc2.jpg
  • 8/10/2019 Steps to Create a Concurrent Program of Type PL_SQL Stored Procedure _ Techmandate

    7/9

    11/4/2014 Steps to create a Concurrent Program of type PL/SQL Stored Procedure | Techmandate.com

    http://www.techmandate.com/steps-to-create-a-concurrent-program-of-type-plsql-stored-procedure/ 7/9

    Switch the Responsibility to Payables.>>Toolbar>>View >> Requests.

    We get the find Requests screen.

    Submit a New request>>Single request>>Provide the Name of the

    program>>Submit.

    Submitting a Concurrent request

    http://www.techmandate.com/wp-content/uploads/2013/07/1.jpg
  • 8/10/2019 Steps to Create a Concurrent Program of Type PL_SQL Stored Procedure _ Techmandate

    8/9

    11/4/2014 Steps to create a Concurrent Program of type PL/SQL Stored Procedure | Techmandate.com

    http://www.techmandate.com/steps-to-create-a-concurrent-program-of-type-plsql-stored-procedure/ 8/9

    Post a Reply

    Your email address will not be published.

    Name

    Email

    Website

    Comment

    You may use these HTML tags and attributes:

    SUBMIT COMMENT

  • 8/10/2019 Steps to Create a Concurrent Program of Type PL_SQL Stored Procedure _ Techmandate

    9/9

    11/4/2014 Steps to create a Concurrent Program of type PL/SQL Stored Procedure | Techmandate.com

    http://www.techmandate.com/steps-to-create-a-concurrent-program-of-type-plsql-stored-procedure/ 9/9

    Home

    http://www.techmandate.com/