How can I get a value from a function from pl/sql by OADBTransaction

Hi all
Hope you will be fine.
as we know, we can get a sequence by this code value:
Super.Create (AttributeList);
Transaction OADBTransaction = getOADBTransaction();

Vendor ID is obtained from the table sequence
Number supplierId = transaction.getSequenceValue ("FWK_TBX_SUPPLIERS_S");

My question is how can I get a value in a variable to a pl/sql function:
the function is defined as follows:
******
create or replace function getNextTrans return varchar2
is
Team varchar2 (20);
Start
SELECT "CASH". TO_CHAR (SYSDATE, 'DDMMYYYY') | GP_CASH_TRX_SEQ. NEXTVAL FROM DUAL;
return team;
end;
/

Hey Dina,

Reference http://www.oraclearea51.com/oracle-technical-articles/oa-framework/229-calling-database-procedures-and-function-from-oaf.html

Kind regards
GYAN

Tags: Oracle Applications

Similar Questions

  • How can I get the value of the element checked a box to tick LOV?

    Hi all

    I need to insert rows into a table when a checkbox element is checked.
    The checkbox element is a LOV in a form.
    -----------------------
    Select the DESCRIPCIÓN display_value, ID_DOCUMENTO return_value
    of DOCUMENT
    order by 1
    ------------------------------

    Source
    ------------------------------
    DECLARE
    CURSOR C_REG_DOC IS SELECT ID_DOCUMENTO FROM REGISTRO_DOCUMENTO WHERE ID_REGISTRO =: P6_ID_REGISTRO;
    v_id_documento documento.id_documento%TYPE;
    v_results VARCHAR2 (50);
    Boolean v_first_loop: = true;
    BEGIN
    for this loop C_REG_DOC
    If v_first_loop then
    v_results: = it.ID_DOCUMENTO;
    v_first_loop: = false;
    on the other
    v_results: = v_results |': ' | it.ID_DOCUMENTO;
    end if;
    end loop;
    Return v_results;
    END;
    --------------------------

    I need to create a process to insert rows in a relational table, but I do not know how...
    ------------------
    FOR *? *
    LOOP
    INSERT INTO registro_documento (id_reg_documento, id_registro, id_documento)
    VALUES(null,:P4_ID_REGISTRO,???);
    END LOOP;
    ---------------

    How can I get the value of the active element (id_documento) to insert it?

    Thank you!

    Alex

    Hello:

    You can use the apex_util.string_to_table function to retrieve the values of the LOV as shown in the example

    declare
    arr wwv_flow_global.vc_arr2;
    begin
    arr:= apex_util.string_to_table(:P_CHECKBOX_LOV_ITEM)
    for x in arr.first..arr.last loop
    // insert statement
    iNSERT INTO registro_documento( arr(i) ,.........id_reg_documento,id_registro,id_documento)
    end loop;
    end;
    

    CITY

  • How can I get the message from thunderbird to stop coming when I opened my email?

    How can I get the message from thunderbird to stop coming when I opened my email?

    Press the alt key to make the call of menu bar
    Select Tools-Options-general
    Disabled the Start Page

  • How can I get my pictures from my Bloggie TS10 on a flash drive or a memory stick?

    How can I get my pictures from my Bloggie TS10 on a flash drive or a memory stick

  • How can I get my pc from freezing while configuring updates: stage 3 of 3-0% complete

    • How can I get my pc from freezing while configuring updates: stage 3 of 3-0% complete

    Hello

    • That you update you are installing?

    You can use the following methods that can help you solve your problem:

    The update is not installed successfully, you receive a message, and the computer restarts when you try to install an update in Windows Vista and Windows 7

    http://support.Microsoft.com/kb/949358

    I suggest you follow the method 1,2 in link above.

    Note: The article applies well to an another update, it should help in this case also.

  • How can I get my email from windows live to automatically remove once downloaded in outlook

    How can I get my email from windows live to automatically remove once downloaded in outlook

    http://www.Microsoft.com/communities/newsgroups/en-us/default.aspx?DG=Microsoft.public.Windows.live.mail.desktop

    Discussions in Windows Live Mail Desktop

    They will help you in the above discussion group.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Or try here:

    Outlook:

     

    http://answers.Microsoft.com/en-us/Office/default.aspx

    Office at the above link forums

    http://answers.Microsoft.com/en-us/Office/ee861097.aspx

    Outlook Help Forums at the link above.

    They will help you with your Outlook questions when repost you in the Office Forums above.

    See you soon.

    Mick Murphy - Microsoft partner

  • I have just reactivated Dreamweaver on a new computer.  How can I get the files FROM my website ON my computer so I can edit/update using Dreamweaver.

    I have just reactivated Dreamweaver on a new computer.  How can I get the files FROM my website ON my computer so I can edit/update using Dreamweaver?

    If your old machine still works, export your definition of original site to a portable player, copy in your new machine and then import the site definition to the new machine. The definition file will have the extension .ste

    Create an empty folder on your new machine.

    Define a 'new' web site on your new machine to point to the new local root folder.

    Log your server and download all of the subfolders and files in the folder root from the server to the new local root folder.

  • I have another laptop that I use from time to time, how can I get my photoshop from adobe on it?

    I have another laptop that I use from time to time, how can I get my photoshop from adobe on it?

    Cloud license allows 2 activations http://www.adobe.com/legal/licenses-terms.html

    -Install on a 2nd computer http://forums.adobe.com/thread/1452292?tstart=0

    -Windows or Mac has no importance... 2 on the same operating system or 1 on each

  • ICF custom connector; How can I get the values of the parameters of the recon calendar task?

    I'm trying to create a custom connector icf with progressive reconciliation. My recon schedule a task, I have the settings "attribute of Date additional Recon ' and 'last token" that should be used for gradual reconciliation.

    How can I get the values of the parameters ' attribute of Date additional Recon ' and 'last token "?

    ICF should handle this for you.

    The value of "attribute of Date additional Recon ' must be filled in the OperationOption (e.g. executeQuery() and PROCESSES of FilterTranslator has this as a method parameter).

    For the "last counter", you need to implement ' createGreaterThanExpression (GreaterThanFilter, filter, is not Boolean) ' in your filter translator class. You can get the attribute of the filter object. Look for a description here: http://docs.oracle.com/cd/E37472_01/apirefs.1112/e28159/oracle/iam/connectors/icfcommon/recon/SearchReconTask.html

  • How can I get the value of the element with the namespace?

    I tried to get an element of value in xml a namespace, but I can't.
    I removed the namespace, I get a value of the element.

    How can I get a value of the element with the namespace?

    -1. Error ----------- xml ------------------------------
    <? XML version = "1.0" encoding = "UTF-8"? >

    * < TaxInvoice xmlns = "" urn: kr: or: kec:standard:Tax:ReusableAggregateBusinessInformation:1:0 "xmlns: xsi ="http://www.w3.org/2001/XMLSchema-instance"xsi: schemaLocation =" urn: kr: or: kec:standard:Tax:ReusableAggregateBusinessInformation:1:0 http://www.kec.or.kr/standard/Tax/TaxInvoiceSchemaModule_1.0.xsd "> *"
    < ExchangedDocument >
    < IssueDateTime > 20110810133213 < / IssueDateTime >
    < ReferencedDocument >
    < ID > 318701 - 0002 / < ID >
    < / ReferencedDocument >
    < / ExchangedDocument >
    < TaxInvoiceDocument >
    < IssueID > 201106294100 < / IssueID >
    < > 0101 TypeCode < / TypeCode >
    < IssueDateTime > 20110810 < / IssueDateTime >
    < PurposeCode > 02 < / PurposeCode >
    < / TaxInvoiceDocument >
    < TaxInvoiceTradeLineItem >
    < SequenceNumeric > 1 < / SequenceNumeric >
    < > 200000000 InvoiceAmount < / InvoiceAmount >
    < TotalTax >
    < CalculatedAmount > 20000000 < / CalculatedAmount >
    < / TotalTax >
    < / TaxInvoiceTradeLineItem >
    < / TaxInvoice >


    -2. success - xml - remove namespace.
    <? XML version = "1.0" encoding = "UTF-8"? >
    < TaxInvoice >
    < ExchangedDocument >
    < IssueDateTime > 20110810133213 < / IssueDateTime >
    < ReferencedDocument >
    < ID > 318701 - 0002 / < ID >
    < / ReferencedDocument >
    < / ExchangedDocument >
    < TaxInvoiceDocument >
    < IssueID > 201106294100 < / IssueID >
    < > 0101 TypeCode < / TypeCode >
    < IssueDateTime > 20110810 < / IssueDateTime >
    < PurposeCode > 02 < / PurposeCode >
    < / TaxInvoiceDocument >
    < TaxInvoiceTradeLineItem >
    < SequenceNumeric > 1 < / SequenceNumeric >
    < > 200000000 InvoiceAmount < / InvoiceAmount >
    < TotalTax >
    < CalculatedAmount > 20000000 < / CalculatedAmount >
    < / TotalTax >
    < / TaxInvoiceTradeLineItem >
    < / TaxInvoice >




    -program-
    procedure insert_table
    (
    l_clob clob,
    OK, Boolean.
    Error out varchar2
    )
    is
    l_parser dbms_xmlparser. Analyzer;
    xmlDoc xmldom.domdocument;

    l_doc dbms_xmldom. DOMDocument;
    l_nl dbms_xmldom. DOMNodeList;
    l_n dbms_xmldom. DOMNode;
    l_root DBMS_XMLDOM.domelement;
    l_node DBMS_XMLDOM.domnode;
    l_node2 DBMS_XMLDOM.domnode;
    l_text DBMS_XMLDOM. DOMTEXT;

    buf VARCHAR2 (30000);

    XMLParseError exception;

    TYPE tab_type is Table of xml_upload % ROWTYPE;
    t_tab tab_type: = tab_type();
    pragma exception_init (xmlparseerror,-20100);
    l_node_name varchar2 (300);

    Start
    l_parser: = dbms_xmlparser.newParser;
    l_doc: = DBMS_XMLDOM.newdomdocument;
    dbms_xmlparser.parseClob (l_parser, l_clob);
    l_doc: = dbms_xmlparser.getDocument (l_parser);
    l_n: = dbms_xmldom.makeNode (l_doc);

    l_nl: = dbms_xslprocessor.selectNodes (l_n, ' / TaxInvoice/TaxInvoiceDocument ');

    FOR cur_tax in 0.dbms_xmldom.getLength (l_nl) - 1 LOOP
    l_n: = dbms_xmldom.item (l_nl, cur_tax);

    t_tab.extend;

    t_tab (t_tab.last) .ed_id: = '5000000';

    dbms_xslprocessor.valueOf (l_n, ' IssueID / text () ', t_tab (t_tab.last) .tid_issue_id);
    dbms_xslprocessor.valueOf (l_n, ' TypeCode / text () ', t_tab (t_tab.last) .tid_type_code);

    END LOOP;

    FORALL i IN t_tab.first... t_tab. Last
    INSERT INTO xml_upload VALUES t_tab (i);

    COMMIT;

    dbms_xmldom.freeDocument (l_doc);
    correct: = true;

    exception
    When xmlparseerror then
    -xmlparser.freeparser (l_parser);
    correct: = false;
    error: = sqlerrm;

    end insert_table;
    l_nl := dbms_xslprocessor.selectNodes(l_n, '/TaxInvoice/TaxInvoiceDocument');
    

    try to change as follows

    l_nl := dbms_xslprocessor.selectnodes(l_n,'/TaxInvoice/TaxInvoiceDocument','xmlns="urn:kr:or:kec:standard:Tax:ReusableAggregateBusinessInformation:1:0"');
    

    Published by: Alexandr on August 17, 2011 12:36 AM

  • How can I get my photos from iphoto in PS

    How can I get my photos from iphoto in PS

    Do you mean iphoto for PS 3 Lr or PS CS5?

    For LR 3, see the link below.

    http://www.YouTube.com/watch?v=LH0el2wFqDI

    See article below for PS CS5, and check if that helps.

    http://www.photoimagesystems.com/allmug/downloads/files/iPhoto%20To%20Photoshop.PDF

  • How can I get the date and time function to appear as a tile

    How can I get the date and time function to appear as a tile

    How can I get the date and time function to appear as a tile

    WIN8 are delivered with this tile/app.  The only way to display the time is to launch the charm bar (Win - key + C) or mouse over to the right up/down.  That said go to the Windows store... There are several free applications that display the time / date as a live tile.  Good luck.

  • How can I get sent emails from the old to the new email address?

    I'm moving and will have a new email address (internet society)

    How can I get my emails FORWARDED from my old to my new e-mail address e-mail address?

    You ask what their transfer of your former e-mail provider options. Once you stop the e-mail with your former provider service, you usually don't have that email address more unless you work something with them.
    Thunderbird is an email client software that runs on your computer. It has nothing to do with staging by email around the Internet. Especially e-mail addresses that no longer exist.

  • When I type in the address bar, yahoo search results appear. This just started happening, he showed the results of google search before. How can I get the results from google instead of yahoo?

    If I type "NBA" in the address bar, I get results from yahoo. I don't want the results of yahoo, I want Google results. This just started today. How can I get Google search results to show after typing in the address bar?

    1. Type of topic: config in the address bar and press on enter
    2. Accept the warning message that appears, you will be taken to a list of preferences
    3. Locate the preference keyword. URL, right-click on it and choose reset

    This will restore it to Google.

  • How can I get my photos from Windows Gallery to view and print in color, not just black and white?

    How can I get my Windows Gallery pictures to view and print in chiputa, not just black and white?

    Hi Petergrossman,

    Welcome to the Microsoft Vista answers Forum!

    I need few details about the question you posted.

    * What are the name and model of the printer?
    * You receive driver updates for your printer through Windows Update?
    * The printer prints the other applications in color?

    In the meantime, try the following steps.
     
    1. try to print the default pictures in Windows Photo Gallery and check if you get a printing color.
     
    2. try to uninstall the printer driver and reinstall it.

    Also check the setting of the color of the printer. Go to printer settings and make sure that you have selected the option to color.

    To print a picture, follow these steps: -.

    If you have a printer connected to your computer, you can make prints of digital photos. The quality of your photos depends on several factors, including the type of printer paper, ink and the settings of the printer of your choice. You can control many of these settings when you print the picture, but keep in mind that the overall quality and resolution of the digital picture you are printing will affect your final result.

    1. open Windows Photo Gallery by clicking on the Start button, all programs, and then clicking Windows Photo Gallery.

    2. click on the image you want to print.

    To select more than one picture, hold down the CTRL key while you click the pictures that you want to select.

    3. on the toolbar, click on print and then click on print.

    4. in the print pictures dialog box, select the printer, paper size, qualite quality print, style print and number of copies to print.

    5. When you have finished choosing how you want to print your photos, click Print to start printing.

    Choose printing options follow these steps: -.

    Before you send a print job to the printer, decide if you want to print all or part of the document or Web page. You may, for example, annotate the pages to print or select a part of a document before sending it to the printer.

    Here are common printing tasks to consider:

    1. to print that a hollering part of a document or a file, make a note of the page numbers for each page you want to print.
    2. If you want to print part of a page or a Web page only, select the content to print before printing.
    3. If you want to print a specific page, click anywhere on the page before choosing the print options for the document.
    4. the page that you clicked becomes the current page and you can print it by selecting this option in the print dialog box.

    After deciding what to print, choose how the print copies should look, and then select a printer.
    Use print preview

    To see what the print will look like before you print it, open the document in a program that offers a preview before printing. Print preview is generally located in the file menu of a program. You should be able to get an overview of each page of the document. In some programs, you can choose print in preview mode options and then print directly from the preview. In other programs, you will need to close the preview, change the document or your printer settings and print.

    If you preview or print a document, and it does not appear the way that you intended, you will need to change the document or change your print options. For example, if one part of your document fits on the printed page, you may need to reduce the font size, reduce the margins, or change the page layout and then try to print again.

    Check out these links that talk about how to print a picture using Windows Photo Gallery:

    http://Windows.Microsoft.com/en-us/Windows-Vista/print-a-picture

    http://Windows.Microsoft.com/en-us/Windows-Vista/choosing-print-options#section_2

    Thank you, and in what concerns:
    Shalini Surana - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.

Maybe you are looking for