Calls to procedures of database with IN/OUT params in the OFA Page

Hello

I have the following requirement, can anyone suggest as the best approach please.

I have a contract with header page and the rows that will be stored in the custom tables.

User needs features to copy, which will provide a copy of the current record with the new record (similar to copy the functionality of the simultaneous program).


As soon as the user presses the copy function, it must call my backend pricedure copy_contract (p_old_contract_no in NUM
p_new_contract_no OUT number
p_ret_code OUT number
p_err_msg OUT VARCHAR
)

Once it returns RETCODE contains 0, and p_err_msg is null, then I need open another page that displays p_new_contract_no.


If one has done similar req. Please share the code.

Thank you
Mahesh

Mahesh

You can use Oracle callable statement to call the procedure of the OFA database. Please find the link to describe which

http://oracleanil.blogspot.com/2009/04/itemqueryvoxml.html

Thank you
AJ

Tags: Oracle Applications

Similar Questions

  • Calling a procedure of package with only Date setting

    Hi all

    Please, help me to call a procedure of package with Date from the sql command prompt parameter.


    Arif

    Check the procedure below.

    SQL> ed
    Wrote file afiedt.buf
    
      1  create or replace procedure procdate (p_date_in date)
      2  is
      3  p_date_out date;
      4  begin
      5  p_date_out := add_months(p_date_in,6);
      6  dbms_output.put_line(p_date_out);
      7* end;
    SQL> /
    
    Procedure created.
    
    SQL> exec procdate('01-JAN-2010');
    01-JUL-10
    
    PL/SQL procedure successfully completed.
    
    SQL> exec procdate(to_date('01/01/2010','DD-MM-YYYY'));
    01-JUL-10
    
    PL/SQL procedure successfully completed.
    
    SQL> exec procdate('31-DEC-2010');
    30-JUN-11
    
    PL/SQL procedure successfully completed.
    
  • How can I start firefox with new tab instead of the blank page?

    Today I've updated firefox to 13.0. I like the new 'new type '. I want to know how can I start firefox with new tab instead of the blank page?
    I don't want to change the home page to about: newtab.

    Sorry for my bad English.

    You can add about: newtab to the command line in the shortcut to the desktop Firefox to open this page on startup (target).

    • "C:\Program Files\Mozilla Firefox\firefox.exe"-new - tab on: newtab
  • Hello I would like to create a Muse site with homepage and a member area with access code to access the other page of the site is possible this? Thank you

    Hello I would like to create a Muse site with homepage and a member area with access code to access the other page of the site is possible this? Thank you

    No. you're looking completely in the wrong place. These things requires a dynamic system that is appropriate like Wordpress, Joomla and so on. That or a paid Business Catalyst Pro account.

    Mylenium

  • What version of Adobe allows you to change the page on some pages orientaion and save the document with just a few of the tours pages?

    What version of Adobe allows you to change the orientation of the page on some pages and save the document (PDF) with only a few of the tours pages?

    Adobe is the name of the company, not the software as many people say. Since you want to know the exact software, it is important to know that.

    Any version of Acrobat Standard or Acrobat Pro to do this. These are commercial software (a cool weather or subscription).  The free Adobe Reader or Acrobat Reader cannot do this.

    Tip: there are two ways to turn the pages; alone will save him.

  • CSS navigation with an outer glow to the overview

    Is it possible to have a "glow" on words in pointing a css navigation State? I do it with the flight path images but I would do it in css so that if we want to change the color scheme in the future I have to change the CSS, not 50 pages.

    Here is the test page: http://www.argraph.com/indexNewNav003.html the NAV is on tripod banner, in dark blue. I don't like the yellow color "hover" and would prefer that the State pointed to be type of dark blue with a white outer glow on the passage of the mouse.

    Any help will be greatly appreciated.

    -Gwynnplaine-

    It is a strange in css. I know not all attribute 'intensity', which could be added, you can add multiple shadows to increase the 'intensity '.

    You do it by adding another set of numbers in a list of coma separated for the text-shadow element. You can also change the blur of a couple of them to get a brighter glow closer text. Something like this should be closer to what you want, you can play with adding more and change the blur settings to do as you like it, or at least nearby...

    text-shadow: 0 0 10px #ffffff, 0 0 10px #ffffff, 0 0 10px #ffffff, 0 #ffffff, 0 5px 0 10px 0 #ffffff, 0 5px 0 #ffffff, 0 0 3px #ffffff;

  • something is wrong with my Muse program, when the browser page prewiev

    There also seems to be something wrong with my Muse program!

    I took a preview in the browser page and look at what Muse:http://screencast.com/t/3ObChLAGC3E

    Why is the page so narrow or thin?

    I tried several of my Muse file, yesterday and today, and each site is look like this, also when site previewing in the browser. What is the problem with Muse?

    Hello

    Please try the preview of Muse as well. (Click on the preview at the top right of the application window)

    In addition, to view the site in another browser, copy the link from Firefox to the other browser:

    Let me know how it works.

    Concerning

    Sonam

  • Problem with LOGIN_THROTTLE. COUNTER on the login page

    Hello!

    I have the page of connection (desktop, theme 25) which has been slightly modified by me. I use custom_auth on table mine of users.

    Seems I now work "strange."

    Problem seems to be LOGIN_THROTTLE. METER that shows popup but is not low count (it's freezes with numbers to started number).
    As a result, I can't connect even when the correct credentials.

    By comparing your login to app demo and mine the login page, I saw that in my login page is missing the bunch of js:
    function popupSessionInfo(){var w = open("f?p=4000:34:4600637698482:PAGE:NO:34:F4000_P34_SESSION,F4000_P34_FLOW,F4000_P34_PAGE,FB_FLOW_ID:800543776008,21299,101,21299","winLov","Scrollbars=1,resizable=1,width=700,height=450");if (w.opener == null){w.opener = self;}w.focus();}
    function popupViewDebug(){var w = open("f?p=4000:19:4600637698482:::RIR,19:IR_APPLICATION_ID,IR_PAGE_ID:21299,101","winLov","Scrollbars=1,resizable=1,width=700,height=450");if (w.opener == null){w.opener = self;}w.focus();}
    apex.jQuery( document ).ready( function() {
    ...
    until the part that begins with:
     
    Apex.jQuery( document ).ready( function() {
    that is the same. Part missing is obviously part for gas meter.

    I tried all the browser and they are all the same as a result.

    I study more and discovered that mine, State of Session-> page Protection, for login page shows it's 'Dynamic form' not connect type. I'm sure that I edited the origin and after login page found this recreation (remove old and create the new login page) that somehow seems not to be the login page.
    I'm quite confused because before that this one was't of thing happened because before the introduction of "gas" I had no such a mistake... or I wasn't awre of them.
    :-)

    Any help or suggestion?

    Damir Vadas
    http://Damir-vadas.blogspot.com
    Apex 4.2.1.00.08
    Oracle 11.2.0.3 x 64
    Apex listener 2.0.0.354.17.05

    So, you changed the page of connection somehow, perhaps recreate - and now things go wrong?

    Firstly - if you want to authenticate on your own table, it is much easier to leave the single login page and use a custom authentication scheme.

    Second - if you want the user to land on their own page, I find personally much easier to define a branch that manages that decision-making - perhaps something ruled separately during after authentication.

    Scott

  • Possible bug with report PPR sort on the login page

    Hi guys,.

    I created a report on the login page. Links for sorting, pagination and columns seem to not work.

    Here is an example on apex.oracle.com: http://apex.oracle.com/pls/apex/f?p=22519

    A very simple example with all the default settings on the table of demo MATERIAL. I guess it's releated for not having a valid user on page 101. Sorting preferences are stored by the user.

    See you soon,.
    Dietmar.

    Hi Dietmar,

    Anthony has considered this matter and this behavior is limited to the login page, i.e. the page mark you as the "session invalid page" in your authentication scheme. If you make a copy of your example page, paging and sorting would actually be working very well.

    Kind regards
    Marc

  • Cannot print anything in "portrate", that everything comes out landscape-with no options available on the print page

    Whenever I try to print a page using what in FIREFOX I am not given the choice of orientation and everything comes out in mode 'landscape '.
    I do not see where or why... If I use CHROME - I always gives me the normal choice between portrait and landscape. Thanks for any help

    Edit: This is wrong, sorry.

  • How the procedure call stored procedure Store and no need to wait for the answer?

    There are two store procedure, sp1 and sp2, sp1 include sp2.


    If I have that sp1call but sp1 sp2 don't neet to wait the response of sp2, sp1 sp2 simply start and countinue to run the following command.

    How do I do?

    submit a job (DBMS_JOB) which sp2 excecutes in an autonomous transaction (which starts the task immediately)

  • Problem with an infinite loop in the login page

    Hello

    11.1.1.5 jdev

    I have a login page and a homepage

    and I want to have the security of adf

    When my login page pagedef and anonymose-role my application has encountered an infinite loop

    and when I delete pagedef connection once the connection I give error 401 - non authorized

    I see Blog of Andrejus Baranovskis: Troubleshooting ADF 11 g connection Page failure safety and Blog of Andrejus Baranovskis: things you should know about ADF Faces Login Page but I have this problem

    Help, please

    I create a new project and add two page 1 - loginTest.jsp 2 - mainTest.jsp and sure this app when I enable adf security I select generate login and error and homepage and then change it in the Web.XML for loginTest.jsp and mainTest.jsp, click project runs OK

  • Problems with downloading to my host the Web page on the dreamweaver site download page.

    I've been to the host server support service, and they referred me to a Dreamweaver tutorial on that.  I have agreed to that, but he seemed to suggest the same info I was using.  No matter what I try DW sends an error message that it cannot contact the server.  I use www.lunarpages.com for the name of the FTP server as the connector, my domain name as FTP address, username and password that I use to access lunarpages and public_html / as root on the server directory.

    I'd appreciate a lot of new ideas!

    Nancy Harkey

    My problem is solved and the Wiki Tutorial helped in a strange way.  I went

    Back to her and checked again that I seem to do everything

    correctly.  Who sent me to wonder about my password.  I had changed

    for my account and that was what I used for the display of the site, but - had

    not changed for the Web site.  Did that and everything worked perfectly.

    Thank you for sending me in the right direction.

    Nancy

  • Problem with hidden top nav on the index page

    I use a free template that has a header that slids up to reveal nav simular to the footer.

    This feature works fine on all my pages except for the index to premium - posts-.com

    The problem is that I have no idea if the function... is javascript or CSS, I think it's CSS. I did "inspect" the elements on the page but did not find anything that looked as if it was the problem.

    I would post code if I new what to post, I hope really that someone can point me in the right direction.

    Any help would be greatly appreciated.

    Seems to work OK in Firefox and IE8.

    No need to post the code you provided a link to the site

  • Problem with bleeding involving Art on the back Pages

    I have a document that has art (such as photographs) who go to garnish, top, left and right, on the chapter openers. I put the document for 1 pica and fact purge so that these photos extend beyond the margins on the InDesign pages. However, when a chapter opener is a page on the back, and I'm doing all this, part of the art that extends from past the right margin appears on the left side of the files PDF created in the way I create all the PDF files for printers (using their settings distill). If it does not stand on the final printer, I don't mind, but I understand not why I see these parts of images of pages back, given that the purge is supposed to go around the page of the document, including the area of the spine / fold, appear on the page next to the PDF front. Worrying for my production staff who check PDF printer. Any ideas would be welcome.

    potterjazz

    I guess that your document is configured as the pasta spread.

    In the window of your pages:

    Highlight all the pages spread

    Check: Allow the Document Pages to Shuffle

    Check: Allow selected extends to Shuffle

    I ask you:

    You want to maintain the current number of pages on these spread?

    Click: No.

    Your document will change from pasta spread to unique pages, from here, you can make your PDF without duplication of the previous page.

Maybe you are looking for