Extension of Controller doesnot work- Oracle Quoting

Hi,
I am trying to extend a standard controller(QotQuoteDetailsCO) on the Quoting page. I am calling my custom code after the super.processFormRequest of the controller. Howver this call to the custom code doesnt work though there is no impact on the standard functionality.
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getRootApplicationModule();
OAMessageTextInputBean fieldQotHdrNm =
(OAMessageTextInputBean)webBean.findChildRecursive("QotHdrNm");
String qotName = fieldQotHdrNm.getText(pageContext);
String qotNameCtn = qotName.substring(1, 7);
if (pageContext.getParameter("QotFrmEvt") == "Event.QuoteDet") {
if (pageContext.getParameter("QotHdrAction") == "COPY") {
OADBTransaction txn = am.getOADBTransaction();
CallableStatement cs =
txn.createCallableStatement("BEGIN sgx_aso_quote_pkg.copy_quote (" +
"p_qot_hdr_id_new => ?, " +
"p_qot_hdr_id_old => ?, " +
"p_return_status => ?, " +
"p_err_message => ?); END;",
-1);
String returnStatus = null;
String messageData = null;
try {
cs.setInt(1, (new Integer(1543).intValue()));
cs.setInt(2, (new Integer(1406).intValue()));
cs.registerOutParameter(3, Types.VARCHAR);
cs.registerOutParameter(4, Types.VARCHAR);
cs.execute();
returnStatus = cs.getString(3);
messageData = cs.getString(4);
if (returnStatus.equals("E")) {
throw new OAException("Error: " + messageData);
} catch (Exception e) {
throw new OAException("Error: " + e);
} finally {
try {
if (cs != null) {
cs.close();
} catch (Exception localException1) {
System.out.println("Error in Details Finally : " +
localException1);
If I remove the call to super.processFormRequest the custom code gets executed properly.
If I comment out the pageContext.getParameter conditions the custom code gets executed but it gets executed on every event on the page.
Please help me understand the issue here.
Thanks in advance.
Regards,
Anoop
Edited by: Anoop Sagar Pradhan on Aug 12, 2009 3:50 AM

HI,
Use
OAMessageTextInputBean fieldQotHdrNm =
(OAMessageTextInputBean)webBean.findChildRecursive("QotHdrNm");
String qotName = fieldQotHdrNm.getText(pageContext);
String qotNameCtn = qotName.substring(1, 7);
String event = pageContext.getParameter("QotFrmEvt");
String action = pageContext.getParameter("QotHdrAction");
OADBTransaction txn = am.getOADBTransaction();
txn.writeDiagnostics(this,"Event is "+event,1);
txn.writeDiagnostics(this,"Action is "+action,1);
Now on page click on diagnostics, then from picklist select enable log on screen
then select STATEMENT(1) and press Go.
Then press Home button and then go to your page.
as the page gets opened try to serch for "Event is " in log displayed on screen
This will show your values.
Thanks,
Gaurav

Similar Messages

  • OIC: How does the projected commission work in quoting? Does it migrated from Quoting to Sales Order? Is there any documentation available?

    We are working in a project where they need to calculate commission "on the fly" according to the princing discount they gave to the customer on a quote (Oracle Quoting). As once confirmed the quote turn into a sales order in OM we would like to know if it (project commission) migrate to the sales order.?
    Thanks in advance for your help!

    Calamulus wrote:I completely agree; my confusion arises from the fact that the wiki has forever stated that the ondemand governor works like the conservative one by adjusting the frequency between all speeds available
    It does. But like litemotiv says, it only does so for brief moments. Because most of the time it's more beneficial to switch to highest freq, so the job is done as fast as possible, allowing to cpu to go to idle as soon as possible.
    Calamulus wrote:This can mislead users into thinking (like I did for about 3 years, if it turns out the wiki is mistaken) that by selecting ondemand they get the functionality that is actually offered by conservative instead.
    It is the same functionality. It's just that ondemand is better at it. Conservative was only created for some buggy amd processors which had trouble with fast switching, so it shouldn't be used. Unless you have one of those old amd processors of course.

  • Development tools (Jdeveloper?) for Oracle Quoting (HTML)

    Hi,
    My company is using Oracle Application 11i (EBS) 11.5.10.
    We want to do a small enhancement on Oracle Quoting (HTML not Oracle Form).
    What tools and which version should I use?
    Thanks!
    Phil

    The JDeveloper version will depend on your exact ATG RUP level. Use the query in the last link to find out.
    How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=416708.1
    Using OA Extensions to extend existing Apps 11i OA Framework pages (step by step)
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=283158.1
    Script To Check What Workflow Related Patches Are Installed In EBusiness Suite 11i
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=275379.1

  • Why the second NamedData variable doesnot work for CreateWithParams?

    Hi,experts,
    Working in jdev 11.1.2.3,
    A scenario:
    --There is a 1-M link between VO1(id,amount),VO2(id,amount,fkid1,fkid3) where VO2.fkid1=VO1.id;
    --When create a new record for VO2, will select record from VO3(id,amount) and populate for VO2 with VO2.amount=VO3.amount, VO2.fkid3=VO3.id;
    --VO1 render as a formlayout, VO2 and VO3 as tables in the same page;
    --A CreateWithParams button for VO2;
    It's OK when add the first NamedData->amount and bind to VO3.amount.
    --VO2.amount = VO3.amount when a new record is created with the CreateWithParams button;
    see: Re: How to create a new row for a VO based on values from another VO?
    But errors will raised when add the second NamedData->Fkid3 and bind to VO3.id the same way as the first NamedData as follows:
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: oracle.jbo.domain.String
    java.lang.ClassNotFoundException: oracle.jbo.domain.String
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
    more info:
    --VO2.fkid1(varchar2(18)), fkid3(varchar2(50)), amount(Number(18,2));
    --VO1.id(varchar2(18));
    --VO3.id(varchar2(18)),amount(Number(18,2));
    Anyone can help?
    Thanks!
    Edited by: BAO.SZ on 2013-4-26 上午8:46
    more info:

    hi,Puthanampatti:
    The NamedData->Amount bind to VO3.amount(number) works well.
    It's the NamedData->Fkid3 bind to VO3.id(varchar2(18)) doesnot work.
    Thanks!

  • Oracle quoting

    Hello
    we are on 11510, and using forms quoting - during a CRP the following questions arised;
    - if I make a quote , with 3 items on there, and want to convert in an order, how can I select line 1 and 2 to be put on an order, (as the customer is not interested in line 2)
    - if I have different quotes for the same customer, how can we combine them to one order ?
    - apparently the salesperson on the quote is not defaulted from the customer, how to achieve that ?
    - can we put customer item numbers on a quote..
    thank you if you would be able to shed some light on there!
    Els

    Hello Narayanan,
    Reference: Oracle® Quoting Implementation Guide Release 12.1 (Part No. E13462-04)
    There are several profiles that impact security in Oracle Quoting.
    Check the following profile options for the Quoting responsibility -
    MO: Security Profile --
    This should be set to the same value as the iStore cusotmer user responsibility (or to a value that includes that Operating Unit).
    Oracle Applications uses the profile MO: Security Profile to link an operating unit to a
    responsibility. This is a flexible security profile which allows a responsibility access to
    one or more operating units without having to switch between responsibilities. It can be
    set to any value based on the operating units in the organization.
    ASO: Enable Security Check
    Determines whether Quote Access Security is enabled. Quote Access Security
    determines which quotes users can access and at what levels.
    If set to Yes, users can access only those quotes belonging to a sales team they or one of
    their subordinates belong to. Limits user's access level as well.
    If set to No, users have update access to all quotes.
    If null, a value of No is assumed.
    Note: If this profile is set to No, you should not set other security
    profiles, as they do not work when security is turned off.
    ASO: New Quote Security
    Controls the user's ability to create new quotes.
    If set to Yes, the user cannot create new standalone quotes unless the quote is created
    from an opportunity.
    If set to No, the user can create new standalone quotes. They can copy existing quotes to
    new quotes and create quotes from opportunities.
    ASN: Customer Access Privilege
    Determines the customers to display for a Quote To Customer, Quote to Account,and Customer searches.
    Thank you,
    Deborah Bourgeois, Oracle Customer Support

  • What tools should I use for Oracle Quoting enhancement?

    Hi,
    My company is using Oracle Application 11i (EBS) 11.5.10.
    We want to do a small enhancement on Oracle Quoting (HTML not Oracle Form).
    What tools and which version should I use?
    Thanks!
    Phil

    Hi,
    please ask this question on a an Oracle Apps forum here on OTN
    Frank

  • Unable to book order in oracle quoting. : APP-236113: Order is not eligible for booking. Check workflow status of this order

    Dear All,
    I am trying to book an order from oracle quoting. I am getting the following error and unable to proceed.
    Please help me.
    APP-236113: Order is not eligible for booking. Check workflow status of this order.
    Thanks in advance.
    Regards,
    Gautam.

    Gautam,
    Check the profile option i.e. is to set the default order status while it is created from Quote.
    Regards,
    F. Afzal Hussain.

  • My Apple TV controller stopped working with my tv box. I changed battery. But the remote controller works in the store and it controles my iMac . What is the problem?

    My Apple TV controller stopped working with my tv box. I changed battery. But the remote controller works in the store and it controles my iMac . What is the problem?

    Hi Ron.
    Your Apple TV may have become paired with another remote. Hold the remote close to and pointed at the Apple TV, hold down the menu and Rewind buttons together for 6 seconds or until you see a broken chain icon on screen.

  • Oracle Quoting Customization JSP

    Hello,
    I need to hide a button(create quote) in oracle quoting JSP page. This can be done using profile options. Can anybody help me to fine the name for this option ..
    i did many queries to find this option and i didn't get any result. (I tried QOT% , %QUOT% , ...)
    Please Reply !
    Thanks,

    I found the JSP page for rendering this button :
    <%
    String[] subQotBtnLabelArray = (String[]) pageContext.getAttribute("qotBtnLabelArray",PageContext.REQUEST_SCOPE);
    String subQotInstr = (String) pageContext.getAttribute("qotInstr",PageContext.REQUEST_SCOPE);
    boolean subQotTranslated = "Y".equals(pageContext.getAttribute("qotTranslated",PageContext.REQUEST_SCOPE));
    if (! QotUtil.isNull(subQotInstr)
    || subQotBtnLabelArray != null && subQotBtnLabelArray.length > 0) {
    String[] subQotBtnActionArray = (String[]) pageContext.getAttribute("qotBtnActionArray",PageContext.REQUEST_SCOPE);
    if (QotUtil.isNull(subQotInstr))
    subQotInstr = " ";
    else
    subQotInstr = AOLMessageManager.getMessageSt(QotUtil.QOT_APPS_CODE, subQotInstr);
    %>
    <table cellspacing=0 cellpadding=0 width="100%" border=0 summary="">
    <tbody>
    <tr><td colspan=2 height=3></td></tr>
    <tr>
    <td class=ORAInstructionText><%= subQotInstr %></td>
    <td noWrap align=right> <%
    if (subQotBtnLabelArray != null) {
    for (int subQotI = 0; subQotI < subQotBtnLabelArray.length; subQotI ++) {
    QotCaboUtil.renderButton(_renderingContext,
    subQotTranslated ? subQotBtnLabelArray[subQotI] : qotRegionMgrObj.getPrompt(subQotBtnLabelArray[subQotI]),
    subQotBtnActionArray[subQotI]);
    } // end of for loop
    } // end of if there is at least one button
    %></td>
    </tr>
    <tr><td colspan=2 height=3></td></tr>
    </tbody>
    </table>
    <%
    } // end of if there is at least button to be rendered or instruction is presented
    %>
    How to set the rendering property to false according to a value ???????
    Please reply , it's urgent !!
    Thanks,

  • Tomcat 3.2.3 web.xml doesnot work in Tomcat 4.0

    I have put a web.xml for my web app in wEB-INF directory. It works in Tomcat 3.2.3 but doesnot work in Tomcat 4.0. Tomcat is showing some ParsingException.
    Is this true & anyone of u r facing the same problem?
    Thanks in Advance
    [email protected]

    Hi
    If you see the Specification the order in which the tags appear is important. In Tomcat 3.2.3 the order is not stressed upon but in Tomcat 4.0 any discrepancy in the order of Tags is immediately noted. See specification for the order of Tags and change the web.xml . Your application should work fine then.
    Keep me posted on your progress.
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun mcirosystems inc
    http://www.sun.com/developers/support

  • Webhelp generated from Robohelp 7 doesnot work fine with Google Chrome

    Why is it that Webhelp generated from Robohelp 7 doesnot work fine with Google Chrome? Are there any issues with browser compatibility for Google Chrome? Please let me know how to fix it.

    You don't say what you mean by "doesn't work." It doesn't open at all, it opens but doesn't work?
    See Item 2 at http://www.grainge.org/pages/snippets/snippets.htm#browsers Likely that is the answer but if not there is a link to another Google Chrome item.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Extension Manager no longer works

    Hi -
    While my extensions still seem to be accessible in Dreamweaver CS4, the Extension Manager no longer works. It launches, but no window ever shows up. This is the case whether I launch it from within Dreamweaver, launch it independently or click on an extension I wish to update. I would appreciate any information on what can cause this problem and how it can be solved.
    I tried uninstalling Extension Manager with the Uninstaller app, but the checkbox for Extension Manager is grayed out and I cannot select it. If I click Select All and then uncheck the apps I don't want to touch, Extension Manager is also deselected. The only way to keep it selected is if I also leave Fireworks, Illustrator and InDesign selected. But uninstalling all these apps seems like a radical alternative. If I trash Extension Manager manually, I cannot select it in the CS4 installer. Presumably I would have to uninstall the other three apps and reinstall them at the same time I reinstall Extension Manager. There are obviously some dependencies between these four apps, but uninstalling and reinstalling them all is a lot of work to go to for a solution that may not even work.

    Sorry, I should have mentioned my operating system. I'm using Mac OS X 10.6.3 on a 3GHz quad core Mac Pro with 8GB of RAM.
    I don't use a second monitor so I don't know how the window could have moved off screen, but I tried using the Gather Windows button in the Displays preference pane just in case it had somehow gotten lost; no joy. It doesn't show up with Expose either, not with F9 or F10. I tried deleting the com.Adobe.ExtensionManager.plist file, but it makes no difference. Interestingly, when I launched ExtensionManager it did not create a new plist file. I replaced the existing plist file with a copy from another user account where ExtensionManager works; this, too, does no good. If I leave ExtensionManager running a few minutes, eventually it shows up in the Force Quit window as "not responding", so it definitely appears to be hanging up at some point. I tried looking at the Console log as I launch EM but I don't see anything that clearly indicates what's happening. It's mostly Greek to me anyway.

  • Why System.setProperty doesnot work?

    Dear ALL
    i Want to use System.setProperty to set CLASSPATH
    but i find it doesnot work. after run it,
    CLASSPATH is same as before
    below is code
    before running java Test
    classpath is null
    after running java Test
    classpath is still null,
    How do i set classpath during program running time
    and keep the change after running time?
    import java.util.*;
    public class Test
    public static void main(String[] args)
    System.out.println(System.getProperty("java.class.path"));
    System.setProperty("java.class.path","C:\\C\\subc;"+System.getProperty("java.class.path"));
    System.out.println(System.getProperty("java.class.path"));

    Any properties you change using System.setProperty() go away as soon as the JVM exits -- they are changed in memory only.

  • TS3899 sometimes my sound doesnot work.i m using 4s

    hi i have been isuing iphone 4s nearly 2 years.i m enjoying with the phone.but last month i was upset with the sound service.suddenly the sound doesnot work .i cant hear any song or ring tone.even though the sound key does not work.after half an hour the sound comes again.the problem occur almost every day.i m staying now in bangladesh.thesomethingre are no applle store in our country.my phone is my besr frnd but now it often make ****** me off.plz do somthing plz

    Hello muzaherul hoque,
    I would start troubleshooting your iPhone with the following steps:
    Verify that there is nothing plugged in to the headset jack, including headsets, headphones, or adapters.
    Make sure the Ring/Silent switch is not switched to silent.
    While on the Home screen, adjust the volume buttons. If you see the icon below, indicating that headphones are attached, there may be debris or an object lodged in the headset jack:
    Check the headset jack. If there is an object lodged in the headset jack that is not easily removed, have the iPhone serviced to remove object.
    For Original iPhone: If there is light debris, such as lint, in the headset jack, try connecting a pair of headphones to the headset jack and then remove the headphones. Repeat this several times to remove the debris.
    If you have installed a protective film on the display, either ensure that the receiver is not covered or remove the film completely.
    Check the receiver mesh (which is on the top front of the device, above the display). If it appears blocked, use a clean, small, dry, soft-bristled brush to carefully and gently brush away any debris.
    If you have paired with a Bluetooth headset that is nearby, either use the headset or turn Bluetooth off (choose Settings > General > Bluetooth).
    Restart the iPhone.
    If restarting the iPhone doesn't resolve the issue, try restoring the device.
    If the issue persists, go to the Service Answer Center - iPhone for information on service.
    via: iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    Sincerely,
    Delgadoh

  • Applet works at hosted computer but doesnot work at another client browser

    Hi
    I am using Java2 SDK to create applet.
    It is the simplest applet like "Hello World" programs.
    It works in hosted computer through web server in IE 6.0 , but doesnot work on another computer through web server again. It raises ClassNotFound exception ? How can i fix that ?
    Both computers are Win XP Professional.
    My applet tag is :
    <APPLET
         code     = "a.class"
         width     = "800"
         height     = "600"
         >
    </APPLET>
    and java code:
    import java.awt.*;
    import java.applet.*;
    import java.sql.*;
    public class a extends Applet {
         public void paint(Graphics g) {
              g.drawString("Welcome to Java!!", 50, 60 );
    Both HTML and class files are in the same root directory,wwwroot ?
    Thanks..

    Very strange indeed...
    What happend in both computers if you write :
    <APPLET code = "b.class" width = "800" height = "600">
    </APPLET>
    and b.class doesn't exists . is it exactly the same error message ?

Maybe you are looking for

  • Why can't I open upgraded Firefox?

    I downloaded on my iMac the recent upgrade to Firefox. Now on my desktop, I have a rectangular icon that says "Firefox" underneath it. As instructed, I have dropped it into the Applications folder, which now contains both the rectangular icon and the

  • Adobe forms in web dynpro java

    hi I am working in adobe interactive forms in web dynpro java .I want to use File upload and Download option in adobe interactive form .Can anyone please help me out. The submit button is also not working.Can anyone tell me the right code or pdf's re

  • Adding field to repository structure leads to syntax error in webservice

    Hello there, I have added a field to a structure that is used as a parameter type in a customer function module which is part of a function group which is the endpoint of an enterprise service. I would have expected the webservice where this structur

  • Urgent : PO deletion in saved status

    Hi, We have a PO X which has been copied in from PO Y. X has been copied and saved and not ordered. How do i delete the PO from both portal and SRM. Kindly advise. A

  • Got new iPod, problems with uploading old songs...

    I got the new 30GB video iPod. I'm using the same old windows pc with the same old songs in the same old iTunes. I'm having problems uploading the songs..YHELP!