How to do an audit in the order page IN. When you click on the button "submit"

I want to do an audit in order IN. When you click on the "submit" button, it will be checked whether the OP is reserved and will display the message if not.

I have a CO span from the original, I can know where should I put the logic inside the processFormRequest? and how to write code to control them thanks.

public void processFormRequest (pageContext, OAPageContext,

OAWebBean oAWebBean)

{

super.processFormRequest (pageContext, oAWebBean);

}

OK here is the code below,

String sql = "START: 1: = XXPO_CHECK_RESERVED_PKG." XXPO_CHECK_RESERVATION(:2); END; « ;

CallableStatement cs = txn.createCallableStatement (sql, 1);

String outputval = null;

try {}

cs.setString (2, Segment1);

cs.registerOutParameter (1, OracleTypes.VARCHAR);

CS. Execute();

outputval = cs.getString (1);

TXN.Commit ();

} catch (Exception sqle) {throw new OAException ("Error in the application of staffing", OAException.ERROR) ;}}

-Beginning of the code by Hemant

If ("N".equals (outputval) &! ") ». Equals (outputval))

{

throw new OAException ("The PO isn't in reserved State");

}

Tags: Oracle Applications

Similar Questions

  • I created a form to complete 4 page. I would like to place a button at the bottom of page 4 when you click inserts another copy of the form in the existing file. I have the user to have the ability to easily create muliple copies of the same 4 pages in

    I created a form to complete 4 page in Acrobat. I would like to place a button at the bottom of page 4 when you click inserts another copy of the form in the existing file. I want the user to have the ability to easily create multiple copies of the same 4 pages in a single file. It is possible with Acrobat? I use a PC.

    It is possible using models and JavaScript, but if it is to work with the player, users will need to use the desktop version (Windows/Mac) of 11 Reader or CD player. Here is a link to an older article which explains the basics: Planet PDF - a lesson in the templates for Adobe Acrobat

    Note that this is a bit outdated, but it should help you get started. If you have any other questions, post them in the Acrobat JavaScript here forum: JavaScript

  • How to clear the cache and page reset when you click on tab

    Hello
    I use two level model tab and its Apex 40.
    I would like to clear the cache and reset pagination when you click level 2nd tab
    Is anyway to do this?
    Thank you.

    hlthanh wrote:
    Hello
    I use two level model tab and its Apex 40.
    I would like to clear the cache and reset pagination when you click level 2nd tab
    Is anyway to do this?

    Can stick us to the standard terminology of APEX: do you mean Parent (level 2) tab or the tab Standard (level 2)?

    Parent tabs this is done directly using the box Erase the Cache property and reset pagination for this page of the tab target.

    For the Standard tabs, create processes from before header tab target:

  • Session state > clear Cache...

  • Reset the Pagination

  • How to create a form that is displayed when you click on a button?

    I want to create a contact form on my Web site that appears when you click the button 'click here to contact us' floating on the web page. I can't figure out how to make this work. Any help would be appreciated!

    You can really use any widgets of composition. You probably want to use the Widget for Composition of ToolTip and the setting of the trigger button and form as target.

  • "Cannot display Page" error when you click the Remote Agent

    Hello world! ACS SE 4.0, we have installed and we have added a remote agent running on Windows Server 2003. Recently, we encounter "Cannot display the page" error when we click on the RA under a group of network devices. It's resolved by restarting the device SE ACS and access the web console for ACS still once, but after a few hours, the problem reoccur. By clicking on the links on the web console for ACS is OK at first, but after clicking on the RA, each link displays the error "Unable to display the page." Hope you could help me with this problem. Any person support is much appreciated.

    Thank you!

    Hi Jas,

    Here is the bug CSCsg40444.

    Kind regards

    ~ JG

    Note the useful messages

  • How to create a photo album, where I have a picture on my home page, and when you click it, it op

    I am trying to create albums on my web page where the cover image is displayed on the home page. When someone clicks on the images I want to open a gallery that opens with all the images in this series. I want the images to display one by one with the viewer moving to the next image by pressing the arrow next to the picture, or by a sequence of numbers at the bottom that the viewer can click on. I use mac and Dreamweaver cs5.

    Thank you

    57 + photo library solutions you could use.

    http://www.1stWebDesigner.com/CSS/57-free-image-gallery-slideshow-and-lightbox-solutions/

    Nancy O.

    ALT-Web Design & Publishing

    Web | Graphics | Print | Media specialists

    http://ALT-Web.com/

    http://Twitter.com/ALTWEB

  • Change the color of the text to the previous button when you click on a button

    Hi all

    If I said 7 buttons, each with text that changes color on turnover by using 'Up' 'Over' and 'Down' of the keyframes in the timeline buttons.  Is there a simple way to get the text of the button changes color when you click on it, stay that way, and then back to the original color once one of the other 6 buttons are engaged?

    The only thing I can get to prepare code pages for each button that changes the color of every other button regardless of whether it was active.

    See the code example would help a lot!

    Thank you!

    use:

    var previouslyClickedBtn:MovieClip
    var buttonA:Array = [content_mc.work_btn, next button and the rest of your buttons];
    var targetA:Array = [work_mc, etc.];

    for (var i: uint = 0; i<>
    .Ivar Button [i] = i;
    buttonA [i] .addEventListener (MouseEvent.CLICK, clickF);
    buttonA [i] .addEventListener (MouseEvent.MOUSE_OVER, overF);
    buttonA [i] .addEventListener (MouseEvent.MOUSE_OVER, overF);
    }

    function workOver(e:MouseEvent):void {}
    e.currentTarget.gotoAndStop ("over");
    }

    function workClick(e:MouseEvent):void {}

    {if(previouslyClickedBtn!=null)}

    previouslyClickedBtn.gotoAndStop ("up");

    }

    e.currentTarget.gotoAndStop ("down");

    previouslyClickedBtn = e.currentTarget;

    targetA [e.currentTarget.ivar] .gotoAndPlay ("enter");
    }

    function workOut(e:MouseEvent):void {}
    content_mc.work_btn.gotoAndStop ("up");
    }

  • How to link or to disable the button submit virtual keyboard in blackberry 10 webworks?

    Hi all

    I developed Blackberry 10 Web application using Ripple emulator and Blackberry Webworks SDK 1.0.4.11.In that I am faced with the question of the connection... While the virtual keyboard-click submit button... it will not validate the credentials and without validating it goes to the actual page... So, how to validate or disable the virual submit button 10. Please Blackberry keyboard me... Thanks in advance.

    Kind regards

    Marimuthu_P

    Hi Mc Donald,

    You are using a

    element in your application with a built-in element
  • How to play the music when you click on a button?

    Hello

    Could someone help me a little bit to start?
    My first attempt is just to create a scene, in which clicking on a button, it starts to play an mp3 file. I get to start playing as a background music after reading the help file and also tried to find the source code from the internet and also here without success.

    Thus, a person could be that kind of give me an example of jargon code snipplet, who would begin to play music immediately without first importing the file (such as file streaming) if possible and also small instructions how to assign to the key (Yes, not as background music).

    I just got the Adobe Director 11 a few days ago, and my wife is trying to get angry for me to sit with my NB every night without any progress,

    Thank you, in the case where a person pick up...

    Here's a demo movie: . You can download the source from here.

    It uses a member of ShockWave Audio (SWA), which connects to an external file.

  • How to get the event when you click Add another button in a table.

    Hello
    How to recognize the event in processFormRequest click on the button Add another line of the footer of a table?

    Suppose if the ID is anotherRow (I mean ID of the button to add another line of the footer)

    If I give if (pageContext.getParameter ("anotherRow")! = null)... its not recognizing the event that is returning null only...

    I want to perform certain actions when the user clicks Add another line of footer. Please let me know the details of how identify when add another line is clicked...

    Thank you
    Srikanth

    Hello

    If you have only one table with add_row_button, and then copy the following code works perfectly

    If (tableBean.getName () .equals (pageContext.getParameter (SOURCE_PARAM)))
    (& ADD_ROWS_EVENT.equals (pageContext.getParameter (EVENT_PARAM)))
    {
    ...
    }

    tableBean is the Handle for your advanced table, hope, it will help you.

    Kind regards
    Out Sharma

  • I continue to have a new page opens when I click on a button. For example, when I clicked on the "category" to access this page, another page open for Norton.

    For example, try to access this page caused another page opens with an advertisement of Norton. Happens not every time, but every 3 - 4 times. I got Redbox, QuiBids, RxConnection and ensure the car outside Norton. I can't figure out how to stop this.

    Hello OKHiltibrand, this looks like a problem caused by malicious software on your pc. Please go to firefox > addons > extensions and remove any suspicious entries (especially 3 layers Word, things that you have not installed intentionally, does not know what purpose they serve, etc.). also, go to the windows control panel / programs and remove all toolbars or potentially unwanted software from there and run a full scan of your system with the security software you have in place and various other tools such as the free version of malwarebytes & adwcleaner.

    Remove a toolbar that has supported your Firefox or the homepage search
    Fix Firefox problems caused by malicious software

  • Web ADF how to reach a view object when you click on a button

    Hi all

    I'm new to the web of the ADF
    My requirement is as follows:
    I have a page with a button print, I want when I press this button to go to a view object and specify a value in the database.

    I did a class for the managed bean and I put the following in it:

    {} public void calc (ActionEvent actionEvent)
    Add the code in the event here...
    TaskProjViewImpl t = new TaskProjViewImpl();
    t.Calculate ();
    }

    but according to me, it is not good to create an object like that, is it?
    What is the best thing to do my requirement?

    Help, please

    Your code does not work.
    Expose you the objects in view via request module (data model). It's a build data control that you use in the user interface.
    You give enough information on the use case, so all you want to do can be done without a bean.
    Open the data control build of the application module you an expand the node of the VO. You should see the method you are trying to call too in the bean. Drag onto the page and select the ADF button when asked what to create. That's all.
    This may not be exactly what you need but otherwise please describe your use cases in more detail.

    Timo

  • How to run the SWF file when I click on a button

    Dear friends!

    I did three and kept SWF files in a folder, how do I make a flash 8 project to execute when I click on a button. I'm going to make buttons for each SWF file

    Please help me

    use loadMovie to load in your main swf (with button).

  • How to open 2 sites on start and 1 Web site when you click the home button?

    How to open 2 sites on start and 1 Web site when you click the home button?

    You can change your shortcut on the desktop Firefox with two starting URLS. To try:

    • Shortcut on the desktop: right-click on the icon, choose Properties
    • Icon taskbar pinned: clic click right on the icon, right click in Mozilla Firefox, click on properties

    Windows normally selects the shortcut tab. If this is not the case, go ahead and click on the shortcut tab.

    You will see the target highlighted. On 64-bit Windows, which is usually either not less the following:

    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
    

    For the specific shortcut launch pages, you can add them to the end, for example:

    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -url "http://www.dilbert.com/" -url "http://www.gocomics.com/pearlsbeforeswine"

    After OK'ing the Properties dialog box, you can test everything right now to confirm that Firefox is now launching a window with tabs. Either:

    • Double-click the shortcut on the desktop
    • right click on taskbar icon pinned, click Mozilla Firefox

    Who do you want?

  • How can I get rid of the button that appears when I'm annoying scrolling?

    This button is apparently intended to speed up browsing in a document, page, Web site or by e-mail. In my opinion he appears unexpectedly, often substitute my entry and is causing me problems. I don't want that, don't not where it comes from, do not know how to get rid of him. It's just more masturbation programmer, IMHO.

    Do you mean the automatic scrolling of the page button?

    • Tools > Options > advanced > general: "use autoscrolling".

    You get this automatic scroll button when you click with the scroll wheel of the mouse on a web page.

Maybe you are looking for