• RELEVANCY SCORE 3.70

    DB:3.70:Problem With Extending Controller - Cont. 1z





    Hi,

    I try to extend controller creditAppRegion1CO on the page /oracle/apps/ar/creditmgt/application/webui/ARCMCREDITAPPPAG.

    I made my class XXcreditAppRegion1CO, according to Oracle Application Framework Developers Guide:

    public class XXcreditAppRegion1CO extends creditAppRegion1CO
    {
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processFormRequest(pageContext, webBean);

    if (pageContext.getParameter("Go") != null)
    {
    OAMessageTextInputBean xTrxAmount = (OAMessageTextInputBean)webBean.findChildRecursive("TrxAmount");
    if( xTrxAmount.getValue(pageContext) == null)
    {
    throw new OAException("Value should be entered for TrxAmount",OAException.ERROR);
    }
    }
    }
    }

    I need to check if TrxAmount field is filled out.

    The problem is that it simply does not work. Form is process without validation.
    The problem seems to be with

    if (pageContext.getParameter("Go") != null)

    When I leave

    if (pageContext.getParameter("Go") != null)
    {
    throw new OAException("Value should be entered for TrxAmount",OAException.ERROR);
    }
    }

    it still does not validate the TrxAmount field.

    When I leave only
    throw new OAException("Value should be entered for TrxAmount",OAException.ERROR);
    the message show up.

    Please help.

    Regards,
    Marcin

    DB:3.70:Problem With Extending Controller - Cont. 1z

    I think you are not able to get the id of trxamount.

    Why dont you take the value from VO, like below:

    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject accountsViewObject = (OAViewObject)am.findViewObject("ArBusPurAllVO");

    OARow row = (OARow) accountsViewObject.getCurrentRow();
    String value_of_gl_id = row.getAttribute("GlIdRev") ;

    --Parag Narkhede

  • RELEVANCY SCORE 3.38

    DB:3.38:How To Handle Oaexception Message ? 13





    Hi , I have requirement to split the OAException message before display. But OAException is not allowing to split as because it is of not string type.

    The below is my code :

    MessageToken tokens[] = new MessageToken[0];
    OAException mainMessage = new OAException((String)oadbtransaction.getValue("oadberrorMsg"));
    OADialogPage dialogPage = new OADialogPage(OAException.ERROR, mainMessage, null, "OA.jsp?page=/oaf/oracle/apps/ak/ecs/casting/webui/XXXXUploadPG", null);
    pageContext.redirectToDialogPage(dialogPage);

    output of mainMessage is :
    oracle.apps.fnd.framework.OAException: No Data for Contract Number at row 1,No Data for Version Number at row 1,No Data for Serial Number at row 1,No Data for Site Name at row 1,
    No Data for Model ID at row 1,
    No Data for Forecast Version at row 1

    I need to split at , and see that each split should come in new line. How to acheive this requirement. Any solution for this.

    Thanks,
    Raghav

    DB:3.38:How To Handle Oaexception Message ? 13

    Hi,
    If you see my code , entire exception is coming a single line . I need to split at comma and show in new line.

    I dont have the option of showing error as your code:

    pageContext.putDialogMessage(new OAException("Error1",OAException.ERROR));
    pageContext.putDialogMessage(new OAException("Error2",OAException.ERROR));
    pageContext.putDialogMessage(new OAException("Error3",OAException.ERROR));

    Thanks,
    Raghav

  • RELEVANCY SCORE 3.37

    DB:3.37:Oaf 12i Course For 11i Apps a7





    Hi,

    Good day.

    I want to learn Oracle Application frame work and our current oracle apps is 11.5.10.2. the courses available are for 12i, is it ok to attend the 12i version although our instance is 11i?

    11i courses(not available)
    -11i Extend Oracle Applications: Building OA Framework Applications
    -11i Extend Oracle Applications: Customizing OA Framework Applications

    12i courses:
    -12i Extend Oracle Applications: Building OA Framework Applications
    -12i Extend Oracle Applications: Customizing OA Framework Applications

    DB:3.37:Oaf 12i Course For 11i Apps a7

    Dear Mr. Hussain Gyan,

    Thanks for your inputs, I have made some search and found some differences ? maybe it's minor but i want confirmation about it or more detail information.

    BR,
    Jalal

  • RELEVANCY SCORE 3.37

    DB:3.37:Getting Following Errors When I Try To Open An Existing Form kj


    Validation error in document "RouteRuleRespPG":
    Invalid value "/oracle/apps/fnd/framework/webui/OAFooter.Privacy" for property "Extends" on component "/vijaya/RouteRuleRespPG.ICX_PRIVACY". Component "/oracle/apps/fnd/framework/webui/OAFooter.Privacy" cannot be referenced from "/vijaya/RouteRuleRespPG.ICX_PRIVACY" because it violates scope restrictions.
    Invalid value "/oracle/apps/fnd/framework/webui/OAFooter.CopyRight" for property "Extends" on component "/vijaya/RouteRuleRespPG.ICX_COPYRIGHT". Component "/oracle/apps/fnd/framework/webui/OAFooter.CopyRight" cannot be referenced from "/vijaya/RouteRuleRespPG.ICX_COPYRIGHT" because it violates scope restrictions.
    Invalid value "/oracle/apps/fnd/wf/worklist/webui/ReassignToLOVRG" for property "External LOV" on component "/vijaya/RouteRuleRespPG.NRRERReassignTo". Component "/oracle/apps/fnd/wf/worklist/webui/ReassignToLOVRG" cannot be referenced from "/vijaya/RouteRuleRespPG.NRRERReassignTo" because it violates scope restrictions.
    Invalid value "/oracle/apps/fnd/wf/worklist/webui/RouteRuleTrainRG" for property "Extends" on component "NRRERTrain".

    Any help would be appreciated.

    Thank you in advance.

    DB:3.37:Getting Following Errors When I Try To Open An Existing Form kj

    Can you let us know what did you do to achieve this error :)

    --Shiv

  • RELEVANCY SCORE 3.29

    DB:3.29:Re: Need Help To Learn Oaf Development cj


    I would like to know what is the best way to start the learning process?
    Start going through the devguide.Is it possible to learn/practice the OAF framework(from oracle applications perspective) on my personal machine( it has oracle 10g personal edition installed), with out having access to oracle applications instance?
    No, you need Oracle Apps installed.I would like to know if there are any good books/tutorials on OAF usage in Oracle applications?
    Toolbox tutorial and devguide are the best places to start.Thanks
    Tapash

    DB:3.29:Re: Need Help To Learn Oaf Development cj

    It helps me a lot in starting the development in OAF.

    Thanks to all and keep it up.

    Dharam

  • RELEVANCY SCORE 3.12

    DB:3.12:About This Page Link Missing 1f


    Hi,
    when I login to Oracle Apps I can see the about this page link, but in some pages I cannot see this link.
    The profile FND Diagnostics is set to Yes.

    The details of the Oracle Apps from about this page in the home page are
    Oracle Applications Extension - 9.0.3.8.13 - build 1570
    OA Framework -11.5.10.7RUP
    Business Components - 9.0.3.9

    Can you please tell me why about this page link is not visible in few pages.
    Can you please tell me are there any other pages in Oracle Apps of this version apart from Forms and OAF pages?

    Thanks,
    Srikanth

    DB:3.12:About This Page Link Missing 1f

    Please do the following:

    - Stop Apache
    - Clear the server cache as per (How To Clear Server Cache and Bounce Apache (Web Server)? [ID 295484.1])
    - Start Apache

    Thanks,
    Hussein

  • RELEVANCY SCORE 3.08

    DB:3.08:Oracle Apps Vision dz


    Can I download Oracle Application Vision version from site I get Oracle Apps vision Free.

    DB:3.08:Oracle Apps Vision dz

    Can I download Oracle Application Vision version from site I get Oracle Apps vision Free.

  • RELEVANCY SCORE 3.07

    DB:3.07:Generic_Message. c9


    i have defined following message in oracle application:
    html
    font size="15"
    "You are not authorized to view this page......"
    /font
    /html
    and i am handling this message in OA Controller :
    sample code:

    OAException message = new OAException(pageContext.getMessage
    ("IXT", "INV_AUTHORIZATION_TXT", null),OAException.ERROR);
    pageContext.putDialogMessage(message);

    but when i run this page , correct message is not getting reflcted.
    incorrect message reflected on page :
    "You are not authorized to view this page"

    pls help .Regards
    Anand

    DB:3.07:Generic_Message. c9

    i have defined following message in oracle application:
    html
    font size="15"
    "You are not authorized to view this page......"
    /font
    /html
    and i am handling this message in OA Controller :
    sample code:

    OAException message = new OAException(pageContext.getMessage
    ("IXT", "INV_AUTHORIZATION_TXT", null),OAException.ERROR);
    pageContext.putDialogMessage(message);

    but when i run this page , correct message is not getting reflcted.
    incorrect message reflected on page :
    "You are not authorized to view this page"

    pls help .Regards
    Anand

  • RELEVANCY SCORE 3.07

    DB:3.07:Adf Framework With Oracle Bam 11g sd


    Can any one guide me for integrating Oracle BAM 11g with Oracle Application Developement Framework (Oracle ADF) ?Thanx in advance.

    Thanks Regards,
    Amik

    DB:3.07:Adf Framework With Oracle Bam 11g sd

    Thanx a lot. is it possible to make report level drill down using ADF component with bam integration?

  • RELEVANCY SCORE 3.04

    DB:3.04:Information About Oracle Adf fm


    Is Oracle Adf Framework Open Source ?

    DB:3.04:Information About Oracle Adf fm

    Check if this can help you,

    http://kohlivikram.blogspot.com/2009/03/oracle-adf-11g-sample-application.html

    Vikram

  • RELEVANCY SCORE 3.02

    DB:3.02:Oracle Apps 9j


    I want to learn Oracle Apps dba, addition to oracle core dba.

    what are learning curve for Oracle Apps ? LIke forum book

    DB:3.02:Oracle Apps 9j

    Go to Oracle website and in documentation, look for Oracle Apps, you will get the entire material (which is probably same as the book or even more). It is simple and easy to understand.

  • RELEVANCY SCORE 3.02

    DB:3.02:Any Oracle Apps Cloning Doc fp


    is there any Oracle Apps Cloning doc ? thanks in advance.

  • RELEVANCY SCORE 3.02

    DB:3.02:Error While Running Report In Docviewer Region Through Oaf . ps


    I am trying to run a report , on my custom region embedded in seeded page of service request module.
    I have extended region :
    "/oracle/apps/xdo/oa/common/webui/DocumentViewerRn.MainRegion"

    I followed the steps in this thread :
    http://apps2fusion.com/at/ps/51-ps/294-bi-publisher-document-viewer-common-region-embeded-report-output-in-oa-framework-page-part-2

    When I run the report I get this error :
    "An error encounterd either due to invalied Template details or due to null Data Input Stream."

    I am not sure if the template registration is the problem or it is the code. Most of the custom report templates are attached to Custom application(short code = MAC), but this report will be run from embedded custom region in seeded application....Could that create any problem ?

    please guide.
    Following are the codes in my files :
    CO-PR -

    AppsContext appscontext =
    ((OADBTransactionImpl)am.getOADBTransaction()).getAppsContext();
    String locale = null;
    try
    {
    String as[] = OAHelper.getISOCodes(appscontext, appscontext.getCurrLangCode());
    locale = as[0]+"-"+as[1];
    // System.out.println("CO-PR - locale " + locale);
    }
    catch(SQLException sqlexception)
    {
    throw new OAException(sqlexception.getMessage(), (byte)0);
    }

    // Set the page context parameter required for datasource BlobDomain.
    pageContext.putParameter("p_DataSource", "BlobDomain");
    pageContext.putParameter("p_DataSourceCode", "MAQuestionDataDefinition");
    pageContext.putParameter("p_DataSourceAppsShortName", "MAC");
    pageContext.putParameter("p_XDORegionHeight", "700");
    pageContext.putParameter("p_TemplateCode", "MAQuestionTemplate");
    pageContext.putParameter("p_TemplateAppsShortName", "MAC"); -----------------------------------------could this be a problem ?
    pageContext.putParameter("p_Locale", locale);

    CO-PFR :
    // Handle the Run button event.
    if(pageContext.getParameter("Go") != null)
    {
    System.out.println("user presses run button");
    Serializable params[] = { problemIdFV };

    // Generate the Data XML. The data xml should contain the employees of the specified dept
    // number
    XMLNode xmlNode = (XMLNode) am.invokeMethod("getQuestionDataXML",params);

    try{

    // Create a blob object and add the data xml to it.
    BlobDomain blob = new BlobDomain();
    OutputStream os = blob.getBinaryOutputStream();
    xmlNode.print(os);
    os.close();
    pageContext.putSessionValueDirect("XML_DATA_BLOB", blob);
    }
    catch(Exception e)
    {
    throw new OAException(e.getMessage(), (byte)0);
    }
    }

    code AM :
    public XMLNode getQuestionDataXML(String pid)
    {
    ListQuestionsOafRptVOImpl vo = getListQuestionsOafRptVO1();
    vo.initQuery(pid);
    XMLNode xmlNode = (XMLNode) vo.writeXML(4, XMLInterface.XML_OPT_ALL_ROWS);
    return xmlNode;
    }
    Code in VO:
    .......
    setWhereClauseParam(0,pIdNum );
    executeQuery();

    thanks in advance

    DB:3.02:Error While Running Report In Docviewer Region Through Oaf . ps

    Hi,

    There may be few possible reasons:

    1. Template has not been designed correctly
    2. Template is not registered correctly or name u r using in code doesn't match with registered Template
    3. While registering you have not used correct language and territory.

    cross check these things, for Template you can check from Ms-Word it self.

    Regards,
    Reetesh Sharma

  • RELEVANCY SCORE 3.02

    DB:3.02:Apply Method Not Able To Insert Record In The Database(Urgent) 7c


    Hi

    We have created one VO which is EO based
    We are trying to insert the record
    Our code is picking up the parameter values from text input fields correctly but when we apply them it is not actually inserting in the database when we query it.

    Below is the code in CO

    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am = (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    if(pageContext.getParameter("apply") != null)
    {
    System.out.println("Inside prosess rofm");
    OAViewObject vo = (OAViewObject)am.findViewObject("XXAT_INV_IBO_MAPPING_VO");
    // String IBO = (String)vo.getCurrentRow().getAttribute("Ibo");
    //String IBO ="F99999";
    /* Row row=(Row)vo.first();
    String IBO = (String)row.getAttribute("Ibo");*/
    // String IBO = (String)vo.getCurrentRow().getAttribute("Ibo");
    // String IBO = pageContext.getParameter("IBOTextInputField");
    String IBO = pageContext.getParameter("Ibo");
    String BusinessGroup = pageContext.getParameter("BusinessGroup");
    System.out.println("IBO="+IBO);

    //String IBO = (String)vo.getAttribute("Ibo");

    am.invokeMethod("apply");
    System.out.println("Inside prosess rofm");
    MessageToken[] tokens = { new MessageToken("IBO_1", IBO),
    new MessageToken("BusinessGroup_2", BusinessGroup) };
    OAException confirmMessage = new OAException("Submitted Successfully",OAException.CONFIRMATION);
    pageContext.putDialogMessage(confirmMessage);
    pageContext.forwardImmediately("OA.jsp?page=/Ganesh/oracle/apps/ak/invoice/webui/XXAT_INV_IBO_MAPPING_PG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);

    }

    Here is the code for craete and apply in AM

    public void createRecord()
    {
    OAViewObject creatvo = (OAViewObject)getXXAT_INV_IBO_MAPPING_VO();

    // Per the coding standards, this is the proper way to initialize a
    // VO that is used for both inserts and queries. See View Objects
    // in Detail in the Developer's Guide for additional information.

    if (!creatvo.isPreparedForExecution())
    {
    creatvo.executeQuery();
    }

    Row row = creatvo.createRow();
    creatvo.insertRow(row);

    // Required per OA Framework Model Coding Standard M69
    row.setNewRowState(Row.STATUS_INITIALIZED);
    System.out.println("Inside Creating ROW");

    } // end createRecord()

    public void apply()
    {
    OADBTransaction txn = getOADBTransaction();

    txn.commit();
    System.out.println("Inside Apply");
    } // end apply()

    Edited by: user650226 on Jul 30, 2009 6:45 AM

    DB:3.02:Apply Method Not Able To Insert Record In The Database(Urgent) 7c

    You are not calling the method in the AM to create the Row. Please do that. Also after creating the row, you get the current row and then you need to explicitly set the attribute in the Current row. Then only if you commit data would be seen.

    Regards
    Sumit

  • RELEVANCY SCORE 3.00

    DB:3.00:Oracle Apps Login Question ps


    Hi Gurus,
    I have a question on oracle apps user login flow, when the user logins to oracle apps through HTML screen is there any event/hook called?
    Env:Oracle Apps 12i

    DB:3.00:Oracle Apps Login Question ps

    Hi;

    I suggest please review:
    Full cycle ...
    Re: Full cycle ...

    Regard
    Helios

  • RELEVANCY SCORE 2.99

    DB:2.99:Sucess Information Aftr Login Page 79


    Hello All,

    I am trying to show a Information tag on a Next page after login done successfully. However i can move to next page after login but can't see the information tag. I tried to do by the create emloyee example in tool box and still didn't not get as per expectation. Sharing my CO code for explained help.....

    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String ui = pageContext.getParameter("UserId");
    String pw = pageContext.getParameter("Pwd");
    String ei = pageContext.getParameter("EmpId");
    System.out.println(ui);
    System.out.println(pw);
    System.out.println(ei);
    if(pageContext.getParameter("Login") != null){

    PreparedStatement ps = null;
    ResultSet rs = null;
    boolean temp = false;
    String querry ="Select * from usertest";
    ps = am.getOADBTransaction().createPreparedStatement(querry,0);
    try {
    rs = ps.executeQuery();
    while(rs.next()){
    if(rs.getString("USERID").equalsIgnoreCase(ui) rs.getString("PWD").equalsIgnoreCase(pw)
    rs.getString("EmpId").equalsIgnoreCase(ei)){
    temp = true;
    System.out.println("After temp TRUE....");
    // MessageToken[] tokens =
    // { new MessageToken("USERID", ui)};

    OAException confirmMessage =
    new OAException("LOGIN Successful...!!",OAException.CONFIRMATION);
    pageContext.putDialogMessage(confirmMessage); // retain AM

    pageContext.forwardImmediately("OA.jsp?page=/oracle/apps/ak/Emptry/webui/EmpTrySearchPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, null, true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    }else{
    throw new OAException("Username or Password WRONG, Please Check..!!");
    }
    }
    } catch (SQLException e) {
    e.printStackTrace();
    }
    }
    }
    }

    Thanks in advance,
    UKJ

    DB:2.99:Sucess Information Aftr Login Page 79

    Thanks Gaurav...!!!!

    Its working fine now!!!!!

    UKJ

  • RELEVANCY SCORE 2.99

    DB:2.99:Create Page Confirmation Message Should Remain On Same Page 1c


    Gurus,

    I have end users which need to utilize my "create" page over and over in a single session. The problem: every time they create a part, they are redirected to a confirmation page. Does anyone know the proper logic to display the confirmation message on the same page without redirecting?

    Thanks in advance,
    Scott

    if (pageContext.getParameter("Apply") != null)
    {
    OAViewObject vo = (OAViewObject)am.findViewObject("PartGenerationVO1");
    String partNbr = (String)vo.getCurrentRow().getAttribute("PartNbr");
    String acctNbr = (String)vo.getCurrentRow().getAttribute("AcctNbr");
    String partDesc = (String)vo.getCurrentRow().getAttribute("PartDesc");
    System.out.println("Part Number: "+partNbr);
    System.out.println("Acct Number: "+acctNbr);
    System.out.println("Part Desc: "+partDesc);
    am.invokeMethod("apply");

    MessageToken[] tokens = { new MessageToken("PART_NBR",partNbr)};
    OAException confirmMessage = new OAException("AK", "SPL_CREATE_PART_W", tokens);

    pageContext.putDialogMessage(confirmMessage);

    OADialogPage dialogPage = new OADialogPage(OAException.CONFIRMATION,
    confirmMessage,
    null,
    APPLICATION_JSP + "?page=/item/oracle/apps/spl/part/webui/PartCreatePG",
    null);

    dialogPage.setReusePageLayout(true);
    pageContext.releaseRootApplicationModule();
    pageContext.redirectToDialogPage(dialogPage);

    pageContext.putDialogMessage(confirmMessage);

    }

    DB:2.99:Create Page Confirmation Message Should Remain On Same Page 1c

    Hi sreese,
    I think committing some small mistake.Try debugging.I think it should solve the issue.

    Regards

  • RELEVANCY SCORE 2.97

    DB:2.97:Concurrent Request From Oaf zz


    All,

    I have a requirement to submit concurrent program from OAF page.... and I have written the following code in Controller - PFR

    import oracle.apps.fnd.cp.request.ConcurrentRequest;
    import oracle.apps.fnd.cp.request.RequestSubmissionException;

    try
    {
    Vector vector = new Vector();
    vector.addElement(String.valueOf(number));
    OADBTransaction oadbtransaction = oaapplicationmodule.getOADBTransaction();
    ConcurrentRequest concurrentrequest = new ConcurrentRequest(oadbtransaction.getJdbcConnection());
    int i = concurrentrequest.submitRequest("MSC", "MSCLOADS", "File Upload", null, false, vector);
    oadbtransaction.commit();
    HashMap hashmap1 = new HashMap(1);
    hashmap1.put("REQUEST", String.valueOf(i));
    oapagecontext.forwardImmediatelyToCurrentPage(hashmap1, false, "N");
    return;
    }
    catch(RequestSubmissionException _ex)
    {
    oaexception1 = new OAException("MSC", "MSC_LOADS_CONCURRENT_REQ_ERROR");
    }

    I am getting the below compilation errors

    Error(27,35): cannot access class oracle.apps.fnd.cp.request.ConcurrentRequest; file oracle\apps\fnd\cp\request\ConcurrentRequest.class not found
    Error(28,35): cannot access class oracle.apps.fnd.cp.request.RequestSubmissionException; file oracle\apps\fnd\cp\request\RequestSubmissionException.class not found

    We are working on 11.5.10 version

    Any suggestions would be helpful..

    DB:2.97:Concurrent Request From Oaf zz

    Gyan,

    Thank you very much... it worked..

    Thanks,

  • RELEVANCY SCORE 2.97

    DB:2.97:Re: Is It Possible To Use Oa Framework For Custom Development? (Not Just Extn) zf


    You can use OA Framework to build an complete custom module if you wish.

    If you go on the OA Framework - Extend Oracle Apps course then 90% of the topics are regarding doing this.

    The developers guide covers lots of scenarios.

    Jon.

    DB:2.97:Re: Is It Possible To Use Oa Framework For Custom Development? (Not Just Extn) zf

    Sudipta,

    Do you mean you have used OAF outside of Oracle Applications and without any support from oracle apps (ebiz 11i) to build a custom application ?

    I, (and probably many users) would be interested to know how you could perform such a feat.

    Thanks,
    Tapash

  • RELEVANCY SCORE 2.96

    DB:2.96:How To Get Correct Button Id ? 9j


    Hi,

    I have found and conformed 100% correct button id from OAF page and view-source but Why Bottom Id is not working. My code is exist below, kindly help. And I am trying to extend CO of Oracle Customer Page for hold Create Site Button.

    public class xxArCusOvrCO extends ArCusOvrCO {

    public xxArCusOvrCO()
    {
    }

    public static final String RCS_ID = "$Header$";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header$", "%packagename%");
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule rootAm = pageContext.getRootApplicationModule();
    OAApplicationModule am = (OAApplicationModule)rootAm.findApplicationModule("HzPuiAccountSiteAM");
    OAViewObject abVO = (OAViewObject)am.findViewObject("HzPuiAcctSitesTableVO");

    int fetchedRowCount = abVO.getFetchedRowCount();
    String SB = pageContext.getParameter("CreateSiteButton");
    // OASubmitButtonBean SB = (OASubmitButtonBean)webBean.findIndexedChildRecursive("CreateSiteButton");

    //SB.setRendered(false);
    //CreateSiteButton
    //throw new OAException("Exception : " +fetchedRowCount, OAException.ERROR);
    if(SB != null){

    // throw new OAException("Exception : " +fetchedRowCount, OAException.INFORMATION);
    throw new OAException("Exception : " +fetchedRowCount, OAException.ERROR);
    }

    }

    thanks...

    DB:2.96:How To Get Correct Button Id ? 9j

    Hi ,

    Page screen shot is NOT clear , hide only the url .

    Keep the header and footer of the page and highlight the button where it resides on the page .

    Keerthi

  • RELEVANCY SCORE 2.95

    DB:2.95:Re: Handling Enter Ey Of Keyboard sd


    i didnt get u ..
    why should i put this in processRequest ..why not in processFormRequest...

    see my controller code looks like

    /*===========================================================================+
    | Copyright (c) 2001, 2003 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package igate.oracle.apps.icx.irep.client.server.webui;

    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.webui.OADialogPage;
    import oracle.apps.fnd.framework.webui.TransactionUnitHelper;
    import java.io.Serializable;
    /**
    * Controller for ...
    */
    public class igteupdatedbmpCO extends OAControllerImpl
    {
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");

    /**
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    */

    String instancename;

    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processRequest(pageContext, webBean);
    TransactionUnitHelper.startTransactionUnit(pageContext, "empUpdateTxn");
    instancename = pageContext.getParameter("InstanceName");
    pageContext.putTransactionValue("InstanceName", instancename);
    Serializable[] params = { instancename };
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("initDetails1",params);
    }

    /**
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    */

    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {

    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);

    if (pageContext.getParameter("Apply") != null)
    {
    am.invokeMethod("apply");
    OAViewObject vo = (OAViewObject)am.findViewObjec("getcreatemappingVO1");
    TransactionUnitHelper.endTransactionUnit(pageContext, "empUpdateTxn");
    MessageToken[] tokens = { new MessageToken("INS_NAME",instancename)};
    OAException confirmMessage = new OAException("ICX",
    "ITE_IREP_INST_UPDATED", tokens,
    OAException.CONFIRMATION, null);
    pageContext.putDialogMessage(confirmMessage);
    pageContext.forwardImmediately("OA.jsp?page=/ite/oracle/apps/icx/irep/client/server/webui/igte_databasemapping",
    null,OAWebBeanConstants.KEEP_MENU_CONTEXT,null,null,true,OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    }

    else if (pageContext.getParameter("Cancel") != null)
    {
    am.invokeMethod("rollbackEmployee");
    TransactionUnitHelper.endTransactionUnit(pageContext, "empUpdateTxn");
    pageContext.forwardImmediately("OA.jsp?page=/ite/oracle/apps/icx/irep/client/server/webui/igte_databasemapping",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);

    }

    }}

    so my page has cancel and apply button..i want to give enter and apply button same functionality..
    can u give me an idea now...

    pls
    regards
    naveen

    DB:2.95:Re: Handling Enter Ey Of Keyboard sd

    Hi all,

    i am trying to use this functionality for IMAGE item.But i am not getting the expected result.Nothing is happening when i hit enter key.

    i am not sure whether we can implement this with Image item or not.

    if anyone has this information please share with me.

    thanks a lot

  • RELEVANCY SCORE 2.95

    DB:2.95:Re: Which Authentication Framework Is Used By Oracle E-Business Suite 12 ms


    I read the notes on metalink and these are not related to how Oracle Applications do authentication, JAZN is just an Oracle implementation of JAAS to be used in J2EE apps, eBiz certainly is not one.

    Tapash

  • RELEVANCY SCORE 2.95

    DB:2.95:Message Not Displayed After Page Refresh 9p


    The requirement is to display a "Transaction Completed" message on top of the page after user click apply button.

    I put the following code in CO.
    The message does not appear because the page is being refreshed, so the message gets wipe out from screen.

    OAException applyMessage = new OAException("XX", "XX_FWK_COMMIT_COMPLETD", null, OAException.INFORMATION, null);
    pageContext.putDialogMessage(applyMessage);

    pageContext.forwardImmediately("OA.jsp?page=/ldc/oracle/apps/sla/calnet/xref/objectcode/webui/ObjectCodePG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    false,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO); Therefore, I set "true" to retain AM.
    Now the Message appears, but the table (or page) is not being redrawn/refreshed.

    Is there a way to show message and page is still getting refreshed?

    Thanks.

    DB:2.95:Message Not Displayed After Page Refresh 9p

    Researched HashMap usage in Java Doc and OAPageContext.forwardImmediately usage and found that the following works in my case according to Anil's suggestion.

    To AJ: If retain AM, I will get page error with Stale state when user insert row1-apply-delete row1 in a table bean in my setup. But, thanks for the suggestion.

    In PFR:
    Make sure the params is included as the parameter in the page redirect code.
    HashMap params = new HashMap(1);
    params.clear();
    params.put("commit", "YES");

    pageContext.setForwardURLToCurrentPage(params, //HashMap parameters to pass ---------------
    false, // retain the AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);

    //Use above setForwardURLToCurrentPage or use forwardImmediately to redirect the page.

    pageContext.forwardImmediately("OA.jsp?page=/ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG",
    null,
    OAWebBeanConstants.REMOVE_MENU_CONTEXT,
    null,
    params, //HashMap parameters to pass ---------------
    false, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO); In PR:
    String applyClicked = pageContext.getParameter("commit"); // Capture the event which you PUT in PFR of Controller while navigation
    if (applyClicked != null)
    {
    OAException applyMessage = new OAException("XX", "XX_FWK_COMMIT_COMPLETD", null, OAException.INFORMATION, null);
    pageContext.putDialogMessage(applyMessage);
    }Thanks everyone!

  • RELEVANCY SCORE 2.95

    DB:2.95:Oracle Apps 3f


    Knowledge of Virtual environments in Apps.
    Can any body explain on this wat exactly it is
    Oracle apps

    TIA

    DB:2.95:Oracle Apps 3f

    Knowledge of Virtual environments in Apps.
    Can any body explain on this wat exactly it is
    Oracle apps

    TIA

  • RELEVANCY SCORE 2.95

    DB:2.95:Customize Ip fk


    If I have to customize a Standard Oracle PG file eg. PoSummaryCreatePG.xml do I have to put it in xyz.oracle.apps.icx.shopping.webui with the same name PoSummaryCreatePG.xml. It gives me error like

    Invalid value "/oracle/apps/fnd/framework/webui/OAFooter.Privacy" for property "Extends" on component "/dekalb/oracle/apps/icx/icatalog/shopping/webui/PubListsPG.Privacy". Component "/oracle/apps/fnd/framework/webui/OAFooter.Privacy" cannot be referenced from "/dekalb/oracle/apps/icx/icatalog/shopping/webui/PubListsPG.Privacy" because it violates scope restrictions.
    Invalid value "/oracle/apps/fnd/framework/webui/OAFooter.CopyRight" for property "Extends" on component "/dekalb/oracle/apps/icx/icatalog/shopping/webui/PubListsPG.Copyright". Component "/oracle/apps/fnd/framework/webui/OAFooter.CopyRight" cannot be referenced from "/dekalb/oracle/apps/icx/icatalog/shopping/webui/PubListsPG.Copyright" because it violates scope restrictions.
    Invalid value "/oracle/apps/icx/icatalog/shopping/webui/CatalogLangRN" for property "Extends" on component "/dekalb/oracle/apps/icx/icatalog/shopping/webui/PubListsPG.CatalogLangRN". Component "/oracle/apps/icx/icatalog/shopping/webui/CatalogLangRN" cannot be referenced from "/dekalb/oracle/apps/icx/icatalog/shopping/webui/PubListsPG.CatalogLangRN" because it violates scope restrictions.
    Invalid value "/oracle/apps/icx/icatalog/shopping/webui/ShoppingCartRN" for property "Extends" on component "/dekalb/oracle/apps/icx/icatalog/shopping/webui/PubListsPG.ShoppingCartRN". Component "/oracle/apps/icx/icatalog/shopping/webui/ShoppingCartRN" cannot be referenced from "/dekalb/oracle/apps/icx/icatalog/shopping/webui/PubListsPG.ShoppingCartRN" because it violates scope restrictions.
    spacer is not a valid indexed child of tableLayout.

    DB:2.95:Customize Ip fk

    Just wanted to explain the problem a little more...

    I have to extend/customize the Oracle page PubListsPG.xml in Iproc. I have brought PubListsPG.xml into dekalb/oracle/apps/icx/icatalog/shopping/webui directory on my PC. When I include it in my project I get the errors pasted in my email below. The first 2 errors about OAFooter.Privacy and OAFooter.CopyRight is becos the page is in dekalb/oracle/apps/icx/icatalog/shopping/webui directory but the extends attribute for Copyright and Privacy items of PubListsPG.xml have value "/oracle/apps/fnd/framework/webui/OAFooter.CopyRight".

    The other 2 errors are also similar becos the page is in dekalb/oracle/apps/icx/icatalog/shopping/webui but the extends attribute for CatalogLangRN region of the PubListsPG.xml has the value "/oracle/apps/icx/icatalog/shopping/webui/CatalogLangRN".

    If I put the page PubListsPG.xml in /oracle/apps/icx/icatalog/shopping/webui but I thought any customization should be in dekalb/oracle/apps/icx/icatalog/shopping/webui directory....

    Also I will still get the error for /oracle/apps/fnd/framework/webui/OAFooter.CopyRight becos the classes for it are in /oracle/apps/fnd/framework/webui/ directory not oracle/apps/icx/icatalog/shopping/webui.

    Do I have to define Additional classpaths. I have classpath as only "C:\JDev\jdevhome\jdev\myclasses" in my Jdeveloper.

  • RELEVANCY SCORE 2.95

    DB:2.95:Duplicate Item 'Arcmgtap/10052' Could Not Be Created p7


    Hi
    Am getting error while am saving the record acutally i implemented a new submit button progamtically and now it is giving error when i click that button and i have extended the controller and i have created one more submit button with SaveContinue ( means to be Save and Continue) but i am getting wrong .
    so plz help me am giving u the error am getting and i will give u the code which i wrote.
    Thankq

    oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-20002: 3122: Duplicate item 'ARCMGTAP/10052' could not be created.
    ORA-06512: at "APPS.WF_ENGINE", line 4154
    ORA-06512: at "APPS.AR_CMGT_WF_ENGINE", line 919
    ORA-06512: at line 1

    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)

    and in extended controller i wrote a new submit button for that the code is here
    process request()
    OAPageButtonBarBean oapagebuttonbarbean = (OAPageButtonBarBean)oawebBean;
    OAViewObject oaviewobject = (OAViewObject)oapageContext.getApplicationModule(oawebBean).findViewObject("creditRequestsVO");
    oaviewobject.setMaxFetchSize(0);
    OASubmitButtonBean oasb= (OASubmitButtonBean)oapageContext.getWebBeanFactory().createWebBean(oapageContext,"BUTTON_SUBMIT");
    oasb.setID("SaveContinue");
    oasb.setUINodeName("SaveContinue");
    oasb.setEvent("SaveContinue");
    oasb.setText("SaveContinue");
    oasb.setLabel("SaveContinue");
    oawebBean.addIndexedChild(oasb);
    oracle.jbo.Row row = oaviewobject.first();
    if(row != null)
    {
    String s1 = row.getAttribute("Status") != null ? row.getAttribute("Status").toString() : "-99";
    if(s1.equals("SaveContinue"))
    {
    OAWebBean oawebbean4 = oapagebuttonbarbean.findIndexedChildRecursive("FndSaveContinueButtonSubmit");
    oawebbean4.setRendered(false);
    }
    }

    Processformrequest()
    {
    String s1 = oapageContext.getParameter("_FORM_SUBMIT_BUTTON");
    String s2 = oapageContext.getParameter("SaveContinue");

    if(oapageContext.getParameter("SaveContinue")!=null)
    {
    OAViewObject oaviewobject1 = (OAViewObject)oapageContext.getApplicationModule(oawebBean).findViewObject("creditRequestsVO");
    oaviewobject1.first().setAttribute("Status", "SAVE");
    } else
    if(s2 == null s1.equals("YesButton") !oapageContext.getRootRegionCode().equals("ARCMBANKREFERENCEPAGELAYOUT") !oapageContext.getRootRegionCode().equals("ARCMGUARANTORPAGELAYOUT") !oapageContext.getRootRegionCode().equals("ARCMOTHERDATADETAILSPAGE") !oapageContext.getRootRegionCode().equals("ARCMTRADEREFERENCEPAGELAYOUT"))
    oapageContext.getRootRegionCode().equals("ARCMCOLLATERALDATADETAILSPAGE");
    if(s1.equals("SaveContinue") || s1.equals("ArCmSubmit") || s1.equals("YesRefButtonWarn"))
    {
    oapageContext.getApplicationModule(oawebBean).invokeMethod("saveApplication");
    OAViewObject oaviewobject2 = (OAViewObject)oapageContext.getApplicationModule(oawebBean).findViewObject("creditRequestsVO");
    oracle.jbo.Row row = oaviewobject2.first();
    String s5 = null;
    if(row != null)
    s5 = row.getAttribute("ApplicationNumber").toString();
    String s6 = "OA.jsp?akRegionCode=ARCMCUSTSEARCHPAGEakRegionApplicationId=222OASF=ARCMAPPCUSTSEARCHOAHP=ARCMMENUAPPLICATION";
    MessageToken amessagetoken[] = new MessageToken[1];
    amessagetoken[0] = new MessageToken("APPL_NUMBER", s5);
    if(s1.equals("ArCmSubmit") || s1.equals("YesRefButtonWarn"))
    {
    OAException oaexception = new OAException("AR", "AR_CMGT_APPLN_SUB_CNFRM_DESC", amessagetoken);
    OAException oaexception2 = new OAException("AR", "AR_CMGT_APPLN_SUB_CNFRM_INSTR");
    OADialogPage oadialogpage1 = new OADialogPage((byte)3, oaexception, oaexception2, s6, null);
    oadialogpage1.setReuseMenu(false);
    writeDiagnostics(oapageContext, this, "Before +++++++++++++");
    oapageContext.redirectToDialogPage(oadialogpage1);
    } else
    {
    OAException oaexception1 = new OAException("AR", "AR_CMGT_APPLN_SAVE_CNFRM_DESC", amessagetoken);
    OAException oaexception3 = new OAException("AR", "AR_CMGT_APPLN_SAVE_CNFRM_INSTR");
    OADialogPage oadialogpage2 = new OADialogPage((byte)3, oaexception1, oaexception3, s6, null);
    oadialogpage2.setReuseMenu(false);
    oapageContext.redirectToDialogPage(oadialogpage2);
    }
    }

    //url of the page // here the code i s for return back to the same page after saving the details
    String url ="/oracle/apps/ar/creditmgt/application/webui/ARCMCREDITAPPPAGE";
    //retain am parameter
    String amMode ="true";
    //Computing page_url
    String page = url + "retainAM=" + amMode + "fndOAJSPinEmbeddedMode=y" + "";
    //Computing final url
    String destURL =
    OAWebBeanConstants.APPS_HTML_DIRECTORY + OAWebBeanConstants.APPLICATION_JSP +
    "?" + OAWebBeanConstants.JRAD_PAGE_URL_CONSTANT + "=" + page;
    }
    }

    DB:2.95:Duplicate Item 'Arcmgtap/10052' Could Not Be Created p7

    Hi,

    I'm not sure but it seems that it is trying to invoke WF for item key which already exists.

    Regards,
    Reetesh Sharma

  • RELEVANCY SCORE 2.95

    DB:2.95:Oracle Apps zx


    Is Oracle apps and Oracle application express are same or different ?

    Yogesh

    DB:2.95:Oracle Apps zx

    Hi

    http://www.oracle.com/us/products/applications/index.htm

    vs

    http://www.oracle.com/technology/products/database/application_express/index.html

    I'm not entirely sure of in what context you are asking this though.

    Cheers

    Ben

  • RELEVANCY SCORE 2.94

    DB:2.94:Submitting Concurrent Request From Standard Oaf Page 1k


    Hi,

    I'm a new comer to both Java and OA Framework.. I'm working in oracle apps from a long time but my experience is with forms and reports based world so excuse me if i'm asking a dumb question.. My requirement is to add a button to a standard page.. When the button is pressed, i should kick off a concurrent request and after that re-direct to the view output page to view the output..

    I added the button to the screen via personalization.. I want to extend the controller of that page and execute the submitRequest.. I'm getting this error which i'm not able to figure it out.. I will appreciate if you can let me know what is the cause..

    Thanks for your help!!
    Shree

    =======================================================

    "Error(73,27): method submitRequest(java.lang.String, java.lang.String, java.lang.String, null, boolean, com.sun.java.util.collections.Vector) not found in class oracle.apps.fnd.cp.request.ConcurrentRequest"

    ========================================================

    Here is my code
    =======================================================
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.cp.request.ConcurrentRequest;
    import oracle.apps.fnd.cp.request.RequestSubmissionException;
    import oracle.apps.fnd.cp.request.SetDeferredRequestException;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import com.sun.java.util.collections.HashMap;
    import com.sun.java.util.collections.Vector;
    import oracle.apps.fnd.cp.request.SetDeferredException;
    import java.sql.Connection;
    import oracle.apps.fnd.framework.OAException;

    if (pageContext.getParameter("Report") != null)
    {
    try
    {
    OAApplicationModule am = pageContext.getApplicationModule(webBean) ;
    OADBTransaction transaction = am.getOADBTransaction();
    Connection conn = transaction.getJdbcConnection();
    ConcurrentRequest cr = new ConcurrentRequest(conn);
    cr.setDeferred();
    Vector param = new Vector();
    int reqId = cr.submitRequest("XXXAP", "XXAPTRLB", "AP Trial Balance",null, true, param);
    transaction.commit();
    System.out.println("Request ID "+reqId);

    HashMap parameters = new HashMap();
    String url = "OA.jsp";
    parameters.put("akRegionApplicationId", "0");
    parameters.put("akRegionCode", "FNDCPREQUESTVIEWPAGE");
    String id = "" + reqId + "";
    parameters.put("requestMode", "DEFERRED");
    parameters.put("requestId", id);

    pageContext.setForwardURL(url,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    parameters,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    }

    catch (SetDeferredException e)
    {
    throw new OAException("Set Deferred=" + e.getMessage(),OAException.ERROR);
    }

    }
    ========================================================

    DB:2.94:Submitting Concurrent Request From Standard Oaf Page 1k

    Updated the original thread Re: Submitting Concurrent Request

    --Shiv

  • RELEVANCY SCORE 2.93

    DB:2.93:Hardware Sizing For Oracle Applications 12i 7j


    Dear all,
    We are Implementing Oracle Applications R-12 on Linux -AS 4 for 50 users

    Oracle Apps modules

    Oracle General Ledger

    Oracle Receivables

    Oracle Payables

    Oracle Fixed Assets

    Oracle Cash Management

    Oracle E-Business Tax

    India Localization

    Oracle Purchasing

    Oracle Inventory

    Oracle Enterprise Asset Management

    Oracle CRM ( Marketing, Services, Sales incl Install Base)

    Oracle Business Intelligence and Oracle Discoverer

    Pl suggest the hardware sizing.

    Regards

    Vasu

    DB:2.93:Hardware Sizing For Oracle Applications 12i 7j

    Hello Vasu, you can also go to http://www.sizingloune.com for server sizing on hp, ibm, dell and sun.

  • RELEVANCY SCORE 2.92

    DB:2.92:Oracle Apps Docs fc


    where i can get oracle Apps Docs

    DB:2.92:Oracle Apps Docs fc

    Hi,

    where i can get oracle Apps Docshttp://tinyurl.com/37ko5fs

    Please search the forum (or at least Google) before posting similar questions.

    Thanks,
    Hussein

  • RELEVANCY SCORE 2.92

    DB:2.92:Re: How To Differenciate Between Normal Request And Mobile Device Request ap


    Kali,

    Just check the AppsLocalLogin.jsp
    there is a code snippet which sets the requestUrl based upon PDA or non PDA

    if it is PDA login, it sets the URL to
    /OA_HTML/OA.jsp?page=/oracle/apps/fnd/framework/navigate/webui/AppsNavigateMobilePG

    and if its non PDA, it sets to
    /oracle/apps/fnd/framework/navigate/webui/HomePG

    Hope this adds value in ur search..

    - Senthil

    DB:2.92:Re: How To Differenciate Between Normal Request And Mobile Device Request ap

    Yes Mukul,

    I will do the same, i will use putSessionValueDirect, but i will remove from the session after use.

    Thanks.

    With Regards,
    Kali.
    OSSI.

  • RELEVANCY SCORE 2.92

    DB:2.92:Custom Oaf Conversion From 11i To R12 - How To Run The Adcgnjar Utility m9


    Gurus,I'm having the hardest time converting our custom OAF pages from 11i to R12 formats. I keep getting an OAException error on my Application Module and most of the other threads are pointing to the following utility which needs to be run. However, the section which is suppose to explain how to run the "adcgnjar" untility doesn't explain where to run this from. There is no shell in $JAVA_TOP with this file and the command line doesn't recognize the name.Anyone have any idea how to run this utillity?!?ThanksScottSection 5.3: Running the adcgnjar Utility Use the adcgnjar utility for any custom Java or BC4J code for Oracle Application Framework, Oracle CRM Technology Foundation (JTT), Oracle Web Applications Desktop Integrator (BNE), custom servlets, or other custom Java code. This utility generates and signs a file named customall.jar file containing the custom Java and BC4J code and extensions. The customall.jar file is included in the ebsProductManifest.xml so that the customall.jar will be in the CLASSPATH through the ebs-product shared library.The adcgnjar utility does not require any parameters on the command line. When prompted, enter the user name and password of the APPS user.The utility performs the following steps: Creates a temporary custom.zip file that contains all the directories under $JAVA_TOP except the oracle, META-INF, and policies directories. Generates and signs the customall.jar file with the contents of the custom.zip file. Deletes the temporary custom.zip file.

    DB:2.92:Custom Oaf Conversion From 11i To R12 - How To Run The Adcgnjar Utility m9

    Hello Team,I am facing similiar issue in R12.2.3,oracle.apps.fnd.framework.OAException: Could not load application module 'joy.oracle.apps.po.server.JoySearchAM'.I have listed the process i am following, please let me know if i miss any.) Devleoped custom search page using latest pack - (Patch- p17888411_R12_GENERIC.2) Complied and tested in J-developer and deployed the full folder under $JAVA_TOP.3) executed java oracle.jrad.tools.xml.importer.XMLImporter under $JAVA_TOP4) verifed using jdr_utils.printdocument and it displayed entire structure from database.5) registered -- function and call the same in under PO responsibility Menu.6) Cust Page error with oracle.apps.fnd.framework.OAException: Could not load application module..Could you please add if i miss any in above steps.and also let me know when and where to execute adcgnjar utilityFrom Deploying Customizations in Oracle E-Business Suite Release 12.2 ( Doc ID 1577661.1). Do i need to execute both 5.5 and 5.3 ..? What is order i need to follow first 5.3 and then 5.5..? Thanks in advance.

  • RELEVANCY SCORE 2.92

    DB:2.92:What Is Oracle Apps? 7f


    I am a basic oracle learner. What is the difference between oracle apps and sql plus?

    DB:2.92:What Is Oracle Apps? 7f

    hi,

    sqlplus is a tool to connec to the oracle database and query out.. and oralce apps is a diiferent..

    as said google is your friend

    http://lmgtfy.com/?q=what+is+oracle+apps%3F

    regards,
    Deepak

  • RELEVANCY SCORE 2.92

    DB:2.92:Need Help Resolving Errors sz


    Hi,

    Please help me resolve the following errors.

    C:\Documents and Settings\Sysadmin\Desktop\XXECS_INTF_UPLOAD_TOOL_OAF_JAVA\oracle\apps\xxecs_dist\qp\upload\server\EcsComnFileUploadLogVOImpl.java
    Error(2,8): OAViewObjectImpl not found
    C:\Documents and Settings\Sysadmin\Desktop\XXECS_INTF_UPLOAD_TOOL_OAF_JAVA\oracle\apps\xxecs_dist\qp\upload\webui\WrapperCO.java
    Error(13,8): VersionInfo not found
    Error(14,8): OAControllerImpl not found
    Error(15,8): OAPageContext not found
    Error(17,8): OAWebBean not found
    Error(20,8): OAMessageFileUploadBean not found
    Error(22,8): OAMessageListBean not found
    Error(23,8): OAApplicationModule not found
    Error(24,8): OAException not found
    Error(25,8): MessageToken not found
    Error(26,8): DataObject not found
    Error(28,8): BlobDomain not found
    Error(32,8): OAMessageChoiceBean not found
    Error(33,8): OAMessageLovInputBean not found
    Error(34,8): OAWebBeanConstants not found
    Error(35,8): Row not found
    Error(36,8): OAFormValueBean not found
    Error(47,9): identifier VersionInfo not found
    Error(76,51): identifier OAWebBeanConstants not found
    Error(132,84): identifier OAException not found
    Error(139,82): identifier OAException not found
    Error(444,40): identifier OAException not found
    Error(471,39): identifier OAWebBeanConstants not found
    Error(475,39): identifier OAWebBeanConstants not found
    C:\Documents and Settings\Sysadmin\Desktop\XXECS_INTF_UPLOAD_TOOL_OAF_JAVA\oracle\apps\xxecs_dist\qp\upload\webui\VendorUploadMainCO.java
    Error(63,9): identifier VersionInfo not found
    Error(91,51): identifier OAWebBeanConstants not found
    Error(172,84): identifier OAException not found
    Error(179,82): identifier OAException not found
    Error(561,40): identifier OAException not found
    Error(568,39): identifier OAWebBeanConstants not found
    Error(572,39): identifier OAWebBeanConstants not found
    C:\Documents and Settings\Sysadmin\Desktop\XXECS_INTF_UPLOAD_TOOL_OAF_JAVA\arrow\apps\xxecs_dist\qp\upload\lov\server\VendorNameLovVORowImpl.java
    Error(2,8): OAViewRowImpl not found
    Error(3,8): AttributeDefImpl not found
    Error(59,20): method getAttributeInternal(int) not found in class oracle.apps.xxecs_dist.qp.upload.lov.server.VendorNameLovVORowImpl
    Error(68,5): method setAttributeInternal(int, java.lang.String) not found in class oracle.apps.xxecs_dist.qp.upload.lov.server.VendorNameLovVORowImpl
    Error(77,20): method getAttributeInternal(int) not found in class oracle.apps.xxecs_dist.qp.upload.lov.server.VendorNameLovVORowImpl
    Error(86,5): method setAttributeInternal(int, java.lang.String) not found in class oracle.apps.xxecs_dist.qp.upload.lov.server.VendorNameLovVORowImpl
    C:\Documents and Settings\Sysadmin\Desktop\XXECS_INTF_UPLOAD_TOOL_OAF_JAVA\oracle\apps\xxecs_dist\qp\upload\webui\VendorUploadStatusMainCO.java
    Error(13,8): Number not found
    Error(22,9): identifier VersionInfo not found
    C:\Documents and Settings\Sysadmin\Desktop\XXECS_INTF_UPLOAD_TOOL_OAF_JAVA\oracle\apps\xxecs_dist\qp\upload\server\VendorUploadAMImpl.java
    Error(2,8): OAApplicationModuleImpl not found
    Error(3,8): OADBTransaction not found
    Error(5,8): OAViewObject not found
    Error(7,8): Date not found
    Error(9,8): OARow not found
    Error(61,5): method launchTester(java.lang.String, java.lang.String) not found in class oracle.apps.xxecs_dist.qp.upload.server.VendorUploadAMImpl
    Error(65,52): method getOADBTransaction() not found in class oracle.apps.xxecs_dist.qp.upload.server.VendorUploadAMImpl
    Error(75,48): method getDBTransaction() not found in class oracle.apps.xxecs_dist.qp.upload.server.VendorUploadAMImpl
    Error(119,49): method getDBTransaction() not found in class oracle.apps.xxecs_dist.qp.upload.server.VendorUploadAMImpl
    Error(170,57): method getDBTransaction() not found in class oracle.apps.xxecs_dist.qp.upload.server.VendorUploadAMImpl
    Error(266,42): method getDBTransaction() not found in class oracle.apps.xxecs_dist.qp.upload.server.VendorUploadAMImpl
    Error(325,35): method getOADBTransaction() not found in class oracle.apps.xxecs_dist.qp.upload.server.VendorUploadAMImpl
    Error(336,5): method getOADBTransaction() not found in class oracle.apps.xxecs_dist.qp.upload.server.VendorUploadAMImpl
    Error(342,38): method findViewObject(java.lang.String) not found in class oracle.apps.xxecs_dist.qp.upload.server.VendorUploadAMImpl
    Error(359,38): method findViewObject(java.lang.String) not found in class
    oracle.apps.xxecs_dist.qp.upload.server.VendorUploadAMImpl
    Error(435,38): method findViewObject(java.lang.String) not found in class oracle.apps.xxecs_dist.qp.upload.server.VendorUploadAMImpl
    Error(489,30): method findViewObject(java.lang.String) not found in class oracle.apps.xxecs_dist.qp.upload.server.VendorUploadAMImpl
    Error(498,40): method findViewObject(java.lang.String) not found in class oracle.apps.xxecs_dist.qp.upload.server.VendorUploadAMImpl

    DB:2.92:Need Help Resolving Errors sz

    While running code from jdeveloper all your project files should be in myprojects folder and also u need to set "JDEV"_USER_HOME", enviornmental variable on the OS you are working. It seems you are trying to run code from a folder on desktop, as first line of error refers :
    "C:\Documents and Settings\Sysadmin\Desktop\XXECS_INTF_UPLOAD_TOOL_OAF_JAVA\oracle\apps\xxecs_dist\qp\upload\server\EcsComnFileUploadLogVOImpl.java"

    You need to do following :
    1) Set JDEV_USER_HOME
    2)Create a NEW oaf PROJECT AND APPLICATION in jdeveloper
    3) Add necessary files from myprojects in this project

    and then run. If you are new to this, refer to dev guide and blog entry :
    http://mukx.blogspot.com/2007/06/extensions-in-oa-framework-by-mukul.html

    --Mukul

  • RELEVANCY SCORE 2.91

    DB:2.91:Link From External Web Page To Oracle Apps Form (6i) pd


    I have a requirement to put link on a company web page that links directly to an Oracle Apps form (like the Person form for example). We are able to do this with the OA Framework Self-Service pages, where clicking the link brings up a login page and after logging-in the user goes directly to the specific Self-Service page.

    Could I get an example of how to do something similar with a link to an Oracle Form within Oracle Apps if it can be done?

    Thanks, Rob

    DB:2.91:Link From External Web Page To Oracle Apps Form (6i) pd

    I have a requirement to put link on a company web page that links directly to an Oracle Apps form (like the Person form for example). We are able to do this with the OA Framework Self-Service pages, where clicking the link brings up a login page and after logging-in the user goes directly to the specific Self-Service page.

    Could I get an example of how to do something similar with a link to an Oracle Form within Oracle Apps if it can be done?

    Thanks, Rob

  • RELEVANCY SCORE 2.90

    DB:2.90:Please Urgent: Oaf Processing Page Control Never Returns To Main Page!!! x3


    Hello Friends,

    I have a strange issue and I'm unable to understand why? since it is working in my Jdeveloper flowlessly, but when I deployed into Dev instance, after launching the upload process(submit) from the main page, the control never comes back from processing page, but in the background the upload/validate process performed successfully, since I checked on the server path, newly uploaded file exists.
    For eg. PVU_FILE_20111017_141019_XXCONV.csv
    I appreciate your help, please let me know where I'm having issue?

    1. On Jdev - Processing page returning the cotrol back to main page - YES
    2. On instance - Processing page returning the cotrol back to main page - NO

    Instance Details:
    Jdev path: p8431482_R12_GENERIC
    OA Framework ver: 12.1.1

    Main Page:
    Xxsmgt_ManualDataUploadPG.xml
    Xxsmgt_ManualDataUploadCO.java

    Processing Page CO
    ValidateProcessCO.java

    ===================================================
    Main page Controller : Xxsmgt_ManualDataUploadCO
    ====================================================

    public void processFormRequest(OAPageContext pageContext,
    OAWebBean webBean) {

    if (pageContext.getParameter("Submit") != null) {
    System.out.println("Xxsmgt_ManualDataUploadCO_Submit_BEGIN ");
    BlobDomain uploadedByteStream = null;
    String uFileName = null;
    DataObject fileUploadData = null;
    OAWebBeanFileUpload uploadObj = null;
    OAApplicationModule am;
    am = pageContext.getApplicationModule(webBean);
    fileUploadData = pageContext.getNamedDataObject("FileUpload");
    uploadObj =
    (OAWebBeanFileUpload)webBean.findChildRecursive("FileUpload");
    if ((uploadObj.getValue(pageContext) == null)) {
    am.invokeMethod("clearResultsTable");
    OAException expMsg = getFileNotFoundException();
    pageContext.putDialogMessage(expMsg);
    }
    if (fileUploadData != null) {
    try {
    uFileName =
    (String)fileUploadData.selectValue(null, "UPLOAD_FILE_NAME");
    } catch (Exception ex) {
    uFileName = null;
    am.invokeMethod("clearResultsTable");
    OAException expMsg = getFileNotFoundException();
    pageContext.putDialogMessage(expMsg);
    }
    }
    if (uFileName == null) {
    am.invokeMethod("clearResultsTable");
    OAException expMsg = getFileNotFoundException();
    pageContext.putDialogMessage(expMsg);
    }
    uploadedByteStream =
    (BlobDomain)fileUploadData.selectValue(null, uFileName);

    am.getOADBTransaction().putTransientValue("uploadedByteStream", uploadedByteStream);
    am.getOADBTransaction().putTransientValue("uFileName", uFileName);

    OAMessageChoiceBean riceObj =
    (OAMessageChoiceBean)webBean.findIndexedChildRecursive("RiceObject");
    String riceObjName =
    (String)riceObj.getSelectionValue(pageContext);

    OAMessageChoiceBean pathObj =
    (OAMessageChoiceBean)webBean.findIndexedChildRecursive("DestPath");
    String pathText = (String)pathObj.getSelectionText(pageContext);

    OAProcessingPage page =
    new OAProcessingPage("usps.oracle.apps.xxsmgt.mdu.webui.ValidateProcessCO");
    page.setApplicationModuleDefName("usps.oracle.apps.xxsmgt.mdu.server.Xxsmgt_ManulaDataUploadAM");
    page.setRetainAMValue(true);
    page.setConciseMessage("Rice Object validation [Greater than 10mb files may take long time to upload].");
    page.setDetailedMessage("Rice Object Type: [" + riceObjName +
    "] /br File Name: [" + uFileName + "].");
    page.setProcessName("Validation process is in progress! please do not close this window.");
    pageContext.forwardToProcessingPage(page);
    System.out.println("Xxsmgt_ManualDataUploadCO_Submit_END ");
    }

    }

    ==============================================================================
    Processing Page CO
    ValidateProcessCO.java
    ===============================================================================

    public class ValidateProcessCO extends OAControllerImpl {
    public static final String RCS_ID = "$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");

    /**
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    */
    public void processRequest(OAPageContext pageContext, OAWebBean webBean) {
    super.processRequest(pageContext, webBean);
    }

    /**
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    */
    public void processFormRequest(OAPageContext pageContext,
    OAWebBean webBean) {
    super.processFormRequest(pageContext, webBean);

    System.out.println("Xxsmgt_ValidateProcessCO_BEGIN ");
    OAApplicationModule am;
    am = pageContext.getApplicationModule(webBean);
    BlobDomain uploadedByteStream = null;
    String uFileName = null;
    OAException exceptionMsg;

    uploadedByteStream = (BlobDomain)am.getOADBTransaction().getTransientValue("uploadedByteStream");
    uFileName = (String)am.getOADBTransaction().getTransientValue("uFileName");

    try {

    Serializable[] params = { uploadedByteStream, uFileName };
    Class classType[] = { BlobDomain.class, String.class };
    exceptionMsg =
    (OAException)am.invokeMethod("ValidateAndUpload", params,
    classType);
    } catch (Exception e) {
    exceptionMsg =
    new OAException(e.getMessage().toString(), OAException.ERROR);

    am.getOADBTransaction().removeTransientValue("uploadedByteStream");
    am.getOADBTransaction().removeTransientValue("uFileName");

    pageContext.putDialogMessage(exceptionMsg);
    pageContext.forwardImmediately("OA.jsp?page=usps/oracle/apps/xxsmgt/mdu/webui/Xxsmgt_ManualDataUploadPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, null, true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES);
    }

    am.getOADBTransaction().removeTransientValue("uploadedByteStream");
    am.getOADBTransaction().removeTransientValue("uFileName");

    pageContext.putDialogMessage(exceptionMsg);
    pageContext.forwardImmediately("OA.jsp?page=usps/oracle/apps/xxsmgt/mdu/webui/Xxsmgt_ManualDataUploadPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, null, true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES);
    System.out.println("Xxsmgt_ValidateProcessCO_END ");
    }

    Edited by: 891884 on Oct 17, 2011 1:25 PM

    Edited by: 891884 on Oct 17, 2011 1:57 PM

    DB:2.90:Please Urgent: Oaf Processing Page Control Never Returns To Main Page!!! x3

    thank you so much for your reply,
    I'm sorry, been working on other priority task couldn't come back in time,
    Yes your correct, Issue resolved.

  • RELEVANCY SCORE 2.89

    DB:2.89:Error Page When Using Dilaogpage In Apps pa


    Hi,

    I have the following code for handing the dialog page.

    if (pageContext.getParameter("cancel") != null)
    {
    OAException mainMessage = new OAException("FND", "FND_CANCEL_WARNING");
    OADialogPage dialogPage = new OADialogPage(OAException.WARNING,
    mainMessage,
    null,
    "",
    "");
    String ok = pageContext.getMessage("FND", "FND_DIALOG_OK", null);
    String cancel = pageContext.getMessage("FND", "CANCEL", null);
    dialogPage.setOkButtonItemName("OKButton");
    dialogPage.setOkButtonToPost(true);
    dialogPage.setNoButtonToPost(true);
    dialogPage.setPostToCallingPage(true);
    dialogPage.setOkButtonLabel(ok);
    dialogPage.setNoButtonLabel(cancel);
    pageContext.redirectToDialogPage(dialogPage);
    }
    else if (pageContext.getParameter("OKButton") != null)
    {
    pageContext.setForwardURL("OA.jsp?page=/empsearch/oracle/apps/per/asg/webui/SearchPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    false, // Dont Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    }

    This works fine on my local machine. After loading it to application, it throws "error page contact system admin" when i click "ok" or "cancel" buttons on the dialog page.

    I checked in application - messages and i have all FND_CANCEL_WARNING, FND_DIALOG_OK and CANCEL under FND.

    Someone Please help me on this.

    DB:2.89:Error Page When Using Dilaogpage In Apps pa

    Hi,

    Can you enable FND: Diagnostics at user level.
    Enable for the user A and not for user B.

    And logic as user A and B, and see the error is coming for both the users.

    Is the apps version is R12, hope you would have bounced the oacore, if not bounce the oacore and check the issue.

    Thanks.

    With Regards,
    Kali.
    OSSi.

  • RELEVANCY SCORE 2.88

    DB:2.88:Register Oracle Forms And Reports On Oracle Apps 11i d1


    Hi all

    I am a newbie to oracle apps 11i
    can someone help with how to register oracle forms and reports on oracle apps 11i,oracle apps is configured on IBM AIX server in the lace where i ma working
    please help

    thanking in advance
    regards
    oracle user

  • RELEVANCY SCORE 2.87

    DB:2.87:Oracle Apps And Jdeveloper Compatibility mp


    hi

    Plz suggest the Compatibilty between the Oracle Apps and Jdeveloper

    For Oracle APPS 11i = Can we use Jdeveloper 10g

    For Oracle APPS R12 = Can we use Jdeveloper 9i

    Thanx

    DB:2.87:Oracle Apps And Jdeveloper Compatibility mp

    Hi,

    Though your query has been answered, still I want to add few things here

    For every release of Oracle Apps there is a different patch in R11 also there are many patches available suppose you are using 11.5.10 CU2 then patch will be different and will be specific to this release or if you are using 11.5.10 RUP5 or 7 or any other Roll ups it will be having different patches to work with a particular apps version you must download the correct version of patch.

    same is true for R12 also, with the releases Patch will change everyone should use the correct patch for OAF.

    There are two type of Jdevelopers one is simple Jdeveloper which can not be used for OAF development, another one is JDeveloper with OA Extension. Jdeveloper with OAExtension is available in form of Patch and we should use those only to avoid any problem during development.

    Regards,
    Reetesh Sharma

  • RELEVANCY SCORE 2.87

    DB:2.87:Problem In Displaying Hello World cc


    Hi,
    I followed all the steps of page creation hello world
    http://oraclearea51.com/articles/oracle-technical-articles/oa-framework/oa-framework-beginners-guide.html
    the excutive of the page is done successfully, but by entering a word in the name field and click go I have nothing more.

    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processFormRequest(pageContext, webBean);
    if(pageContext.getParameter("GO")!=null)
    {
    String userCount=pageContext.getParameter("HelloName");
    String msg="Bonjour, "+userCount;
    System.out.println(msg);
    throw new OAException(msg,OAException.INFORMATION);

    }
    }
    I added "System.out.println(msg)" but it appears nothing in Embedded OC4J server Log.
    is that what one can help me?
    thanks.

    DB:2.87:Problem In Displaying Hello World cc

    hi,
    thank u for helping me,
    i found the solution, i have to add the name of my Pc to the settings proxy in the web browser.
    Thnks,

  • RELEVANCY SCORE 2.85

    DB:2.85:Console Errors: jd


    Hi, when I try to open my Oracle server via client (Linux Fedora Core 3), the Java Console show errors:

    Java Plug-in 1.5.0_01
    Using JRE version 1.5.0_01 Java HotSpot(TM) Client VM
    User home directory = /root

    ----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to n
    ----------------------------------------------------

    com.sun.java.swing.plaf.gtk.GTKLookAndFeel/icons/Warn.gif not found.
    com.sun.java.swing.plaf.gtk.GTKLookAndFeel/icons/Inform.gif not found.
    java.lang.NoSuchMethodException: sun.java2d.SunGraphicsEnvironment.setFallbackFont(java.lang.String)
    at java.lang.Class.getMethod(Class.java:1581)
    at oracle.forms.engine.Main.initDesktop(Unknown Source)
    at oracle.forms.engine.Main.start(Unknown Source)
    at sun.applet.AppletPanel.run(AppletPanel.java:413)
    at java.lang.Thread.run(Thread.java:595)
    java.lang.NoSuchMethodException: sun.java2d.SunGraphicsEnvironment.preferLocaleSpecificFonts()
    at java.lang.Class.getMethod(Class.java:1581)
    at oracle.forms.engine.Main.initDesktop(Unknown Source)
    at oracle.forms.engine.Main.start(Unknown Source)
    at sun.applet.AppletPanel.run(AppletPanel.java:413)
    at java.lang.Thread.run(Thread.java:595)
    connectMode=Socket
    serverHost=spapps1.semenpadang.co.id
    serverPort=9000
    Forms Applet version is : 60823
    SocketListener activated
    SocketListener exiting..

    and also I can't view the 'View Output' and 'View Log...' button from every requests completed. When I hit the button, I get msg windows that tell:

    FRM-92080: Failed to execute command.
    Command = mozilla http://spapps1.semenpadang.co.
    id:8000/OA_CGI/FNDWRR.exe?
    temp_id=2665876474login=APPLSYSPUB/PUB@PROD1
    Full Details: java.io.IOException: mozilla: not found

    I'm not entering the URL: http://spapps1:8000/dev60cgi/f60cgi, but I'm using HTML's file:

    BASE HREF="http://spapps1.semenpadang.co.id:8000/dev60cgi/"
    HTML
    !-- $Header: appsbase.htm 115.18 2003/02/17 04:15:03 smaradan ship $ --
    !-- appsweb.cfg 115.121 --
    HEAD
    TITLEOracle Applications 11i /TITLE
    /HEAD
    BODY
    IMG SRC="/OA_JAVA/oracle/apps/media/forms_logo.gif" border=0br clear=all

    EMBED TYPE="application/x-java-applet;version=1.1.2" width=250 height=120
    codebase="/OA_JAVA/"
    code="oracle.forms.engine.Main"
    archive="/OA_JAVA/oracle/apps/fnd/jar/fndforms.jar,/OA_JAVA/oracle/apps/fnd/jar/fndformsi18n.jar,/OA_JAVA/oracle/apps/fnd/jar/fndewt.jar,/OA_JAVA/oracle/apps/fnd/jar/fndswing.jar,/OA_JAVA/oracle/apps/fnd/jar/fndbalishare.jar,/OA_JAVA/oracle/apps/fnd/jar/fndaol.jar,/OA_JAVA/oracle/apps/fnd/jar/fndctx.jar,/OA_JAVA/oracle/apps/fnd/jar/fndlist.jar,/OA_JAVA/oracle/apps/fnd/jar/fndnetcharts.jar,/OA_JAVA/oracle/apps/fnd/jar/fndtdg.jar,/OA_JAVA/oracle/apps/fnd/jar/fndjgl.jar,/OA_JAVA/oracle/apps/fnd/jar/fndjle.jar,/OA_JAVA/oracle/apps/fnd/jar/fndlrucache.jar,/OA_JAVA/oracle/apps/fnd/jar/fndgantt.jar,/OA_JAVA/oracle/apps/fnd/jar/fndpromise.jar,/OA_JAVA/oracle/apps/fnd/jar/fndewtpv.jar,/OA_JAVA/oracle/apps/fnd/jar/fndutil.jar,/OA_JAVA/oracle/apps/fnd/jar/fndtcf.jar,/OA_JAVA/oracle/apps/fnd/jar/fndhier.jar,/OA_JAVA/oracle/apps/fnd/jar/fndfsec.jar,/OA_JAVA/oracle/apps/fnd/jar/fndhelpc.jar,/OA_JAVA/oracle/apps/fnd/jar/wfmon.jar,/OA_JAVA/oracle/apps/fnd/jar/wfapi.jar,/OA_JAVA/oracle/apps/
    fnd/jar/wffrm.jar,/OA_JAVA/oracle/apps/fnd/jar/fndhelp.jar,/OA_JAVA/oracle/apps/fnd/jar/fndsec.jar,/OA_JAVA/oracle/apps/fnd/jar/fndicebrwsr.jar,/OA_JAVA/oracle/apps/fnd/jar/fndprospect.jar,/OA_JAVA/oracle/apps/fnd/jar/fndtsgraph.jar,/OA_JAVA/oracle/apps/fnd/jar/fndaroraclnt.jar,/OA_JAVA/oracle/apps/fnd/jar/fndjewt.jar,/OA_JAVA/oracle/apps/fnd/jar/fndvbj.jar,/OA_JAVA/oracle/apps/fnd/jar/fndswingall.jar,/OA_JAVA/oracle/apps/fnd/jar/fndrt.jar,/OA_JAVA/oracle/apps/fnd/jar/fndmxt20.jar,/OA_JAVA/oracle/apps/fnd/jar/fnddpx20.jar,/OA_JAVA/oracle/apps/ak/jar/akobjnav.jar,/OA_JAVA/oracle/apps/az/jar/azwizard.jar,/OA_JAVA/oracle/apps/wip/jar/wippcb.jar,/OA_JAVA/oracle/apps/wip/jar/wiputil.jar,/OA_JAVA/oracle/apps/wps/jar/wpsgantt.jar,/OA_JAVA/oracle/apps/xla/jar/xlatacct.jar,/OA_JAVA/oracle/apps/mrp/jar/mrpjar.jar,/OA_JAVA/oracle/apps/msc/jar/mscjar.jar,/OA_JAVA/oracle/apps/per/jar/performs.jar,/OA_JAVA/oracle/apps/bis/jar/bischart.jar,/OA_JAVA/oracle/apps/bom/jar/bomjar.jar,/OA_JAVA/o
    racle/apps/vea/jar/vea.jar,/OA_JAVA/oracle/apps/gl/jar/glgcs.jar,/OA_JAVA/oracle/apps/cz/jar/czclient.jar,/OA_JAVA/oracle/apps/per/jar/peradmin.jar,/OA_JAVA/oracle/apps/wip/jar/wipmedia.jar,/OA_JAVA/oracle/apps/asg/jar/asg.jar,/OA_JAVA/oracle/apps/asg/jar/asgmtran.jar,/OA_JAVA/oracle/apps/ast/jar/asthgrid.jar,/OA_JAVA/oracle/apps/ast/jar/astuijav.jar,/OA_JAVA/oracle/apps/cct/jar/cctotm.jar,/OA_JAVA/oracle/apps/cct/jar/cctnet.jar,/OA_JAVA/oracle/apps/cct/jar/cctsoft.jar,/OA_JAVA/oracle/apps/cct/jar/cctroute.jar,/OA_JAVA/oracle/apps/csf/jar/csfmap.jar,/OA_JAVA/oracle/apps/csf/jar/csfchart.jar,/OA_JAVA/oracle/apps/csf/jar/csflf.jar,/OA_JAVA/oracle/apps/csf/jar/csftds.jar,/OA_JAVA/oracle/apps/csr/jar/csrclient.jar,/OA_JAVA/oracle/apps/ibu/jar/ibu.jar,/OA_JAVA/oracle/apps/iem/jar/iemsrv.jar,/OA_JAVA/oracle/apps/iem/jar/iemadm.jar,/OA_JAVA/oracle/apps/iem/jar/iemegen.jar,/OA_JAVA/oracle/apps/iem/jar/iemedit.jar,/OA_JAVA/oracle/apps/iem/jar/iemclnt.jar,/OA_JAVA/oracle/apps/iem/jar/
    iemapplt.jar,/OA_JAVA/oracle/apps/ies/jar/iescommn.jar,/OA_JAVA/oracle/apps/ies/jar/iesclien.jar,/OA_JAVA/oracle/apps/ies/jar/iesservr.jar,/OA_JAVA/oracle/apps/ieu/jar/ieunet.jar,/OA_JAVA/oracle/apps/ieu/jar/ieustuba.jar,/OA_JAVA/oracle/apps/ieu/jar/ieuui.jar,/OA_JAVA/oracle/apps/ieu/jar/ieuclient.jar,/OA_JAVA/oracle/apps/ieu/jar/ieucommon.jar,/OA_JAVA/oracle/apps/ieu/jar/ieuutil.jar,/OA_JAVA/oracle/apps/ieu/jar/ieutrans.jar,/OA_JAVA/oracle/apps/iex/jar/iexdbjav.jar,/OA_JAVA/oracle/apps/iex/jar/iexbeans.jar,/OA_JAVA/oracle/apps/jtf/jar/jtfui.jar,/OA_JAVA/oracle/apps/jtf/jar/jtfgrid.jar,/OA_JAVA/oracle/apps/jtf/jar/jtfgantt.jar,/OA_JAVA/oracle/apps/xnp/jar/xnpadptr.jar,/OA_JAVA/oracle/apps/csc/jar/csc.jar"
    separateFrame="true"
    serverHost="spapps1.semenpadang.co.id"
    serverPort="9000"
    connectMode="socket"
    serverApp="OracleApplications"
    clientBrowser="mozilla"
    registryPath="/OA_JAVA/oracle/apps/fnd/formsClient"
    serverArgs="module=/u0/data/oracle/prodappl/fnd/11.5.0/forms/US/FNDSCSGN userid=APPLSYSPUB/PUB@PROD1 fndnam=APPS"
    colorScheme="blaf"
    lookAndFeel="oracle"
    splashScreen="oracle/apps/media/splash.gif"
    darkLook="true"
    readOnlyBackground="automatic"
    background="no"
    dontTruncateTabs="true"
    imageBase="CodeBase"
    ORBdisableLocator="true" ="" ="" ="" =""
    BR clear=all
    TABLE width=250 border=2
    TR
    TDLoading java applet jre 1.4
    BRReplacement for jinitiator
    /TD
    /TR
    /TABLE
    /NOEMBED
    /EMBED
    /OBJECT
    P
    /BODY
    /HTML

    What could be the problem and how to fix it?

    DB:2.85:Console Errors: jd

    I was wrong.
    I'm not open URL: http://spapps1:8000/dev60cgi/f60cgi, but I'm using html file (load it from my computer):

    BASE HREF="http://spapps1.semenpadang.co.id:8000/dev60cgi/"
    HTML
    !-- $Header: appsbase.htm 115.18 2003/02/17 04:15:03 smaradan ship $ --
    !-- appsweb.cfg 115.121 --
    HEAD
    TITLEOracle Applications 11i /TITLE
    /HEAD
    BODY
    IMG SRC="/OA_JAVA/oracle/apps/media/forms_logo.gif" border=0br clear=all

    script language="JavaScript"

    EMBED TYPE="application/x-java-applet;version=1.1.2" width=250 height=120
    codebase="/OA_JAVA/"
    code="oracle.forms.engine.Main"
    archive="/OA_JAVA/oracle/apps/fnd/jar/fndforms.jar,/OA_JAVA/oracle/apps/fnd/jar/fndformsi18n.jar,/OA_JAVA/oracle/apps/fnd/jar/fndewt.jar,/OA_JAVA/oracle/apps/fnd/jar/fndswing.jar,/OA_JAVA/oracle/apps/fnd/jar/fndbalishare.jar,/OA_JAVA/oracle/apps/fnd/jar/fndaol.jar,/OA_JAVA/oracle/apps/fnd/jar/fndctx.jar,/OA_JAVA/oracle/apps/fnd/jar/fndlist.jar"
    separateFrame="true"
    serverHost="spapps1.semenpadang.co.id"
    serverPort="9000"
    connectMode="socket"
    serverApp="OracleApplications"
    registryPath="/OA_JAVA/oracle/apps/fnd/formsClient"
    serverArgs="module=/u0/data/oracle/prodappl/fnd/11.5.0/forms/US/FNDSCSGN userid=APPLSYSPUB/PUB@PROD1 fndnam=APPS "
    colorScheme="blaf"
    lookAndFeel="oracle"
    splashScreen="oracle/apps/media/splash.gif"
    darkLook="true"
    readOnlyBackground="automatic"
    background="no"
    dontTruncateTabs="true"
    imageBase="CodeBase"
    ORBdisableLocator="true" ="" ="" ="" =""
    BR clear=all
    TABLE width=250 border=2
    TR
    TDLoading java applet jre 1.4
    BRReplacement for jinitiator
    /TD
    /TR
    /TABLE
    /NOEMBED
    /EMBED
    /OBJECT
    P
    /BODY
    /HTML

    I was forget that the

    archive="/OA_JAVA/oracle/apps/fnd/jar/fndforms.jar,/OA_JAVA/oracle/apps/fnd/jar/fndformsi18n.jar,/OA_JAVA/oracle/apps/fnd/jar/fndewt.jar,/OA_JAVA/oracle/apps/fnd/jar/fndswing.jar,/OA_JAVA/oracle/apps/fnd/jar/fndbalishare.jar,/OA_JAVA/oracle/apps/fnd/jar/fndaol.jar,/OA_JAVA/oracle/apps/fnd/jar/fndctx.jar,/OA_JAVA/oracle/apps/fnd/jar/fndlist.jar"

    was changed and I'm also can't view the 'View Output' and 'View Log...' button from every requests completed from Oracle application. When I hit the button, I get msg windows that tell:

    FRM-92080: Failed to execute command.
    Command = mozilla http://spapps1.semenpadang.co.
    id:8000/OA_CGI/FNDWRR.exe?
    temp_id=2665876474login=APPLSYSPUB/PUB@PROD1
    Full Details: java.io.IOException: mozilla: not found

    Right now, with java jre1.5.0_01 from sun, I can view it. But the console is still show me the errors:

    java.lang.NoSuchMethodException: sun.java2d.SunGraphicsEnvironment.setFallbackFont(java.lang.String)
    at java.lang.Class.getMethod(Unknown Source)
    at oracle.forms.engine.Main.initDesktop(Unknown Source)
    at oracle.forms.engine.Main.start(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NoSuchMethodException: sun.java2d.SunGraphicsEnvironment.preferLocaleSpecificFonts()
    at java.lang.Class.getMethod(Unknown Source)
    at oracle.forms.engine.Main.initDesktop(Unknown Source)
    at oracle.forms.engine.Main.start(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    connectMode=Socket
    serverHost=spapps1.semenpadang.co.id
    serverPort=9000
    Forms Applet version is : 60823
    SocketListener activated
    SocketListener exiting..

    My friends told me that the errors was coming because the font of the server is different with the font of my client. Is it true and how to fix it?

    Did u have an personal's mail so I can send to u problems directly without the opening the forums? My mail is ruly@semenpadang.co.id.

    Thank u for ur kind att.

    Regards

    Ruli Rahmadi

  • RELEVANCY SCORE 2.85

    DB:2.85:Oracle Streams And Oracle Apps jj


    Is oracle streams certified to be used with E-business suite Apps env?
    Are there any issues related to apps environment when using Oracle Streams?

    Thanks,
    Ramneek

    DB:2.85:Oracle Streams And Oracle Apps jj

    Is oracle streams certified to be used with E-business suite Apps env?
    Are there any issues related to apps environment when using Oracle Streams?

    Thanks,
    Ramneek

  • RELEVANCY SCORE 2.84

    DB:2.84:Jdeveloper Testing Setting Warring Issue 7z


    Hey Guys,

    After installing and configuring Jdeveloper i have to test my setting, but for that when i click Rebuild on Tutorial i get the following warring,
    Can anyone guide me how can i resolve the issue ???

    __Project: D:\oracle\JDeveloper\jdevhome\jdev\myprojects\Tutorial.jpr__
    D:\oracle\JDeveloper\jdevhome\jdev\myprojects\oracle\apps\fnd\framework\toolbox\tutorial\webui\HomePG.xml
    Warning: Invalid value "/oracle/apps/fnd/wf/worklist/webui/AdvancWorklistRG" for property "Extends" on component "Notifications".
    D:\oracle\JDeveloper\jdevhome\jdev\myprojects\oracle\apps\fnd\framework\toolbox\tutorial\webui\PoDescITPG.xml
    Warning: This page cannot be previewed or run because there are no regions in the page.
    D:\oracle\JDeveloper\jdevhome\jdev\myprojects\oracle\apps\fnd\framework\toolbox\tutorial\webui\PoDetailsPG.xml
    Warning: The "View Instance" property on item "/oracle/apps/fnd/framework/toolbox/tutorial/webui/PoDetailsPG.PrintablePage" has been set to
    "PoDetailsFullExpVO1", but the corresponding "View Attribute" property has not been set. Please set this property on the item.
    D:\oracle\JDeveloper\jdevhome\jdev\myprojects\oracle\apps\fnd\framework\toolbox\tutorial\webui\PoLinesITPG.xml
    Warning: This page cannot be previewed or run because there are no regions in the page.
    D:\oracle\JDeveloper\jdevhome\jdev\myprojects\oracle\apps\fnd\framework\toolbox\tutorial\webui\PoReviewITPG.xml
    Warning: This page cannot be previewed or run because there are no regions in the page.

    Regards
    Hussain

    DB:2.84:Jdeveloper Testing Setting Warring Issue 7z

    Hey Sinan,

    Thanks for response i followed the instruction and i agree with you warring is ok but when i run the example its give error with exception of
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-06550: line 1, column 39:
    PLS-00103: Encountered the symbol "?" when expecting one of the following:

    Any Idea why i get the above exception ?

  • RELEVANCY SCORE 2.84

    DB:2.84:Page Compilation Error In Jdeveloper c7


    Hi All

    I am getting following error while compiling page in JDeveloper .

    Validation error in document "EmployeeViewsPG":
    Invalid value "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsConRN" for property "Extends" on component "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Contracts". Component "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsConRN" cannot be referenced from "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Contracts" because it violates scope restrictions.
    Invalid value "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsApplnRN" for property "Extends" on component "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Application". Component "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsApplnRN" cannot be referenced from "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Application" because it violates scope restrictions.
    Invalid value "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsAbsRN" for property "Extends" on component "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Absence". Component "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsAbsRN" cannot be referenced from "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Absence" because it violates scope restrictions.
    Invalid value "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsTrngRN" for property "Extends" on component "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Training". Component "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsTrngRN" cannot be referenced from "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Training" because it violates scope restrictions.
    Invalid value "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsPerfRN" for property "Extends" on component "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Performance". Component "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsPerfRN" cannot be referenced from "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Performance" because it violates scope restrictions.
    Invalid value "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsSalRN" for property "Extends" on component "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Salary". Component "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsSalRN" cannot be referenced from "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Salary" because it violates scope restrictions.
    Invalid value "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsEmpRN" for property "Extends" on component "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Employment". Component "/oracle/apps/per/selfservice/mgrviews/webui/EmpViewsEmpRN" cannot be referenced from "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.Employment" because it violates scope restrictions.
    Invalid value "/oracle/apps/fnd/framework/webui/OASpacer.SpacerRow" for property "Extends" on component "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.SpacerRow". Component "/oracle/apps/fnd/framework/webui/OASpacer.SpacerRow" cannot be referenced from "/oracle/apps/per/selfservice/mgrviews/server/EmployeeViewsPG.SpacerRow" because it violates scope restrictions.

    DB:2.84:Page Compilation Error In Jdeveloper c7

    I transferred per top to the my classess folder and and only required files were taken into my project folder .

    when I run page in J developer it looks fine .

    shall I have to do few more setting in J developer ?

    Thanks
    Nilesh

  • RELEVANCY SCORE 2.84

    DB:2.84:Re: Difference Between Oaf And Oadf fa


    OAF is also a Java Framework, which you can use to build extensions for Oracle Applications (E-Business Suite)

    This Framework takes care of the typical apps layout, takes care of the apps security and many more ...

    DB:2.84:Re: Difference Between Oaf And Oadf fa

    I am doing this because my company change from SAP to Oracle and we need a tool to create graphical user interfaces for the staff in the different departments. I didn't know anything about the Oracle products and had to search in Google and at the Oracle homepage.
    Now I have to judge which of the tools is the best for us...

  • RELEVANCY SCORE 2.84

    DB:2.84:Oracle Business Component For Java kd


    Are Oracle Business Component for Java fully
    redistributable ?

    Does Oracle supply this the source code of this framework ?

    Thanks

    DB:2.84:Oracle Business Component For Java kd

    Look at the release notes. You have to have runtime licenses.

  • RELEVANCY SCORE 2.84

    DB:2.84:Unable To Call A Procedure In Page pm


    Hi Experts,

    I have below in CO

    -----
    if ("WaiveItem".equals(pageContext.getParameter(EVENT_PARAM)))
    {
    String vHeaderID = pageContext.getParameter("vTraHeaderId");
    pageContext.putTransactionValue("vTraHeaderId", vHeaderID);

    String vTempID = pageContext.getParameter("vTraTempId");
    pageContext.putTransactionValue("vTraTempId", vTempID);

    Serializable[] params = { vHeaderID,vTempID };
    am.invokeMethod("waiveItemRequest", params);

    String vItemCode = pageContext.getParameter("vItemCode");
    MessageToken[] tokens = { new MessageToken("ITEM_CODE", vItemCode)};
    OAException message = new OAException("AK",
    "XXITEM_WAIVE_CONFIRM", tokens, OAException.CONFIRMATION, null);

    OADialogPage dialogPage =
    new OADialogPage(OAException.CONFIRMATION, message,
    null,
    "OA.jsp?page=/oracle/apps/inv/material/webui/materialNotReturnedPG",
    null);
    pageContext.releaseRootApplicationModule();
    pageContext.redirectToDialogPage(dialogPage);

    }

    }
    -----

    and below in AM

    -----
    public void waiveItemRequest(String vHeaderID, String vTempID){
    try{
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)getDBTransaction();
    OracleCallableStatement oraclecallablestatement =
    (OracleCallableStatement)oadbtransactionimpl.createCallableStatement("call xxitemreturn_pkg.waive_item(:1,:2);",1);
    oraclecallablestatement.setInt(1, Integer.parseInt(vHeaderID));
    oraclecallablestatement.setInt(2, Integer.parseInt(vTempID));
    oraclecallablestatement.execute();
    }
    catch(Exception e){
    e.printStackTrace();
    }
    }
    -----

    When I press switcher that I have in page, it shows the XXITEM_WAIVE_CONFIRM message but does not call xxitemreturn_pkg.waive_item procedure.

    When I run the procedure manually and pass values, it works.

    Using 10g database, Jdeveloper 10.1.3.3.0

    Edited by: Nadir on Mar 1, 2012 3:07 AM

  • RELEVANCY SCORE 2.84

    DB:2.84:Putdialogmessage Is Not Displayed In The Forward Page 9k


    Hi
    I am writing the code

    OAException confirmMessage = new OAException("PER", "VB_EMP_CREATION", tokens,
    OAException.CONFIRMATION, null);
    pageContext.putDialogMessage(confirmMessage);

    pageContext.forwardImmediately("OA.jsp?page=/vbcustom/oracle/apps/per/selfservice/newhire/webui/VBCSearchPG",
    null, OAWebBeanConstants.KEEP_MENU_CONTEXT, null, null,true, OAWebBeanConstants.ADD_BREAD_CRUMB_NO);

    this page forwarded to another page. But the confirmation message is not displayed another page.

    Please help me .

    Thanks
    Subramanian

    DB:2.84:Putdialogmessage Is Not Displayed In The Forward Page 9k

    I had the similar issue: failure to display the Confirmation message in the forward page. The mistake was I was calling "putDialogMessage" after the "forwardImmediately" call. After pageContext.forwardImmediately no statement is getting executed for that action.

  • RELEVANCY SCORE 2.84

    DB:2.84:Re: Oaf: Getting Wrong Row Using Setforwardurl z8


    Hi,

    Now I have tried the following:
    1. I added a method to my AM returning my PK, with the misleading name RowId1 wich In fact is a line number:
    public Number CustomerSearchRowId()
    +{+
    CustomerVOImpl vo = getCustomerVO1();
    if (vo == null)
    +{+
    +MessageToken[] errTokens = { new MessageToken("OBJECT_NAME", "CustomerVO1")};+
    throw new OAException("ISS", "XXCU_OBJECT_NOT_FOUND", errTokens);
    +}+
    return (Number)vo.getCurrentRow().getAttribute("RowId1");// .toString();
    +}+

    2. Then I added an if statement to my first CO's processFormRequest:
    if ("select".equals(pageContext.getParameter(EVENT_PARAM)))
    +{ // The user has clicked an "select" icon so we want to navigateto the CustomerCreatePG.+
    OAApplicationModule am=pageContext.getApplicationModule(webBean);
    Number ResultRowId = (Number)am.invokeMethod("CustomerSearchRowId");
    HashMap par = new HashMap();
    par.put("ResultRowId",ResultRowId);
    pageContext.setForwardURL("OA.jsp?page=/xxcu/oracle/apps/ar/customer/webui/CustomerCreatePG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    par,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    +}+

    Upon pressing my select button I get a null pointer exception on line 139 (bold line in AM returning RowId1).

    Any ideas?

    Thanks Roy

    DB:2.84:Re: Oaf: Getting Wrong Row Using Setforwardurl z8

    Thanks to all contributers.

    Problem solved with your help.

    In AM:
    public void initCreateCustomer(String RowNum)
    {
    CustomerVOImpl vo = getCustomerVO1();
    if (vo == null)
    {
    MessageToken[] errTokens = { new MessageToken("OBJECT_NAME", "CustomerVO1")};
    throw new OAException("ISS", "XXCU_OBJECT_NOT_FOUND", errTokens);
    }
    Number row = Integer.valueOf(RowNum);
    Number[] keys = { row };
    Row[] rows = vo.findByKey(new Key(keys), 1);
    if ((rows != null) (rows.length 0))
    {
    vo.setCurrentRow(rows[0]);
    }
    }
    In CO:
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processRequest(pageContext, webBean);

    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String rowid = pageContext.getParameter("RowNum");
    Serializable[] param = { rowid };
    am.invokeMethod("initCreateCustomer", param);
    }

  • RELEVANCY SCORE 2.82

    DB:2.82:Problem With Oadialogepage s9


    Hello all,

    At the click of Cancel button, I want to navigate to OADialogePage with message "Do you want to save changes" and there will be two options: "YES" or "NO".
    If YES, then it wil commit the transaction and go to some other page.

    But in my case it is not saving the data..
    To solve this problem, I think I need to write
    if (!vo.isPreparedForExecution())
    vo.executeQuery();
    }

    Can you please tell me where to write above code or how to solve my problem?

    if (pageContext.getParameter("Cancel") != null) {
    OAException message = new OAException("FND", "FND_CUSTM_SAVE_CHANGES", null,OAException.STOP, null);
    OADialogPage dialogPage = new OADialogPage(OAException.CONFIRMATION, message, null, "", "");

    String yes = pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
    String no = pageContext.getMessage("AK", "FWK_TBX_T_NO", null);

    dialogPage.setOkButtonItemName("DeleteYesButton");
    dialogPage.setNoButtonItemName("DeleteNoButton");

    dialogPage.setNoButtonToPost(true);
    dialogPage.setOkButtonToPost(true);
    dialogPage.setPostToCallingPage(true);

    dialogPage.setOkButtonLabel(yes);
    dialogPage.setNoButtonLabel(no);

    dialogPage.setRetainAMValue(true);

    pageContext.redirectToDialogPage(dialogPage);

    }

    if (pageContext.getParameter("DeleteYesButton") != null)
    {
    OADBTransaction txn = pageContext.getRootApplicationModule().getOADBTransaction();
    txn.commit();
    HashMap phm = new HashMap();
    phm.put("int_name", s2);
    phm.put("from", "transpage");
    pageContext.setForwardURL("OA.jsp?page=/XXBC/oracle/apps/icx/toolkit/webui/TransNewPG1",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, phm, false,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    }

    DB:2.82:Problem With Oadialogepage s9

    Hello all,

    At the click of Cancel button, I want to navigate to OADialogePage with message "Do you want to save changes" and there will be two options: "YES" or "NO".
    If YES, then it wil commit the transaction and go to some other page.

    But in my case it is not saving the data..
    To solve this problem, I think I need to write
    if (!vo.isPreparedForExecution())
    vo.executeQuery();
    }

    Can you please tell me where to write above code or how to solve my problem?

    if (pageContext.getParameter("Cancel") != null) {
    OAException message = new OAException("FND", "FND_CUSTM_SAVE_CHANGES", null,OAException.STOP, null);
    OADialogPage dialogPage = new OADialogPage(OAException.CONFIRMATION, message, null, "", "");

    String yes = pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
    String no = pageContext.getMessage("AK", "FWK_TBX_T_NO", null);

    dialogPage.setOkButtonItemName("DeleteYesButton");
    dialogPage.setNoButtonItemName("DeleteNoButton");

    dialogPage.setNoButtonToPost(true);
    dialogPage.setOkButtonToPost(true);
    dialogPage.setPostToCallingPage(true);

    dialogPage.setOkButtonLabel(yes);
    dialogPage.setNoButtonLabel(no);

    dialogPage.setRetainAMValue(true);

    pageContext.redirectToDialogPage(dialogPage);

    }

    if (pageContext.getParameter("DeleteYesButton") != null)
    {
    OADBTransaction txn = pageContext.getRootApplicationModule().getOADBTransaction();
    txn.commit();
    HashMap phm = new HashMap();
    phm.put("int_name", s2);
    phm.put("from", "transpage");
    pageContext.setForwardURL("OA.jsp?page=/XXBC/oracle/apps/icx/toolkit/webui/TransNewPG1",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, phm, false,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);
    }

  • RELEVANCY SCORE 2.82

    DB:2.82:Regarding Oracle Apps Hrms 81


    please help me with proper information regarding oracle apps hrms.
    I am very new to oracle

    DB:2.82:Regarding Oracle Apps Hrms 81

    please help me with proper information regarding oracle apps hrms.
    I am very new to oracle

  • RELEVANCY SCORE 2.80

    DB:2.80:Looking For Additional Developer's Guide For Oaf Objects 7x


    Hi!I have an Oracle Applications Framework Developer's Guide but I'm still looking for some guides that discusses the different objects in OAF like OAQueryBean, OAApplicationModule, OAException, etc. Where can I possibly download them?thanks.

    DB:2.80:Looking For Additional Developer's Guide For Oaf Objects 7x

    Thanks. I just made a quick browse with the javadoc after reading your reply and I believe this will answer most of my questions.

  • RELEVANCY SCORE 2.80

    DB:2.80:Validation On Submit Button At Absencereviewpg pc


    Hello,I want to put the validation on the submit button of AbsenceReviewPG but I am not able to find the CO which is associated with this button as the page has multiple COs.I tried extending AbsenceReviewNavBarCO of this page and used the below code, but after clicking submit button it is not throwing the error message. if (pageContext.getParameter("HrSubmit") != null) { pageContext.writeDiagnostics(this,"Inside process form request",1); throw new OAException("!!! RIGHT CO TO HANDLE SUBMIT BUTTON !!!" ,OAException.ERROR); } super.processFormRequest(pageContext, webBean);Page details :- /oracle/apps/per/selfservice/absence/webui/AbsenceReviewPG Kindly help me in finding the CO where I can handle submit button event of AbsdsaenceReviewPG.xml page. RegardsKD

    DB:2.80:Validation On Submit Button At Absencereviewpg pc

    Hi.If the forward URL is set, then the page is forwarded to desired URL.If that is used. Remove it in PR. Do your validation on PFR and if validation is success forward it to url which as initially set.Sorry, I don't have time now..

  • RELEVANCY SCORE 2.79

    DB:2.79:Unable To Capture The Submit Button Event In Oaf ps


    Hi

    I am facing a problem extending the NavigationCO controller on "/oracle/apps/per/selfservice/review/webui/ReviewPG". I just want to throw some exception when the user clicks the submit button in the PFR. I have used the following code but i did not find any solution. Can anyone help me out in this issue. When i used the first method its displaying some error on submitting the page but where as in the second method its commiting the data instead of throwing an exception.
    I tried the following methods:
    public class XXXNavigationCO extends NavigationCO {
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    if (pageContext.getParameter("HrSubmit") != null)
    {
    super.processFormRequest(pageContext, webBean);
    pageContext.forwardImmediatelyToCurrentPage(null,true, "Y");
    throw new OAException("Test Message");
    }
    else{
    super.processFormRequest(pageContext, webBean);
    }
    }
    }

    2.

    public class XXXNavigationCO extends NavigationCO {
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    if ("HrSubmit".equals(pageContext.getParameter(EVENT_PARAM)))
    {
    throw new OAException("gsgfshghjgashfa");
    }
    super.processFormRequest(pageContext, webBean);
    }
    }

    DB:2.79:Unable To Capture The Submit Button Event In Oaf ps

    Hi Gaurav,

    Thanks for the repsonse. I tried the same code but its not throwing the exception its directly launching me the confirmation page. Actaully the controller is redirecting to confirmation page on submit. But now i want to check some condition on submit and throw an exception if the condition is not satisfied. If the condition is satisfied i want the seeded controller action to take place.

    I tried using "pageContext.forwardImmediatelyToCurrentPage" and "pageContext.forwardURLToCurrentPage" but i did not achieve success in it.

    If the above mentioned "pageContext.forwardURLToCurrentPage" is right could you please give me an example to get thjis resolved.

  • RELEVANCY SCORE 2.79

    DB:2.79:10g Client Works - Vs 2005 Data Connections Fail - Sqlplus Fails 1k


    I am developing on WINDOWS XP SP2 with Oracle Client 10g installed; Visual Studio 2005 SP2 with ODAC110510beta. I have several apps that use the Oracle Client and they work fine; so I know my TNSNAMES.ORA SQLNET.ORA are good. The same two files are loaded in 10.2.0 11.1.0 directories. However, since loading ODAC110510beta, in Visual Studio 2005, I cannot get an Oracle Connection to work for Oracle Data Provider for .Net [ Oracle DataBase Server (Oracle ODP.Net) ] or .Net Framework Data Provider for Oracle [ Oracle DataBase Server (Oracle Client) ].
    Visual Studio Error: ORA-12451 TNS:no listener
    SQLPLUS error: Error 6 initializing SQL*Plus
    The real odd behavior is that some of my old apps have the error and some don't; all runing on my development box.
    I have read many blogs and tried everything suggested; but still no luck.

    Any suggestions Greatly Appreciated!

    DB:2.79:10g Client Works - Vs 2005 Data Connections Fail - Sqlplus Fails 1k

    I ended up uninstalling Oracle 10g Client and ODAC1110510. Then I reinstalled only the Oracle 10g Client. Everything is working again. I'll hold off installing ODAC1110510 for now,

  • RELEVANCY SCORE 2.79

    DB:2.79:No Method With Signature (Urgent) cm


    Hi,

    I'm trying to create a query and insert into Oracle db table web application.

    I have succeeded with the query part of the web application and I am now working on the row insert part of the application.

    I have created a new controller for my xml and added the following code:

    import oracle.apps.fnd.framework.OAApplicationModule;
    ...

    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    // Always call this first. super.processRequest(pageContext, webBean);

    if (!pageContext.isFormSubmission())
    {
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createEmployee", null);
    }
    } // end processRequest()

    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) {
    OAApplicationModule am = pageContext.getApplicationModule(webBean);

    if (pageContext.getParameter("Apply") != null)
    {
    OAViewObject vo = (OAViewObject)am.findViewObject("EmployeeFullVO1");
    Number personID = (Number)vo.getCurrentRow().getAttribute("PersonID");
    String s_personID = String.valueOf(personID.intValue());
    am.invokeMethod("apply");

    MessageToken[] tokens = { new MessageToken("PERSONID", personID) };
    OAException confirmMessage = new OAException("AK", "FWK_TBX_T_EMP_CREATE_CONFIRM", tokens,
    OAException.CONFIRMATION, null);
    // Per the UI guidelines, we want to add the confirmation message at the
    // top of the search/results page and we want the old search criteria and
    // results to display.

    pageContext.putDialogMessage(confirmMessage);
    pageContext.forwardImmediately("OA.jsp?page=/oracle/apps/fnd/umx/userAdmin/webui/ApproverSearch",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    }

    }

    I have also edited the filenameAM.java to include:

    public void SelectApprover()
    {
    OAViewObject vo = (OAViewObject)getApproverVO1();

    if (!vo.isPreparedForExecution()) { vo.executeQuery(); }

    Row row = vo.createRow(); vo.insertRow(row);
    // Required per OA Framework Model Coding Standard M69
    row.setNewRowState(Row.STATUS_INITIALIZED);

    } // end SelectApprover()

    public void apply()
    {
    getTransaction().commit();
    } // end apply()

    But when I run the application, the browser header shows the error of "No method with signature - No method with signature - SelectApprover()"

    Can someone tell me what I am doing wrong. Cheers

    DB:2.79:No Method With Signature (Urgent) cm

    you have not mention what code is calling SelectApprover() Method of your AM Class from your controller class.

    Definitely this error used to come when there is mismatch in parameter calling and called function.

    Thanks, Avaneesh

  • RELEVANCY SCORE 2.79

    DB:2.79:Performance Issue. kz


    Hi,

    I have problem of performance, can you tell us Is database object locking effect on performance.
    We are using R12 (12.0.6) and dataabase (10.2.0.3), linux x86 OS.

    Following are the locked object , and how I can solve the object locking.

    --------------
    SQL prompt Locked Object information
    Locked Object information
    SQL select a.oracle_username, a.OS_USER_NAME, a.SESSION_ID sid, b.owner, b.object_name,
    2 a.locked_mode from v$locked_object a, dba_objects b
    3 where a.object_id = b.object_id;

    User osuser SID Owner Object LMODE
    ------------ ------------ ---------- ------------ -------------------- -----
    APPS oracle 297 QP QP_PREQ_LINE_ATTRS_T 3
    MP_T

    APPS oracle 285 QP QP_PREQ_LINE_ATTRS_T 3
    MP_T

    APPS oracle 356 AR RA_CUSTOMER_TRX_ALL 3
    APPS oracle 523 APPLSYS FND_CONCURRENT_QUEUE 3
    S

    APPS oracle 297 APPLSYS FND_CONC_PP_ACTIONS 3
    APPS oracle 297 APPLSYS FND_CONCURRENT_REQUE 3
    STS

    APPS oracle 297 APPLSYS FND_LOGINS 3
    APPS oracle 432 ONT OE_LINE_SETS 3
    APPS oracle 389 ONT OE_LINE_SETS 3
    APPS oracle 285 ONT OE_LINE_SETS 3
    APPS oracle 432 ONT OE_ORDER_HEADERS_ALL 3
    APPS oracle 389 ONT OE_ORDER_HEADERS_ALL 3
    APPS oracle 302 ONT OE_ORDER_HEADERS_ALL 3
    APPS oracle 297 ONT OE_ORDER_HEADERS_ALL 3
    APPS oracle 285 ONT OE_ORDER_HEADERS_ALL 3
    APPS oracle 297 ONT OE_ORDER_LINES_ALL 3
    APPS oracle 285 ONT OE_ORDER_LINES_ALL 3
    APPS oracle 389 ONT OE_PRICE_ADJUSTMENTS 3
    APPS oracle 297 ONT OE_PRICE_ADJUSTMENTS 3
    APPS oracle 285 ONT OE_PRICE_ADJUSTMENTS 3
    APPS oracle 422 PO PO_HEADERS_ALL 3
    APPS oracle 422 PO PO_LINES_ALL 3
    APPS oracle 320 CE CE_SECURITY_PROFILES 3
    _GT

    APPS oracle 297 ZX ZX_LINES_DET_FACTORS 3
    APPS oracle 285 ZX ZX_LINES_DET_FACTORS 3

    25 rows selected.
    --------------

    thx

    DB:2.79:Performance Issue. kz

    Hi,

    Object locking is normal...the performance detoriates when the locked object is needed by some other query or program.So checking locked object will not take you anyware.Execute below query to find out blocking session and holders in 10G.

    SQLselect sid,username,status,blocking_session_status,blocking_session from v$session;

    Regards

  • RELEVANCY SCORE 2.79

    DB:2.79:Why Oracle Changed Direction From Oracle Forms To Oa Framework jx


    Hi Gurus,

    why Oracle changed direction from Oracle Forms to OA Framework,please explain.

    Kranthi

    DB:2.79:Why Oracle Changed Direction From Oracle Forms To Oa Framework jx

    Kranthi,

    There are more than one reason..for this

    1) Web pages UI is better in term of usages its user friendly too.

    2)Forms are heavy weight process...whereas OAF pages or light weight process.

    Regards,
    Gyan

  • RELEVANCY SCORE 2.79

    DB:2.79:Url Validation Error. ap


    Hi,

    I am using following code for URL validation in processFormRequest of controller,

    if (pageContext.getParameter("Apply") != null) {

    String serviceURL =
    (String)vo.getCurrentRow().getAttribute("ServiceUrl");

    if (serviceURL == null || serviceURL.trim().equals("") ||
    validateURL(serviceURL) == 200) {
    am.invokeMethod("apply");

    MessageToken[] tokens =
    { new MessageToken("SER_NAME", serviceName),
    new MessageToken("SER_ID", serviceID) };
    OAException confirmMessage =
    new OAException("UTTARAIMC", "CDV_SERVICE_CREATE_CONFIRM",
    tokens, OAException.CONFIRMATION, null);

    pageContext.putDialogMessage(confirmMessage); // retain AM
    pageContext.forwardImmediately("OA.jsp?page=/uttara/oracle/apps/uttaraimc/admin/webui/ServiceSearchPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, null, true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    }

    else {
    throw new OAException("Invalid Service URL!");

    }

    }
    public static int validateURL(String urlString) {

    int response = 0;
    try {

    Properties prop = System.getProperties();
    prop.put("http.proxyHost", "192.168.20.40");
    prop.put("http.proxyPort", "99");

    URL url = new URL(urlString);
    URLConnection connection = url.openConnection();
    if (connection instanceof HttpURLConnection) {
    HttpURLConnection httpConnection =
    (HttpURLConnection)connection;
    httpConnection.connect();
    response = httpConnection.getResponseCode();
    System.out.println("Response: " + response);
    InputStream is = httpConnection.getInputStream();
    byte[] buffer = new byte[256];
    while (is.read(buffer) != -1) {
    }
    is.close();
    }
    } catch (IOException e) {
    e.printStackTrace();
    }

    return response;

    }

    In local machine its working fine but in server its throwing error message as 'Invalid URL' even I am giving the valid URL like www.gmail.com

    What the necessary changes I need to do so that it'll work in server.
    Please suggest.

    Thanks Regards,
    Sagarika

    DB:2.79:Url Validation Error. ap

    Hi Ganesh,

    I can able to give Service URL as http://www.crimsonlogic.com/ in my local machine and the Response is : 200

    but when I am trying to give same URL in server its showing an error message as
    Error
    Invalid Service URL!

    and the codes for URL validation are given above.

    Thanks Regards,
    Sagarika

  • RELEVANCY SCORE 2.79

    DB:2.79:Oracle Apps Cd Pack On Oracle Store For Linux? Does It Represent Oracle Financials 1p


    Does the Oracle Applications CD Pack available at oracle store contain all the Oracle modules? I am interested in learning
    Oracle Apps. Would the CD Pack help me to learn Oracle Financials?

    Ashish

    DB:2.79:Oracle Apps Cd Pack On Oracle Store For Linux? Does It Represent Oracle Financials 1p

    But can I use the CD Pack as a framework to learn installing Financials and other modules and have the books and
    documentation to supplement the learning process.

  • RELEVANCY SCORE 2.79

    DB:2.79:Unable To Start Oracle Apps 8p


    Hi All

    I have oracle apps ver 11.5.10.2 with and home page with framework. But whenever i try to open a function, I am getting the following error:

    Exception: oracle.apps.fnd.cache.CacheException

    I have the latest version of Jinitiator.

    How to resolve this?

    Regards
    Rahman

    null

    DB:2.79:Unable To Start Oracle Apps 8p

    Oh, I guess it is more clear now.

    Could you please check from some other machine? Try to clean your jcache and check then.

  • RELEVANCY SCORE 2.79

    DB:2.79:Oracle Apps R12 All Request Not Getting Completed 3s


    Oracle apps R12 all request not getting completed

    DB:2.79:Oracle Apps R12 All Request Not Getting Completed 3s

    In addition to the above ..- Please mention the details of the application release, database version and OS.- Was this working before? If yes, any changes been done recently?- Can you find any errors in the CM log file (Asif already requested to check the database and application log files)- Please run the following scripts and check then.Concurrent Processing - CMCLEAN.SQL - Non Destructive Script to Clean Concurrent Manager Tables (Doc ID 134007.1)Concurrent Processing - CCM.sql Diagnostic Script to Diagnose Common Concurrent Manager Issues (Doc ID 171855.1)Thanks,Hussein

  • RELEVANCY SCORE 2.79

    DB:2.79:I Am Getting Error In Co ss


    this is my StarResultCo code i am taking all file from server and .class files converted into java

    i opened in jdeveloper when ever my project rebuiled i am getting this errors

    please help me
    Error(176,52): incompatible types; found: oracle.apps.fnd.framework.webui.OADialogPage, required: oracle.apps.fnd.framework.webui.beans.OAWebBean

    Error(177,25): method redirectToDialogPage(oracle.apps.fnd.framework.webui.beans.OAWebBean) not found in interface oracle.apps.fnd.framework.webui.OAPageContext

    package val.oracle.apps.per.selfservice.bhvr.webui;

    import java.io.PrintStream;
    import java.io.Serializable;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.webui.*;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
    import oracle.cabo.ui.UIConstants;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.OADialogPage;

    public class StarResultsCO extends OAControllerImpl
    {

    public static final String RCS_ID = "$Header$";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header$", "%packagename%");

    public StarResultsCO()
    {
    }

    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processRequest(pageContext, webBean);
    if(!pageContext.isBackNavigationFired(false))
    {
    if(!pageContext.isFormSubmission())
    {
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String viewType = pageContext.getParameter("viewType");
    String personId = pageContext.getParameter("personId");
    System.out.println("ResPR viewType: " + viewType);
    String currentReviewPeriodStart = pageContext.getParameter("reviewPeriodStart");
    String action = pageContext.getParameter("action");
    if(viewType == null || viewType.length() == 0)
    {
    viewType = "E";
    }
    Serializable parameters[] = {
    personId, viewType, currentReviewPeriodStart, action
    };
    Serializable Returnvalues[] = (Serializable[])am.invokeMethod("initSearch", parameters);
    String reviewPeriodStart = (String)Returnvalues[0];
    String next = (String)Returnvalues[1];
    String previous = (String)Returnvalues[2];
    String status = (String)Returnvalues[3];
    personId = (String)Returnvalues[4];
    if("NM".equals(viewType.trim()))
    {
    viewType = "M";
    }
    if("NA".equals(viewType.trim()))
    {
    System.out.println("viewType set to A");
    viewType = "A";
    }
    pageContext.putTransactionValue("personParam", personId);
    pageContext.putTransactionValue("viewTypeParam", viewType);
    pageContext.putTransactionValue("periodStartParam", reviewPeriodStart);
    if(("M".equals(viewType) || "A".equals(viewType)) ("N".equals(status) || "E".equals(status)))
    {
    OAWebBean oawebbean1 = webBean.findChildRecursive("EmployeeComments");
    oawebbean1.setRendered(false);
    oawebbean1 = webBean.findChildRecursive("FooterTip2");
    oawebbean1.setRendered(false);
    oawebbean1 = webBean.findChildRecursive("FooterTip3");
    oawebbean1.setRendered(false);
    }
    if("E".equals(viewType) "N".equals(status))
    {
    OAWebBean oawebbean1 = webBean.findChildRecursive("ManagerComments");
    oawebbean1.setRendered(false);
    oawebbean1 = webBean.findChildRecursive("EmployeeComments");
    oawebbean1.setRendered(false);
    }
    if("E".equals(viewType) || "C".equals(status) || "E".equals(status) "M".equals(viewType) || "E".equals(status) "A".equals(viewType))
    {
    OAWebBean oawebbean1 = webBean.findChildRecursive("ReviewPeriodStartDate");
    oawebbean1.setAttributeValue(UIConstants.READ_ONLY_ATTR, Boolean.TRUE);
    oawebbean1.setAttributeValue(UIConstants.DISABLED_ATTR, Boolean.TRUE);
    oawebbean1 = webBean.findChildRecursive("ReviewPeriodEndDate");
    oawebbean1.setAttributeValue(UIConstants.READ_ONLY_ATTR, Boolean.TRUE);
    oawebbean1.setAttributeValue(UIConstants.DISABLED_ATTR, Boolean.TRUE);
    oawebbean1 = webBean.findChildRecursive("ReviewDate");
    oawebbean1.setAttributeValue(UIConstants.READ_ONLY_ATTR, Boolean.TRUE);
    oawebbean1.setAttributeValue(UIConstants.DISABLED_ATTR, Boolean.TRUE);
    oawebbean1 = webBean.findChildRecursive("TotalObjectiveRating");
    oawebbean1.setAttributeValue(UIConstants.READ_ONLY_ATTR, Boolean.TRUE);
    oawebbean1.setAttributeValue(UIConstants.DISABLED_ATTR, Boolean.TRUE);
    oawebbean1 = webBean.findChildRecursive("PerformanceRating");
    oawebbean1.setAttributeValue(UIConstants.READ_ONLY_ATTR, Boolean.TRUE);
    oawebbean1.setAttributeValue(UIConstants.DISABLED_ATTR, Boolean.TRUE);
    OAMessageTextInputBean mtiBean = (OAMessageTextInputBean)webBean.findChildRecursive("ManagerComments");
    mtiBean.setReadOnly(true);
    mtiBean.setWrap("soft");
    }
    if("C".equals(status) || "M".equals(status))
    {
    OAMessageTextInputBean mtiBean = (OAMessageTextInputBean)webBean.findChildRecursive("EmployeeComments");
    mtiBean.setReadOnly(true);
    mtiBean.setWrap("soft");
    }
    if("N".equals(status))
    {
    OAWebBean oawebbean1 = webBean.findChildRecursive("FooterTip2");
    oawebbean1.setRendered(false);
    oawebbean1 = webBean.findChildRecursive("FooterTip3");
    oawebbean1.setRendered(false);
    }
    if("E".equals(viewType))
    {
    OAWebBean oawebbean1 = webBean.findChildRecursive("New");
    oawebbean1.setRendered(false);
    oawebbean1 = webBean.findChildRecursive("FooterTip3");
    oawebbean1.setRendered(false);
    oawebbean1 = webBean.findChildRecursive("Save");
    oawebbean1.setRendered(false);
    }
    if("E".equals(status))
    {
    OAWebBean oawebbean1 = webBean.findChildRecursive("FooterTip1");
    oawebbean1.setRendered(false);
    oawebbean1 = webBean.findChildRecursive("FooterTip3");
    oawebbean1.setRendered(false);
    oawebbean1 = webBean.findChildRecursive("FooterTip4");
    oawebbean1.setRendered(false);
    }
    if("M".equals(status))
    {
    OAWebBean oawebbean1 = webBean.findChildRecursive("FooterTip1");
    oawebbean1.setRendered(false);
    oawebbean1 = webBean.findChildRecursive("FooterTip2");
    oawebbean1.setRendered(false);
    oawebbean1 = webBean.findChildRecursive("FooterTip4");
    oawebbean1.setRendered(false);
    }
    if("C".equals(status))
    {
    OAWebBean oawebbean1 = webBean.findChildRecursive("FooterTip1");
    oawebbean1.setRendered(false);
    oawebbean1 = webBean.findChildRecursive("FooterTip2");
    oawebbean1.setRendered(false);
    oawebbean1 = webBean.findChildRecursive("FooterTip3");
    oawebbean1.setRendered(false);
    oawebbean1 = webBean.findChildRecursive("FooterTip4");
    oawebbean1.setRendered(false);
    }
    System.out.println("PR next and previous: " + next + previous);
    if("N".equals(next))
    {
    OAWebBean oawebbean1 = webBean.findChildRecursive("Previous");
    oawebbean1.setRendered(false);
    }
    if("N".equals(previous))
    {
    OAWebBean oawebbean1 = webBean.findChildRecursive("Next");
    oawebbean1.setRendered(false);
    }
    if("C".equals(status) || "E".equals(status) "M".equals(viewType) || "E".equals(status) "A".equals(viewType) || !"E".equals(status) "E".equals(viewType))
    {
    OAWebBean oawebbean1 = webBean.findChildRecursive("Submit");
    oawebbean1.setRendered(false);
    }
    if(!"N".equals(status))
    {
    OAWebBean oawebbean1 = webBean.findChildRecursive("Save");
    oawebbean1.setRendered(false);
    }
    }
    } else
    if(!TransactionUnitHelper.isTransactionUnitInProgress(pageContext, "ClaimTxn", true))
    {
    OAWebBean oawebbean1 = new OADialogPage((byte)3);
    pageContext.redirectToDialogPage(oawebbean1);
    }
    }

    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String personId = (String)pageContext.getTransactionValue("personParam");
    String viewType = (String)pageContext.getTransactionValue("viewTypeParam");
    String reviewPeriodStart = (String)pageContext.getTransactionValue("periodStartParam");
    System.out.println("PFR personId: " + personId);
    System.out.println("PFR viewType: " + viewType);
    System.out.println("PFR reviewPeriodStart: " + reviewPeriodStart);
    if("Save".equals(pageContext.getParameter("event")) || "Submit".equals(pageContext.getParameter("event")))
    {
    String returnCode = (String)am.invokeMethod("CheckOverlap");
    if("1".equals(returnCode))
    {
    OAException errorMessage = new OAException("XXEGFIN", "XXVA_HR_BHVR_OVERLAP_ERR", null, (byte)0, null);
    throw OAException.wrapperException(errorMessage);
    }
    if("M".equals(viewType) || "A".equals(viewType))
    {
    String reviewPeriodStartDate = pageContext.getParameter("ReviewPeriodStartDate");
    String reviewPeriodEndDate = pageContext.getParameter("ReviewPeriodEndDate");
    String reviewDate = pageContext.getParameter("ReviewDate");
    String totalObjectiveRating = pageContext.getParameter("TotalObjectiveRating");
    String performanceRating = pageContext.getParameter("PerformanceRating");
    String managerComments = pageContext.getParameter("ManagerComments");
    if(reviewPeriodStartDate == null || reviewPeriodStartDate.length() == 0 || reviewPeriodEndDate == null || reviewPeriodEndDate.length() == 0 || reviewDate == null || reviewDate.length() == 0)
    {
    OAException errorMessage = new OAException("XXEGFIN", "XXVA_HR_BHVR_DATES_ERR", null, (byte)0, null);
    throw OAException.wrapperException(errorMessage);
    }
    if(totalObjectiveRating == null || totalObjectiveRating.length() == 0 || performanceRating == null || performanceRating.length() == 0)
    {
    OAException errorMessage = new OAException("XXEGFIN", "XXVA_HR_BHVR_RATINGS_ERR", null, (byte)0, null);
    throw OAException.wrapperException(errorMessage);
    }
    if(managerComments == null || managerComments.length() == 0)
    {
    OAException errorMessage = new OAException("XXEGFIN", "XXVA_HR_BHVR_MGRCOM_ERR", null, (byte)0, null);
    throw OAException.wrapperException(errorMessage);
    }
    }
    pageContext.setForwardURL("OA.jsp?page=/val/oracle/apps/per/selfservice/bhvr/webui/StarResultsPGpersonId=" + personId + "viewType=" + viewType, null, (byte)0, null, null, false, "N", (byte)99);
    String SubmitOrSave = pageContext.getParameter("event");
    Serializable parameters[] = {
    SubmitOrSave
    };
    am.invokeMethod("Save", parameters);
    }
    if("Cancel".equals(pageContext.getParameter("event")))
    {
    am.invokeMethod("rollbackResults");
    System.out.println("Cancel viewType: " + viewType);
    if("M".equals(viewType.trim()))
    {
    pageContext.setForwardURL("OA.jsp?page=/val/oracle/apps/per/selfservice/bhvr/webui/StarDocsPGviewType=M", null, (byte)0, null, null, false, "N", (byte)99);
    } else
    if("A".equals(viewType))
    {
    pageContext.setForwardURL("OA.jsp?page=/val/oracle/apps/per/selfservice/bhvr/webui/StarDocsAdminPGviewType" +
    "=A"
    , null, (byte)0, null, null, false, "N", (byte)99);
    } else
    {
    redirectToMainMenu(pageContext, webBean);
    }
    }
    if("Previous".equals(pageContext.getParameter("event")))
    {
    pageContext.setForwardURL("OA.jsp?page=/val/oracle/apps/per/selfservice/bhvr/webui/StarResultsPGpersonId=" + personId + "viewType=" + viewType + "reviewPeriodStart=" + reviewPeriodStart + "action=previous", null, (byte)0, null, null, false, "N", (byte)99);
    }
    if("Next".equals(pageContext.getParameter("event")))
    {
    pageContext.setForwardURL("OA.jsp?page=/val/oracle/apps/per/selfservice/bhvr/webui/StarResultsPGpersonId=" + personId + "viewType=" + viewType + "reviewPeriodStart=" + reviewPeriodStart + "action=next", null, (byte)0, null, null, false, "N", (byte)99);
    }
    if("New".equals(pageContext.getParameter("event")))
    {
    System.out.println("New viewType: " + viewType);
    pageContext.setForwardURL("OA.jsp?page=/val/oracle/apps/per/selfservice/bhvr/webui/StarResultsPGpersonId=" + personId + "viewType=N" + viewType, null, (byte)0, null, null, false, "N", (byte)99);
    }
    }

    public static void redirectToMainMenu(OAPageContext oapagecontext, OAWebBean oawebbean)
    {
    try
    {
    String s = oapagecontext.getProfile("APPS_WEB_AGENT");
    s = s.trim().concat("/oraclemypage.home");
    oapagecontext.sendRedirect(s);
    return;
    }
    catch(Exception exception)
    {
    OAException oaexception = OAException.wrapperException(exception);
    OAException oaexception1 = new OAException("FND", "FND_RETURN_TO_PORTAL");
    OADialogPage oadialogpage = new OADialogPage((byte)0, oaexception, oaexception1, null, null);
    oadialogpage.setReuseMenu(false);
    oapagecontext.releaseRootApplicationModule();
    oapagecontext.redirectToDialogPage(oadialogpage);
    return;
    }
    }

    }

    i am getting this error this place
    OAWebBean oawebbean1 = new OADialogPage((byte)3);
    pageContext.redirectToDialogPage(oawebbean1);

    DB:2.79:I Am Getting Error In Co ss

    As suggested by AJ

    I am getting this error this place
    OAWebBean oawebbean1 = new OADialogPage((byte)3);
    pageContext.redirectToDialogPage(oawebbean1);

    change the OAWebBean to OADialogPage

    OADialogPage oawebbean1 = new OADialogPage((byte)3);

  • RELEVANCY SCORE 2.79

    DB:2.79:Printing Java Layer Error Stack In A Custom Module!--Experts, Please Reply! 81


    Hi to all OAF experts,
    We are in a process of making a fully customized module, which is integrated with OM and other modules, and takes the place of Quoting module. There is beasically a custom module which takes the place Quoting module in Apps in Order to cash cycle. Now in the final page of this module where we submit the quote, we need to through the entire Java layer error stack, similar to what is done in stanadard quoting module. There they use AOLMessageManager class for this purpose. But since quoting module is in JTT/JTF framework and our custom module is in OAF , we were looking for alternatives.
    I was going through oaf doc and i found a class called OAExceptionUtils, which contains a method called processAOLJErrorStack(ErrorStack)
    As per the documentation it says --"Returns an OAException representing the error stack populated by the Oracle Applications user session context AppsContext. ", that is exactly what we need. But , when i use this method, i get error stack as null! Any idea y this is happening? Any alternative how to get this done!

    --Mukul

    DB:2.79:Printing Java Layer Error Stack In A Custom Module!--Experts, Please Reply! 81

    Thanks for ur support guys, finally I am able to solve it! Its due to the nature of Quoting API, for getting java as well as sql layer error stack, we need to call Quoting API fom JTF itself, probably this is due to the enviornmental variables setting in different jsp s included!
    Then we can bundle these exceptions and throw in controller of oaf page!

    --Mukul

  • RELEVANCY SCORE 2.79

    DB:2.79:Using Aia To Jump Start Application Integration Platform For Custom Apps 77


    Has anyone used AIA Foundation Packs as the core application integration framework for integrating custom developed applications?

    My company has Oracle / PSft ERP applications, but I'm wondering if there is value in exploring the Oracle AIA Foundation Packs to help standardize / implement application and data integration solutions between our custom applications. Most of our application architecture portfolio are custom apps on legacy Oracle Forms platform and Oracle ADF; Oracle Java rich client (EJB / Swing) applications.

    R

    DB:2.79:Using Aia To Jump Start Application Integration Platform For Custom Apps 77

    Hi R,
    There are many AIA customers doing exactly the same. The value of standardizing the complete integration portfolio is very apparent and AIA Foundation pack provides you complete set of tools to achieve it.

    Regards
    Rohit

  • RELEVANCY SCORE 2.78

    DB:2.78:Oracle Apps Rdf Material Screen Shorts ff


    oracle apps rdf material screen shorts

    DB:2.78:Oracle Apps Rdf Material Screen Shorts ff

    996976 wrote:
    oracle apps rdf material screen shortsYour question is not clear, so please elaborate more.

    Oracle EBS Docs can be found at http://www.oracle.com/technetwork/documentation/applications-167706.html

  • RELEVANCY SCORE 2.78

    DB:2.78:Message 9d


    hi,
    I read in the document under Error handling topic the following,

    Note that we created a message in Oracle Applications Message Dictionary (FWK_TBX_OBJECT_NOT_FOUND) in the AK application. The message was defined with a token (OBJECT_NAME) that we replace with the name of the UI component that we expected to find. The OA Framework will use this information to automatically display a properly translated error message at the top of the page (if you instantiate an OAException, and don't specify the message type, it always renders as an error).

    I want to know how to create and define the message in Oracle App Message Dictionary in AK or anyother application. Can you please explain and guide in creating and defining the message.

    thanking you
    ri

    DB:2.78:Message 9d

    You can define messages using Functional Administrator responsibility and Messages Function.

  • RELEVANCY SCORE 2.78

    DB:2.78:Helloworld Page Redirecting To The Oracle Apps Frontend Log In Page. d1


    When I am trying to open HelloWorld page , It is Redirecting to the Oracle Apps front end page automatically instead the HelloWorld Page.

    Please provide thesolution as i am new to this Framework

    Thanks
    Sk

  • RELEVANCY SCORE 2.77

    DB:2.77:Can Anyone Send Me Oracle Apps Document ak


    Hi,

    I worked in Oracle D2K, Now i like to learn Oracle Apps. Can anyone send me the Oracle Apps Document.

    with regards
    S.Chinnathambi

    DB:2.77:Can Anyone Send Me Oracle Apps Document ak

    Hi,

    I worked in Oracle D2K, Now i like to learn Oracle Apps. Can anyone send me the Oracle Apps Document.

    with regards
    S.Chinnathambi

  • RELEVANCY SCORE 2.77

    DB:2.77:Oracle.Jbo.Domain.Number Cannot Be Cast To Java.Lang.Strinoracle.Jbo.Dom z7


    Hello, please if you help me with this error

    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.jbo.domain.Number cannot be cast to java.lang.String
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2978)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    java.lang.ClassCastException: oracle.jbo.domain.Number cannot be cast to java.lang.String
    at aes.oracle.apps.ximp.webui.DocumentosCreateCO.processFormRequest(DocumentosCreateCO.java:46)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    java.lang.ClassCastException: oracle.jbo.domain.Number cannot be cast to java.lang.String
    at aes.oracle.apps.ximp.webui.DocumentosCreateCO.processFormRequest(DocumentosCreateCO.java:46)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)

    This is my code

    package aes.oracle.apps.ximp.webui;

    import java.io.Serializable;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.*;
    import oracle.apps.fnd.framework.webui.*;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.jbo.Row;
    import oracle.jbo.domain.Number;
    import java.lang.String;

    public class DocumentosCreateCO extends OAControllerImpl
    {

    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    if(!pageContext.isFormSubmission())
    {
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createDocumento", null);
    }
    TransactionUnitHelper.startTransactionUnit(pageContext, "documentoCreateTxn");
    }

    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if(pageContext.getParameter("Apply") != null)
    {
    OAViewObject vo = (OAViewObject)am.findViewObject("XimpDocumentosVwView1");
    String nroDocumento = (String)vo.getCurrentRow().getAttribute("NroDocumento");
    Number idProveedor = (Number)vo.getCurrentRow().getAttribute("IdProveedor");
    String codTipoDoc = (String)vo.getCurrentRow().getAttribute("CodTipoDoc");
    Serializable parameters[] = {
    nroDocumento, idProveedor.toString(), codTipoDoc
    };
    Serializable result = am.invokeMethod("existeDocumento", parameters);
    if(result == null)
    {
    String MontoDocumento1 = (String)vo.getCurrentRow().getAttribute("MontoDocumento");
    String redondeado1 = Redondear(MontoDocumento1);
    if (redondeado1.equals("Y"))
    {
    am.invokeMethod("apply");
    MessageToken tokens[] = {
    new MessageToken("NRO_DOC", nroDocumento)
    };
    OAException confirmMessage = new OAException("XIMP", "XIMP_DOCI_CREATE_CONFIRM", tokens, (byte)3, null);
    TransactionUnitHelper.endTransactionUnit(pageContext, "documentoCreateTxn");
    pageContext.putDialogMessage(confirmMessage);
    pageContext.forwardImmediately("OA.jsp?page=/aes/oracle/apps/ximp/webui/DocumentoLineasPG", null, (byte)0, null, null, true, "N");
    }
    else
    {
    OAException message = new OAException("el Campo Importe Total Documento acepta como mximo dos cifras decimales",OAException.CONFIRMATION);
    pageContext.putDialogMessage(message);
    }
    } else
    {
    OAException message = new OAException("Ya existe un documento para ese proveedor con el mismo tipo y n\372mero de documento", (byte)0);
    pageContext.putDialogMessage(message);
    }
    } else
    if(pageContext.getParameter("Lineas") != null)
    {
    OAViewObject vo = (OAViewObject)am.findViewObject("XimpDocumentosVwView1");
    Number idProveedor = (Number)vo.getCurrentRow().getAttribute("IdProveedor");
    String codTipoDoc = (String)vo.getCurrentRow().getAttribute("CodTipoDoc");
    String nroDocumento = (String)vo.getCurrentRow().getAttribute("NroDocumento");
    Serializable parameters[] = {
    nroDocumento, idProveedor.toString(), codTipoDoc
    };
    Serializable result = am.invokeMethod("existeDocumento", parameters);

    if(result == null)
    {
    String MontoDocumento2 = (String)vo.getCurrentRow().getAttribute("MontoDocumento");
    String redondeado2 = Redondear(MontoDocumento2);
    if (redondeado2.equals("Y"))
    {
    am.invokeMethod("apply");
    MessageToken tokens[] = {
    new MessageToken("NRO_DOC", nroDocumento)
    };
    OAException confirmMessage = new OAException("XIMP", "XIMP_DOCI_CREATE_CONFIRM", tokens, (byte)3, null);
    pageContext.putDialogMessage(confirmMessage);
    TransactionUnitHelper.endTransactionUnit(pageContext, "documentoCreateTxn");
    pageContext.forwardImmediately("OA.jsp?page=/aes/oracle/apps/ximp/webui/DocumentoLineasPG", null, (byte)0, null, null, true, "N");
    }
    else
    {
    OAException message = new OAException("el Campo Importe Total Documento acepta como mximo dos cifras decimales",OAException.CONFIRMATION);
    pageContext.putDialogMessage(message);
    }
    } else
    {
    OAException message = new OAException("Ya existe un documento para ese proveedor con el mismo tipo y n\372mero de documento", (byte)0);
    pageContext.putDialogMessage(message);
    }
    } else
    if(pageContext.getParameter("Cancel") != null)
    {
    am.invokeMethod("rollbackDocumento");
    TransactionUnitHelper.endTransactionUnit(pageContext, "documentoCreateTxn");
    pageContext.forwardImmediately("OA.jsp?page=/aes/oracle/apps/ximp/webui/DocumentosBusqPG", null, (byte)0, null, null, true, "N");
    }
    }

    public DocumentosCreateCO()
    {
    }

    public String Redondear(String numero)
    {
    String retorno;

    double v_number=Double.valueOf(numero).doubleValue();

    if (v_number==(Math.rint(v_number*100)/100))
    {
    retorno = "Y";
    }
    else
    {
    retorno = "N";
    }
    return retorno ;
    }
    public static final String RCS_ID = "$Header$";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header$", "%packagename%");

    }

    What I did was raise a validation for decimals. If I could help I would appreciate
    please if you help me with my code, thanks

    DB:2.77:Oracle.Jbo.Domain.Number Cannot Be Cast To Java.Lang.Strinoracle.Jbo.Dom z7

    String MontoDocumento1 = (String) vo.getCurrentRow (). GetAttribute ("MontoDocumento");if the type of the attribute 'MontoDocumento' is Number in the db, the EO and the VO you get a class cast exception as a Number is not a String.
    use
    Number nMD = (Number) vo.getCurrentRow ().getAttribute ("MontoDocumento");
    String MontoDocumento1 = null;
    if (nMD != null){
    MontoDocumento1 = nMD.toString(); // or MontoDocumento1 = nMD.stringValue();
    }Timo

  • RELEVANCY SCORE 2.77

    DB:2.77:Integrating Bi Publisher Into Oaf xz


    Hi,

    I am relatively new to OAF but have a good understanding to BIP. I am in R12.0.6.

    I have a requirement to embed the a BIP report into an OAF page. I have read the documentation and try to extend the documentViewer. i created a new region which extends the /oracle/apps/xdo/oa/common/DocumentViewerRn.MainRegion . I copied the xml file from the $XDO mds repo.

    I have created a pl/sql package the creates some dummy xml, and a template and registered them into the apps. The report is displayed correctly via concurrent request output.

    when i try and run my custom page in Jdeveloper the page displays correctly.

    i can select the output format of the document, and there is a run button.
    When i press the run button, i get Error - Exceptionnull. i do not understand why i get this, and the error message is also not very helpful.

    This happens in my Application module, in the GetXML procedure i have created. All the code in my controller is from the Oracle XML Publisher, Administration and Developer's Guide, Release 12 Part No. B31412-01 (chapter 8)

    The code for the am is

    public BlobDomain getXMLData(String pLeadId)
    {
    System.out.println("In get xml data " );
    BlobDomain blobDomain = new BlobDomain();
    OADBTransaction oadbtransaction = getOADBTransaction();
    System.out.println("trying to get apps context " );
    AppsContext appscontext = ((OADBTransactionImpl)getOADBTransaction()).getAppsContext();
    System.out.println("got apps context " );
    try
    {
    System.out.println("In try block " );
    String dataDefCode = "xx_RUPESH_TEST" ;
    String dataDefApp = "xx";
    System.out.println("before new data template " );
    DataTemplate datatemplate = new DataTemplate(appscontext, dataDefApp,dataDefCode);

    System.out.println("after new data template " );
    Hashtable parameters = new Hashtable();
    //parameters.put("pLeadId",pLeadId);
    //datatemplate.setParameters(parameters);
    System.out.println("dt.setoutput " );
    datatemplate.setOutput(blobDomain.getBinaryOutputStream());
    System.out.println("dt.process_data " );
    datatemplate.processData();
    }
    catch(SQLException e)
    {
    throw new OAException("SQL Error=" + e.getMessage(),OAException.ERROR);
    }
    catch (XDOException e)
    {
    throw new OAException("XDOException" + e.getMessage(),OAException.ERROR);
    }
    catch(Exception e)
    {
    throw new OAException("Exception" + e.getMessage(),OAException.ERROR);
    }
    return blobDomain;
    }

    can anyone please advice where i have gone wrong?

    Many thanks
    Rupesh

    Edited by: rupz112 on 13-Jul-2009 08:27

    Edited by: rupz112 on 13-Jul-2009 08:29

    DB:2.77:Integrating Bi Publisher Into Oaf xz

    Rupz,

    We don't have anything in production using this, but for my initial "is my page set up right" testing, I had the following in my controller's processRequest() method:
    oapagecontext.putParameter("p_DataSource", DocumentHelper.DATA_SOURCE_TYPE_REQUEST_ID);
    oapagecontext.putParameter("p_RequestID", "123456");When using the BIP data template to generate my XML data, I replaced DATA_SOURCE_TYPE_REQUEST_ID with DATA_SOURCE_TYPE_BLOB and set p_DataSourceAppShortName, p_DataSourceCode and XML_DATA_BLOB instead of p_RequestID

    theFurryOne

  • RELEVANCY SCORE 2.77

    DB:2.77:Submit Button Validation In Absence Review Page m8


    Dears ,
    i'm tring to make avalidation on submit button in absence review page " /oracle/apps/per/selfservice/absence/webui/AbsenceReviewPG "
    i went throgh the following steps :
    1.extend controller from the originl controller.
    2. the code as below:

    if(pageContext.getParameter("HrCancel") != null)
    {
    throw new OAException("PER", "XX_PERMISSION_EXEEDS_FOUR_MSG");
    }
    else
    {
    throw new OAException("PER", "XX_CLICKCALCULATE_MSG");
    }

    then make personlization.
    but nothing happend when i clicked the submit button

    DB:2.77:Submit Button Validation In Absence Review Page m8

    Wrong forum. Please try the {forum:id=210} forum.

    Timo

  • RELEVANCY SCORE 2.77

    DB:2.77:Adf Application Deployment On Oracle Apps Server? 7a


    OAFramework is used to create and deploy oracle application pages...can ADF framework be used instead of OAFramework and be deployed and accessed in Oracle Applications? or as both OAF and ADF have different structures/framework they are for different purposes?

    Thanks,
    Tanveer

    Message was edited by:
    Tanveer

    DB:2.77:Adf Application Deployment On Oracle Apps Server? 7a

    As of R12, OAF can only be used for Oracle Applications development/extensions.
    Oracle ADF is an end-to-end J2EE framework. ADF is currently not used for Oracle Apps. Development / extensions. It is expected to be the case in Fusion and is a part of the Oracle Fusion Middleware.

    Hope this clarifies.

  • RELEVANCY SCORE 2.77

    DB:2.77:Its Urgent: Navigate To Home Page. pa


    Hi Gurus,

    my requirement is i have two pages in secound page(create page) click on the submit button the data insert into database tables(this part is over) and it will navigate to firstpage.

    in createpg co i wrote below code and compile oc4j server displays below error.
    Error(67,7): statement not reachable

    if(pageContext.getParameter("Submit")!=null)
    {
    String projnumber=pageContext.getParameter("ProjectNO");
    String oldoperationid=pageContext.getParameter("EmployeeNumber");
    String newManagerName=pageContext.getParameter("NewManagerName");
    String ProjectID=pageContext.getParameter("ProjectID");
    String OldOperationName=pageContext.getParameter("OperationsManager");
    String OldOperationID=pageContext.getParameter("OldOperationID");

    Serializable[] params = {projnumber,oldoperationid,newManagerName,ProjectID,OldOperationName,OldOperationID};
    am.invokeMethod("xxinsertpagelogic",params);

    am.getOADBTransaction().commit();
    throw new OAException("Records Saved Sucessfully",OAException.INFORMATION);

    pageContext.forwardImmediately(
    "OA.jsp?page=/wnsgs/oracle/apps/pa/projectinfo/webui/ProjectInfoPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    }

    plz help its very urgent

    Thanks
    seshu

    Edited by: its urgent on Jan 3, 2012 4:21 AM

    Edited by: its urgent on Jan 3, 2012 4:24 AM

    DB:2.77:Its Urgent: Navigate To Home Page. pa

    HI,

    Can you try by putting the exception statement in the last.

    throw new OAException("Records Saved Sucessfully",OAException.INFORMATION);

    Thanks
    Deb

  • RELEVANCY SCORE 2.77

    DB:2.77:Oracle As sz


    hi,
    We have the instance (oracle Apps 11.5.10) which is integrated with oracle application server10.1.2.
    Now i want to colne the oracle apps instance then integrated with another oracle application server10.1.2. Is it possible?

    DB:2.77:Oracle As sz

    Hi,

    Please see (Note: 186981.1 - Oracle Application Server with Oracle E-Business Suite Release 11i FAQ), *20. How can Oracle E-Business Suite Release 11i environments be cloned?* -- It answers your question.

    Regards,
    Hussein

  • RELEVANCY SCORE 2.77

    DB:2.77:How To Change The Page Tital Programetically 9k


    Hi All,
    In the Control page there is a create dropdown field, which is having data as Approval Request, Document Collaboration, Issue, Lessons Learnt, Risk.
    When I select the Risk and click the go button, then a new page is opened and the page title of the new page is Create Issue:Risk but the Client Requirement is Create:Risk.

    I checked the porsonalization but it is not possible,in personalization only it changes the Create part.
    I now it is possible in this way:

    OAPageLayoutBean page = (OAPageLayoutBean)pageContext.getPageLayoutBean();
    page.setTitle(title text);

    but my controler code is like this:

    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
    {
    super.processRequest(oapagecontext, oawebbean);
    Debug.write(oapagecontext, this, "In PAPageLayoutControllerImpl ANU-----------------", 3);
    if(oapagecontext.isBackButtonTestMode())
    {
    Debug.log(oapagecontext, this, "******* In PAPageLayoutControllerImpl, BackButtonTestMode is on ************* ", 3);
    oapagecontext.addSessionValueKeyToPersistList("paProjectId");
    Debug.log(oapagecontext, this, (new StringBuilder()).append("In PAPageLayoutControllerImpl, 2 getSessionValue('paProjectId'):").append((String)oapagecontext.getSessionValue("paProjectId")).toString(), 3);
    oapagecontext.addSessionValueKeyToPersistList("paProjectLoggedUser");
    oapagecontext.addSessionValueKeyToPersistList("paTeamTemplateId");
    oapagecontext.addSessionValueKeyToPersistList("paLoggedUser");
    oapagecontext.addSessionValueKeyToPersistList("paLoggedResp");
    oapagecontext.addSessionValueKeyToPersistList("hideShowEvent");
    oapagecontext.addSessionValueKeyToPersistList("paProjectTemplateId");
    oapagecontext.addSessionValueKeyToPersistList("paProjectMode");
    oapagecontext.addSessionValueKeyToPersistList("paTabMenuName");
    oapagecontext.addSessionValueKeyToPersistList("paTabFuncName");
    oapagecontext.addSessionValueKeyToPersistList("PA_LAST_URL");
    oapagecontext.addSessionValueKeyToPersistList("PAFP_LAST_URL_FOR_RS");
    oapagecontext.addSessionValueKeyToPersistList("paFpLastUrl");
    oapagecontext.addSessionValueKeyToPersistList("PA_CURRENT_URL");
    oapagecontext.addSessionValueKeyToPersistList("PA_LAST_PAGE_TITLE");
    oapagecontext.addSessionValueKeyToPersistList("PA_CURRENT_PAGE_TITLE");
    oapagecontext.addSessionValueKeyToPersistList("paubrZeroBalanceFlag");
    if("Y".equals((String)backBtnUnsafePages.get(getRegionCodeOrPageRef(oapagecontext))) (!"PA_ASMT_LAYOUT".equals(getRegionCodeOrPageRef(oapagecontext)) !"/oracle/apps/pa/assignment/webui/AsmtPG".equals(getRegionCodeOrPageRef(oapagecontext)) || !StringUtils.isNullOrEmpty(oapagecontext.getParameter("paMode")) !"All".equals(oapagecontext.getParameter("paMode"))) (!"PA_ADD_ASSIGNMENTS_PAGE_LAYOUT".equals(getRegionCodeOrPageRef(oapagecontext)) !"/oracle/apps/pa/assignment/webui/AddAssignmentsPagePG".equals(getRegionCodeOrPageRef(oapagecontext)) || "Y".equals(oapagecontext.getParameter("paMass"))))
    {
    Debug.log(oapagecontext, this, "******* In PAPageLayoutControllerImpl, This page is not back button compliant **" +
    "***********"
    , 3);
    OAException oaexception = new OAException("Back Button Mode On: This page should not be tested in this mode. This page is " +
    "certified to show a user-friendly error when submit elements (ex. buttons) are p" +
    "ressed after navigating to the page via the back button. Other pages that do no" +
    "t display this warning allow the back button to be used with submit elements and" +
    " need to be tested."
    , (byte)1);
    oapagecontext.putDialogMessage(oaexception);
    }
    }
    overridePageTitles(oapagecontext, oawebbean);
    setCallingPageUrl(oapagecontext);
    String s = getRegionCodeOrPageRef(oapagecontext);
    checkStaffingEntries(oapagecontext);
    OABreadCrumbsBean oabreadcrumbsbean = (OABreadCrumbsBean)((OAPageLayoutBean)oawebbean).getBreadCrumbsLocator();
    String s1 = (String)oapagecontext.getSessionValue("paTabMenuName");
    String s2 = (String)oapagecontext.getSessionValue("paTabFuncName");
    boolean flag = true;
    if("PA_MY_PROJECTS_LAYOUT".equals(s) || "/oracle/apps/pa/project/webui/MyProjectsPG".equals(s))
    {
    oapagecontext.removeSessionValue("paProjectId");
    oapagecontext.removeSessionValue("paProjectName");
    oapagecontext.removeSessionValue("paProjectNumber");
    if(oapagecontext.getSessionValue("PAGlobalButtonContext") == null)
    {
    oapagecontext.putSessionValue("PAGlobalButtonContext", "ProjectList");
    }
    } else
    if("PA_SETUP_TEMPLATE_LIST_LAYOUT".equals(s) || "/oracle/apps/pa/setup/webui/SetupTemplateListPG".equals(s))
    {
    oapagecontext.removeSessionValue("paProjectTemplateId");
    oapagecontext.removeSessionValue("paProjectId");
    oapagecontext.removeSessionValue("paProjectName");
    oapagecontext.removeSessionValue("paProjectNumber");
    } else
    if("PA_PROJECT_TEAM_MEMBER_LAYOUT".equals(s) || "/oracle/apps/pa/project/webui/ProjectTeamMemberPG".equals(s))
    {
    oapagecontext.removeSessionValue("paProjectTemplateId");
    oapagecontext.removeSessionValue("paProjectId");
    oapagecontext.removeSessionValue("paProjectName");
    oapagecontext.removeSessionValue("paProjectNumber");
    if(oapagecontext.getSessionValue("PAGlobalButtonContext") == null)
    {
    oapagecontext.putSessionValue("PAGlobalButtonContext", "TeamMember");
    }
    } else
    if("PA_CREATE_PROJECT_FROM_LAYOUT".equals(s) || "/oracle/apps/pa/project/webui/CreateProjectFromPG".equals(s) || "PA_PROJECT_SETS_LAYOUT".equals(s) || "/oracle/apps/pa/projectset/webui/ProjectSetsPG".equals(s) || "PA_MY_ACTIONS_LAYOUT".equals(s) || "/oracle/apps/pa/ci/webui/MyActionsPG".equals(s) || ("PA_ISSUE_LIST_LAYOUT".equals(s) || "/oracle/apps/pa/ci/webui/IssueListPG".equals(s)) !"TaskList".equals(oapagecontext.getParameter("paObjectType")) || ("PA_CHG_DOC_LIST_LAYOUT".equals(s) || "/oracle/apps/pa/ci/webui/ChgDocListPG".equals(s)) !"TaskList".equals(oapagecontext.getParameter("paObjectType")) || "PA_TASK_LIST_LAYOUT".equals(s) || "/oracle/apps/pa/task/webui/TaskListPG".equals(s) || "/oracle/apps/pa/deliverable/webui/TmMemberLoginPG".equals(s))
    {
    oapagecontext.removeSessionValue("paProjectTemplateId");
    oapagecontext.removeSessionValue("paProjectId");
    oapagecontext.removeSessionValue("paProjectName");
    oapagecontext.removeSessionValue("paProjectNumber");
    } else
    if("AssignedActionsRN".equals(s) || "/oracle/apps/pa/progress/webui/AssignedActionsPG".equals(s) || "OwnedWorklistLayoutRN".equals(s) || "/oracle/apps/pa/progress/webui/OwnedWorklistPG".equals(s))
    {
    oapagecontext.removeSessionValue("paProjectTemplateId");
    oapagecontext.removeSessionValue("paProjectId");
    oapagecontext.removeSessionValue("paProjectName");
    oapagecontext.removeSessionValue("paProjectNumber");
    }
    setPAGlobalMenu(oapagecontext);
    boolean flag1 = retainPageTabs(s, s2, s1);
    Debug.log(oapagecontext, this, (new StringBuilder()).append("PAPageLayoutControllerImpl.processRequest: keepSameTabs").append(flag1).toString(), 3);
    if(!flag1 s != null pageFunction.containsKey(s))
    {
    Debug.log(oapagecontext, this, "PAPageLayoutControllerImpl.processRequest: Check for null region code", 3);
    Serializable aserializable[] = {
    "PA_DEMO_MENU_NAME"
    };
    OAApplicationModule oaapplicationmodule = oapagecontext.getRootApplicationModule();
    String s7 = null;
    String s10 = (String)pageFunction.get(s);
    if(s10 != null !s10.equals("") !"TEMPLATE".equals(oapagecontext.getSessionValue("paProjectMode")))
    {
    String s12 = oapagecontext.getParameter("paProjectId");
    if("Y".equals((String)entryPages.get(s)) !StringUtils.isNullOrEmpty(s12))
    {
    String s14 = StringUtils.nullToEmpty((String)oapagecontext.getSessionValue("paContextProjectId"));
    if(!"".equals(s14) !s14.equals(s12))
    {
    SessionUtils.putProjectId(s14, oapagecontext);
    } else
    {
    SessionUtils.putProjectId(s12, oapagecontext);
    }
    }
    if(SessionUtils.getProjectId(oapagecontext) != null)
    {
    if(s7 != null !s7.equals(""))
    {
    ((OAPageLayoutBean)oawebbean).setApplicationMenu(s7);
    } else
    {
    String s15 = getTabMenuName(SessionUtils.getProjectId(oapagecontext), oapagecontext);
    ((OAPageLayoutBean)oawebbean).setApplicationMenu(s15);
    SessionUtils.putTabValue("PA_PRM_PROJ_TABS", oapagecontext);
    PATab.DisplayTab(s15, "PA_PROJECTS", this, oapagecontext);
    }
    ((OAPageLayoutBean)oawebbean).setSelectedFunction(s10);
    setPAGlobalMenu(oapagecontext);
    flag = false;
    Debug.log(oapagecontext, this, (new StringBuilder()).append("--------------Using SINGLE_TAB for page ").append(s).toString(), 3);
    }
    } else
    {
    OAPageLayoutBean oapagelayoutbean2 = oapagecontext.getPageLayoutBean();
    ((OAPageLayoutBean)oawebbean).setApplicationMenu(null);
    Debug.log(oapagecontext, this, (new StringBuilder()).append("--------------Using no tab menu for ").append(s).toString(), 3);
    SessionUtils.putTabValue("NO_TABS", oapagecontext);
    flag = false;
    }
    }
    if(!flag)
    {
    Debug.log(oapagecontext, this, (new StringBuilder()).append("--------------MT: putting tabmenu values into session for region ").append(s).toString(), 3);
    String s3 = ((OAPageLayoutBean)oawebbean).getApplicationMenu();
    String s6 = ((OAPageLayoutBean)oawebbean).getSelectedFunction();
    Debug.log(oapagecontext, this, (new StringBuilder()).append("newMenuName=").append(s3).toString(), 3);
    Debug.log(oapagecontext, this, (new StringBuilder()).append("newFucName=").append(s6).toString(), 3);
    String s8 = (String)oapagecontext.getSessionValue("paCallMode");
    if(!"FORMS".equals(s8) oabreadcrumbsbean != null (s1 == null s3 != null || s1 != null !s1.equals(s3) || s2 == null s6 != null || s2 != null !s2.equals(s6)) !"UpdateResAsgmt".equals(oapagecontext.getParameter("paCallingPage")) !"TASKDETAIL".equals(oapagecontext.getParameter("paCallingPage")) !"/oracle/apps/pa/deliverable/webui/CrUpDeliverablePG".equals(getRegionCodeOrPageRef(oapagecontext)) !"Y".equals(oapagecontext.getParameter("paFromCrUpDlvToTaskDtlDlv")) !"Y".equals(oapagecontext.getParameter("paKeepBreadCrumbsForTaskDtls")))
    {
    oabreadcrumbsbean.removeAllLinks(oapagecontext);
    Debug.log(oapagecontext, this, (new StringBuilder()).append("--------------MT: ").append(s1).append("-").append(s3).append("-").append(s2).append("-").append(s6).toString(), 3);
    oapagecontext.putTransactionValue("paReturnToBreadcrumb", "FALSE");
    }
    if(s3 != null)
    {
    oapagecontext.putSessionValue("paTabMenuName", s3);
    } else
    {
    oapagecontext.removeSessionValue("paTabMenuName");
    }
    if(s6 != null)
    {
    oapagecontext.putSessionValue("paTabFuncName", s6);
    } else
    {
    oapagecontext.removeSessionValue("paTabFuncName");
    }
    } else
    {
    String s4 = ((OAPageLayoutBean)oawebbean).getApplicationMenu();
    if(s1 == null s4 != null || s1 != null !s1.equals(s4))
    {
    Debug.log(oapagecontext, this, (new StringBuilder()).append("--------------Recovering menu for ").append(s).append(", old=").append(s4).append(", new=").append(s1).append("-").append(s2).toString(), 3);
    ((OAPageLayoutBean)oawebbean).setApplicationMenu(s1);
    ((OAPageLayoutBean)oawebbean).setSelectedFunction(s2);
    }
    }
    if("PA_TEAM_LIST_LAYOUT".equals(getRegionCodeOrPageRef(oapagecontext)) || "/oracle/apps/pa/team/webui/TeamListPG".equals(getRegionCodeOrPageRef(oapagecontext)))
    {
    Debug.log(oapagecontext, this, "TEAM LIST: remove all links in breadcrumbs", 3);
    if(oabreadcrumbsbean != null)
    {
    oabreadcrumbsbean.removeAllLinks(oapagecontext);
    }
    }
    String s5 = (String)oapagecontext.getSessionValue("PAGlobalButtonContext");
    if(s5 == null || s5 != null s5.equals("ProjectList"))
    {
    hideProjectListButton(oapagecontext, oawebbean, s);
    }
    setProjectIdForProjectContextPage(oapagecontext, oawebbean, s);
    renderPageStampRegion(oapagecontext, oawebbean, s);
    backButtonCheck(oapagecontext);
    displayPATabs(oapagecontext, oawebbean);
    OAPageLayoutBean oapagelayoutbean = oapagecontext.getPageLayoutBean();
    if(((OAPageLayoutBean)oawebbean).getApplicationMenu() == null)
    {
    OAGlobalHeaderBean oaglobalheaderbean = (OAGlobalHeaderBean)oapagelayoutbean.getPageHeader();
    if(oaglobalheaderbean != null)
    {
    oaglobalheaderbean.setText(null);
    }
    }
    displayAsgnContextRegion(oapagecontext, oawebbean);
    displayResContextRegion(oapagecontext, oawebbean);
    Debug.write(oapagecontext, this, (new StringBuilder()).append("%%%% REGION CODE ").append(s).toString(), 5);
    String s9 = oapagecontext.getParameter("paSetupOptionCode");
    if("PA_STRUCT_WP_VERSION_LAYOUT".equals(s) || "/oracle/apps/pa/structure/webui/StructWpVersionPG".equals(s) || "/oracle/apps/pa/structure/webui/WorkplanShortcutPG".equals(s) || "PA_STRUCT_EDIT_STRUCT_LAYOUT".equals(s) || "/oracle/apps/pa/structure/webui/StructEditStructPG".equals(s) || "PA_STRUCT_EDIT_TASKS_LAYOUT".equals(s) || "/oracle/apps/pa/structure/webui/StructEditTasksPG".equals(s) || "PA_STRUCT_MAINT_LAYOUT".equals(s) || "/oracle/apps/pa/structure/webui/StructMaintPG".equals(s) || "PA_SETUP_TAB_SETUP_LAYOUT".equals(s) "WORKPLAN_SETUP".equals(s9) || "/oracle/apps/pa/setup/webui/SetupTabSetupPG".equals(s) "WORKPLAN_SETUP".equals(s9) || "/oracle/apps/pa/deliverable/webui/DeliverableListPG".equals(s) || "/oracle/apps/pa/structure/assignment/webui/ResourceUsagePG".equals(s) || "/oracle/apps/pa/structure/webui/FPStructVersionPG".equals(s) || "/oracle/apps/pa/structure/webui/FinancialShortcutPG".equals(s) || "/oracle/apps/pa/progress/webui/FinancialPercentCompletePG".equals(s) || "/oracle/apps/pa/ci/webui/CIUpdatePG".equals(s) || "/oracle/apps/pa/ci/webui/CiCiCreatePG".equals(s) || "PA_CI_UPDATE_LAYOUT".equals(s) || "PA_CI_CI_CREATE_LAYOUT".equals(s) || "PA_CI_SEL_TYPE_LAYOUT".equals(s) || "/oracle/apps/pa/ci/webui/CiSelTypePG".equals(s) || "/oracle/apps/pa/ci/webui/IssueItemsListPG".equals(s) || "/oracle/apps/pa/ci/webui/ChgOrdItemsListPG".equals(s) || "/oracle/apps/pa/ci/webui/ChgReqItemsListPG".equals(s) || "PA_ISSUE_ITEMS_LIST_LAYOUT".equals(s) || "PA_CHG_ORD_ITEMS_LIST_LAYOUT".equals(s) || "PA_CHG_REQ_ITEMS_LIST_LAYOUT".equals(s) || "/oracle/apps/pji/projperf/reporting/webui/OverviewPG".equals(s))
    {
    String s11 = oapagecontext.getParameter("paFromPji");
    String s13;
    if(s11 != null !"".equals(s11) "Y".equals(s11))
    {
    s13 = oapagecontext.getParameter("paProjectId");
    } else
    {
    s13 = SessionUtils.getProjectId(oapagecontext);
    }
    if(s13 != null)
    {
    String s16 = checkOrgProject(oapagecontext, oawebbean, s13);
    if("Y".equals(s16))
    {
    OAException oaexception1 = null;
    OADialogPage oadialogpage = null;
    OAPageLayoutBean oapagelayoutbean1 = oapagecontext.getPageLayoutBean();
    oapagelayoutbean1.prepareForRendering(oapagecontext);
    oaexception1 = new OAException("PA", "PA_FP_ORG_FCST_MSG");
    oadialogpage = new OADialogPage((byte)0, oaexception1, null, null, null);
    oapagecontext.redirectToDialogPage(oadialogpage);
    }
    }
    }
    }

    Could you please help me how I solve this requirement.

    DB:2.77:How To Change The Page Tital Programetically 9k

    Hi,

    If i am right then you want to change the title of the page based upon the value selected in MessageChoice Bean.

    Note- You cannot set the title of the page in PFR. The above will be only applicable for the PR. You cannot change the bean property into PFR.

    Regards,
    Gyan

  • RELEVANCY SCORE 2.77

    DB:2.77:Learn Oa Framework pd


    Hi,
    Thanks in Advance.
    I am working as Oracle Apps Technical Consultant.
    I like to learn OA Framework. Can u pls suggestl me which is the best Institute in Hyderabad.
    Also pls suggest me the other sources of learning OA Framework.

    I heard that JAVA is must to learn OA Framework. Also can u let me know what are the required skills to learn OA Framework.

    Thanks,
    Satya.

    DB:2.77:Learn Oa Framework pd

    Hi satya

    first of u need to learn basic java concepts,otherwise i can say u cant understand the logic and coding standards

    better before u start oaf u go throught the basic java concepts and start oaf it will be very easy to understand the oaf coding..

    Regards
    Sreekanth

  • RELEVANCY SCORE 2.76

    DB:2.76:Problem Related To Train. ck


    Hi,

    I am implementing multi step create using Train.
    I am facing some problem here while navigating from page2 to page3 and also its not displaying 'Back' button.
    I have 4 pages in train.
    Here is the code I am using for CreateFooterCO for navigation.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processRequest(pageContext, webBean);
    OATrainBean trainBean = (OATrainBean)pageContext.getPageLayoutBean().getLocation();

    // You must call the following before getting the target page index.

    trainBean.prepareForRendering(pageContext);
    int step = trainBean.getSelectedTrainStepRenderedIndex();
    int step1= trainBean.getNumberOfRenderedTrainSteps();
    System.out.println("********Total No.of Steps*******"+step1);
    System.out.println("********After increment Step*******"+step);
    if (step + 1 != trainBean.getNumberOfRenderedTrainSteps())
    {
    OASubmitButtonBean submitButton =
    (OASubmitButtonBean)webBean.findIndexedChildRecursive("Submit");

    submitButton.setRendered(false);
    }
    }
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);

    // This button should only be displayed on the final page...

    if (pageContext.getParameter("Submit") != null)
    {
    am.invokeMethod("apply");

    // Indicate that the Update transaction is complete.
    TransactionUnitHelper.endTransactionUnit(pageContext, "citizenCreateTxn");
    pageContext.setForwardURL("OA.jsp?page=/uttara/oracle/apps/uttaraimc/createCitizen/webui/CreateCitizenSearchPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, null, true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);

    }
    else if ("goto".equals(pageContext.getParameter(EVENT_PARAM))
    "NavBar".equals(pageContext.getParameter(SOURCE_PARAM)))
    {
    int target = Integer.parseInt(pageContext.getParameter(VALUE_PARAM));
    System.out.println("*******Target*******"+target);
    String targetPage;

    switch(target)
    {
    case 1: targetPage = "/uttara/oracle/apps/uttaraimc/createCitizen/webui/CreateCitizenBasicInfoPG";
    System.out.println("****page1*****"+targetPage);break;
    case 2: targetPage = "/uttara/oracle/apps/uttaraimc/createCitizen/webui/CreateCitizenMoreInfoPG";
    System.out.println("****page2*****"+targetPage);break;
    case 3: targetPage = "/uttara/oracle/apps/uttaraimc/createCitizen/webui/CreateCitizenPersonExtPG";
    System.out.println("****page3*****"+targetPage);break;
    case 4: targetPage = "/uttara/oracle/apps/uttaraimc/createCitizen/webui/CreateCitizenLocExtPG";
    System.out.println("*****page4****"+targetPage);break;
    default: throw new OAException("ICX", "FWK_TBX_T_EMP_FLOW_ERROR");
    }

    // HashMap pageParams = new HashMap(2);
    // pageParams.put("ccStep", new Integer(target));

    pageContext.setForwardURL("OA.jsp?page=" + targetPage,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // Retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO, // Do not display breadcrumbs
    OAWebBeanConstants.IGNORE_MESSAGES);

    }
    else if (pageContext.getParameter("Cancel") != null)
    {
    am.invokeMethod("rollbackCitizenInfo");

    // Indicate that the Update transaction is complete.
    TransactionUnitHelper.endTransactionUnit(pageContext, "citizenCreateTxn");

    pageContext.forwardImmediately("OA.jsp?page=/uttara/oracle/apps/uttaraimc/createCitizen/webui/CreateCitizenSearchPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    }
    } // end processFormRequest()

    and the following log in JDeveloper,
    ********Total No.of Steps*******4

    ********After increment Step*******0

    *******Target*******2

    ****page2*****/uttara/oracle/apps/uttaraimc/createCitizen/webui/CreateCitizenMoreInfoPG

    ********Total No.of Steps*******4

    ********After increment Step*******1

    *******Target*******2

    ****page2*****/uttara/oracle/apps/uttaraimc/createCitizen/webui/CreateCitizenMoreInfoPG

    ********Total No.of Steps*******4

    ********After increment Step*******1

    *******Target*******2

    ****page2*****/uttara/oracle/apps/uttaraimc/createCitizen/webui/CreateCitizenMoreInfoPG

    ********Total No.of Steps*******4

    Why the steps are increamenting and its not going to 3rd step and also its not showing 'Back' button in page2?

    Is there any mistake I did in this code?
    The page link are that I have given is correct.
    Please have a look into this issue who has already implemented train to create record.

    Thanks Regards,
    Sagarika

    DB:2.76:Problem Related To Train. ck

    Sorry, the steps are not incrementing after step1.

  • RELEVANCY SCORE 2.76

    DB:2.76:Adf Adoption dm


    Hello All

    Not sure if should be asking this question in here.

    Just want to get some comments/views on why is ADF adoption is very slow compared to other java framework.

    Its not penetrating like Oracle FORMS did or other Java Frameworks.

    Is it because its expensive and only support on Weblogic and WebSphere?

    May be ORACLE is more interested in Oracle Fussion Apps(ERP) than Custom application with ADF.

    Thoughts?

    Thanks

    DB:2.76:Adf Adoption dm

    the Framework is used to build largest Enterprise Fussion applications and yet not matured?i said adf is not matured means.. its still under constant development.. Yes.. adf is used to develop the largest enterprise fusion applications.. to show its power.. and for marketing strategy..

    ADF is around for many years now why do you see as not matured. Yes.. its been around but still we have quite less number of people knowing it.. there are less number of people who actually uses it.. that doesnt say that its not powerful..

  • RELEVANCY SCORE 2.76

    DB:2.76:Reg:Integrating Xml Publisher And Oa Framework dd


    I am trying to Integrating XML Publisher and OA Framework, i got

    C:\Framework\Jdeveloper\jdevhome\jdev\myprojects\xxxmlrep\oracle\apps\ak\webui\EmpCO.java
    Error(84,7): class OADBTransactionImpl not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
    Error(87,7): class OADBTransactionImpl not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
    Error(88,7): class OADBTransactionImpl not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
    Error(90,5): variable TemplateHelper not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO
    Error(83,5): variable TemplateHelper not found in class xxxmlrep.oracle.apps.ak.webui.EmpCO

    source code is

    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package xxxmlrep.oracle.apps.ak.webui;

    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import javax.servlet.ServletOutputStream;
    import javax.servlet.http.HttpServletResponse;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.cabo.ui.data.DataObject;
    import oracle.xml.parser.v2.XMLNode;

    /**
    * Controller for ...
    */
    public class EmpCO extends OAControllerImpl
    {
    private static final int DEPTH = 4;
    private static final int APP_ID = 20035;
    private static final String APP_NAME = "AK";
    private static final String TEMPLATE_CODE = "XXEMP_JDEV";
    private static final int BUFFER_SIZE = 32000;

    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");

    /**
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    */
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
    am.invokeMethod("initEmpVO");
    am.invokeMethod("getEmpDataXML");

    }

    /**
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    */
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processFormRequest(pageContext, webBean);
    OAApplicationModuleImpl am= (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);

    String event = pageContext.getParameter("event");
    if("GenerateReport".equals(event))
    {

    DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
    HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
    try {
    ServletOutputStream os = response.getOutputStream();
    String contentDisposition = "attachment;filename=EmpReport.pdf";
    response.setHeader("Content-Disposition",contentDisposition);
    response.setContentType("application/pdf");
    XMLNode xmlNode = (XMLNode) am.invokeMethod("getEmpAM");
    ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
    xmlNode.print(outputStream);
    ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
    ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();

    TemplateHelper.processTemplate(
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
    APP_NAME,
    TEMPLATE_CODE,
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
    ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
    inputStream,
    TemplateHelper.OUTPUT_TYPE_PDF,
    null,
    pdfFile);

    byte[] b = pdfFile.toByteArray();
    response.setContentLength(b.length);
    os.write(b, 0, b.length);
    os.flush();
    os.close();
    }
    catch(Exception e)
    {
    response.setContentType("text/html");
    throw new OAException(e.getMessage(), OAException.ERROR);
    }
    pageContext.setDocumentRendered(false);
    }

    }

    thank in advance

    }

    DB:2.76:Reg:Integrating Xml Publisher And Oa Framework dd

    Hi John,

    thanks for this code. It saved my day :-)

    Timo

  • RELEVANCY SCORE 2.76

    DB:2.76:What Is Oracle Adf? 1f


    hello.
    what's Oracle Application Development Framework (Oracle ADF)?
    what's the development tools?
    what's the lowest version of oracle application required for Oracle ADF?

    DB:2.76:What Is Oracle Adf? 1f

    I have short summy about ADF in my blog .
    http://eoracleapps.blogspot.com/2009/04/oracle-adf.html

    eoracleapps@hotmail.com

  • RELEVANCY SCORE 2.76

    DB:2.76:How To Change Application Developed In Oaf ad


    Hi All,

    We have developed a custom application in OA Framework and deployed into Oracle Apps 11.5.10 and its working.

    Now, we want the same application to be developed in java(should be web-based) to used by non-Oracle Apps system which use Oracle database.

    Is there any process / steps to transform the application developed in OA Framework for Oracle Apps to make it generic and used with oracle database and mostly this application should be probably deployed in various application servers like tomcat,weblogic...

    As i was not sure in which forum to post this - I have also posted the same in EBS - Technology OAF forums.

    Thanks,
    Ganesh M

    DB:2.76:How To Change Application Developed In Oaf ad

    Hi,

    please ask this question on an Oracle Apps forum. This is a JDeveloper product forum

    Frank

  • RELEVANCY SCORE 2.76

    DB:2.76:Oracle Apps Dba Forums ? 17


    I want to get some details reg. Oracle Apps DBA.

    Please provide the forum for Oracle Apps DBA link

    DB:2.76:Oracle Apps Dba Forums ? 17

    Try the correct "Technology" forum in the "E-Business Suite" category !

    http://forums.oracle.com/forums/category.jspa?categoryID=3

  • RELEVANCY SCORE 2.76

    DB:2.76:Deletion Is Not Working 7z


    Dear all

    I have summary page in that delete submit button is there

    when i click on delete button i am calliing dialoug page

    in that i click on ok button i am deleting the record

    i wrote the code like this

    /*If user will click on delete button it will call to dialog page*/
    if ("Delete".equals(pageContext.getParameter(EVENT_PARAM)))
    {
    System.out.println("Entered into this delete block...");
    String oid = pageContext.getParameter("oid");
    OAException msg = new OAException("PO", "XX_DELETE_SUPPSITE_CONFIRM");
    OADialogPage dpage =
    new OADialogPage(OAException.WARNING, msg, null, "", "");
    dpage.setOkButtonToPost(true);
    dpage.setOkButtonLabel("Yes");
    dpage.setOkButtonItemName("DeleteYes");
    dpage.setPostToCallingPage(true);
    dpage.setNoButtonToPost(true);
    dpage.setNoButtonItemName("DeleteNo");
    Hashtable delete = new Hashtable(1);
    delete.put("d1", oid);
    dpage.setFormParameters(delete);
    pageContext.redirectToDialogPage(dpage);
    }

    /*if user will click on delete yes button*/
    if (pageContext.getParameter("DeleteYes") != null)
    {

    System.out.println("Entered into delete yes method.....................");
    String s1 = pageContext.getParameter("d1");
    am.xxDeleteQuotation(s1);
    HashMap ht = new HashMap();
    ht.put("Purpose", "New");
    pageContext.setForceForwardURL("OA.jsp?page=/crm/oracle/apps/xxcrm/crmmgmt/quotationmgmt/webui/xxcrmquotationcreationPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, ht, false,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAWebBeanConstants.IGNORE_MESSAGES);

    }

    in my case when i click on delete yes button it is not going to this deleteyes block

    Regards
    Sreekanth

    DB:2.76:Deletion Is Not Working 7z

    Dear Devender,

    DeleteYes is not a parameter here :)

    We are capturing the deleteyes button click....

    Thanks,
    Gaurav

  • RELEVANCY SCORE 2.76

    DB:2.76:Oracle Apps 9x


    Hi,

    I want to learn oracle apps.
    If any professional taking classes for apps than please let me know.
    roledba@gmail.com

    DB:2.76:Oracle Apps 9x

    EBS documentation is available at http://www.oracle.com/technetwork/documentation/applications-167706.html

    Srini

  • RELEVANCY SCORE 2.75

    DB:2.75:Am Validation Exception - Deadline Looming - Please Help! jp


    Gurus,

    I am trying to perform validation in AM against data already existing in underlying table. Since my EOImpl is utilizing API calls for insert/update/delete with OAPlsqlEntityImpl ... I cannot enforce uniqueness in EO attributes. Therefore, I am performing validation in AM and need to throw an exception message when duplication occurs.

    I have documented my code and Null Pointer Exception message. The bolded code in PFR represents line "307" which is reference in the Null Pointer Exception. Any help would be greatly appreciated and rewarded.

    Thanks!

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    PFR code:

    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);

    // Pressing the "Apply" button means the transaction should be validated
    // and committed.
    if (pageContext.getParameter("Apply") != null)
    {
    OAViewObject vo = (OAViewObject)am.findViewObject("DesigFullVO1");
    String DesignatorCode = (String)vo.getCurrentRow().getAttribute("DispCode");

    *Serializable[] params = { DesignatorCode };*

    am.invokeMethod("ValDesig",params);
    am.invokeMethod("apply");

    MessageToken[] tokens = { new MessageToken("DESIGNATOR",DesignatorCode)};
    OAException confirmMessage = new OAException("AK", "SPL_CREATE_DESIGNATOR_W", tokens, OAException.CONFIRMATION, null);

    OADialogPage dialogPage = new OADialogPage(OAException.CONFIRMATION,
    confirmMessage,
    null,
    APPLICATION_JSP + "?page=/designator/oracle/apps/spl/hdrdef/webui/DesigSearchPG",
    null);
    dialogPage.setReusePageLayout(true);

    pageContext.releaseRootApplicationModule();
    pageContext.redirectToDialogPage(dialogPage);

    pageContext.putDialogMessage(confirmMessage);

    }

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    VO query:

    select disp_code DISP_CODE
    from spldat.spl_dispositions

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    AM code:

    public void ValDesig(String dispCode)
    {
    DesigValidationVOImpl vo = getDesigValidationVO1();
    DesigValidationVORowImpl Row = null;

    String a = "disp_code = '"+dispCode+"'";
    vo.setWhereClauseParams(null);
    vo.setWhereClause(a);
    vo.executeQuery();

    String l_desig = Row.getDispCode();

    if (l_desig != null)
    *{*
    *MessageToken[] errTokens = { new MessageToken("OBJECT_NAME", "DesigValidationVO1")};*
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    }
    } // end ValDesig()
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------

    NullPointerException

    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
    at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:988)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:211)
    at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:153)
    at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:749)
    at designator.oracle.apps.spl.hdrdef.webui.DesigCreateCO.processFormRequest(DesigCreateCO.java:307)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:804)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1156)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1000)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:966)

    DB:2.75:Am Validation Exception - Deadline Looming - Please Help! jp

    Gurus,

    Thanks for your help. I was able to resolve with the following code in AM. I had to alter my VO query since external "where" clause wasn't working properly converting to an inline view.

    Thanks!

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    AM Code:

    public void ValDesig(String dispCode)
    {

    DesigValidationVOImpl vo = getDesigValidationVO1();
    if (vo == null)
    {
    MessageToken[] errTokens = { new MessageToken("OBJECT_NAME", "DesigValidationVO1")};
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", errTokens);
    }

    String a = dispCode;

    vo.setWhereClause(null);
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0,a);
    vo.executeQuery();

    Row DesigValidationRow = getDesigValidationVO1().first();
    String l_desig = (String)DesigValidationRow.getAttribute("DispCode");
    System.out.println(l_desig+" this is l_desig in AM");

    if (l_desig != null)
    {
    String message = "Designator "+dispCode+" already exists.";
    throw new OAException(message, OAException.ERROR);
    }

    } // end ValDesig()

  • RELEVANCY SCORE 2.74

    DB:2.74:Oa Framework Training mj


    Hi,
    I am working as a oracle apps technical consultant and I would like to get trained in OA Framework.
    Can anyone please let me know which is the best Institute in HYDERABAD that offer good training on OA Framework.
    Thanks in Advance.

    Regards

    DB:2.74:Oa Framework Training mj

    Hi,

    For Training related enquiries mail to oafguru@gmail.com

  • RELEVANCY SCORE 2.74

    DB:2.74:Oa Framework Training 8a


    Hi,
    I am working as a oracle apps technical consultant and I would like to get trained in OA Framework.
    Can anyone please let me know which is the best Institute in HYDERABAD that offer good training on OA Framework.
    Thanks in Advance.

    Satya.

    DB:2.74:Oa Framework Training 8a

    Hi,

    Can anyone please let me know which is the best Institute in HYDERABAD that offer good training on OA Framework.If you are referring to Oracle University, please see if this links help.

    Find An Education Center
    http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=317

    Regards,
    Hussein

  • RELEVANCY SCORE 2.74

    DB:2.74:Needed: Developers Deploying Spring Framework-Based Apps On Oc4j px


    Hello,

    We are trying to get an idea of how many Oracle Application Server/OC4J users are building applications on the Spring Framework. If you are such a developer, could you please respond to this post?

    Thanks
    Dan Hynes
    Oracle Product Management

  • RELEVANCY SCORE 2.74

    DB:2.74:Any Start Up Material For Learning Oa Framework dk


    Hi

    I'm into Oracle apps, just started to learn OA Framework...could you let me know if you have any material for beginner ?

    thanks
    praveen

    DB:2.74:Any Start Up Material For Learning Oa Framework dk

    Praveen

    You may refer below link

    http://oracleanil.blogspot.com/p/how-to-start-learning-oaf.html

    Thanks
    AJ

  • RELEVANCY SCORE 2.74

    DB:2.74:Create/Update Customer Account pc


    Hi,
    i am new to OA Framework. We have E-business suite 12.1.1. The requirements is to make Account Number on Customer screen read only for existing customers.
    How can this be achieved in OA Framework.
    /oracle/apps/ar/cusstd/createcus/webui/ArCreCusPG - Create customer page
    /oracle/apps/ar/cusstd/acctoview/webui/AcctOviewPG - Update customer page

    DB:2.74:Create/Update Customer Account pc

    Yes you can use the same approach... ;)

    Thanks
    AJ

  • RELEVANCY SCORE 2.74

    DB:2.74:Using Forms 10 G With Oracle Apps xp


    HI ALL

    I'm using oracle apps ver 11i with oracle db 8i

    can i use forms 10g with that version of oracle apps ?

  • RELEVANCY SCORE 2.73

    DB:2.73:Not Able To Print Message After Forwarding To Another Page From Current Pag 91


    Hi Experts,

    I am calling a procedure (which will accept 4 IN parameters) from OAF page by presssing a button.

    My page contains: 4 Message Text Input items and one submit button.

    I enter values in the 4 message text input items; once clicking the submit button, it's successfully calling the procedure.*After clicking submit button, after calling procedure, i want to forward to same page with the parameter values null and displaying confirmation message*.

    But i am not able to make the parameter values null in the page.

    I have the below code in my page controller.

    PROCESS FORM REQUEST:

    OAApplicationModule oa=pageContext.getApplicationModule(webBean);

    if(pageContext.getParameter("Submit")!=null){
    CallableStatement call_proc=null;
    try{
    call_proc=oa.getOADBTransaction().createCallableStatement("begin oaf_test_tbl_insert_proc(:1,:2,:3,:4,:5); end;",5);
    call_proc.setString(1,pageContext.getParameter("EmpNo"));
    call_proc.setString(2,pageContext.getParameter("Ename"));
    call_proc.setString(3,pageContext.getParameter("Work"));
    call_proc.setString(4,pageContext.getParameter("Salary"));
    call_proc.registerOutParameter(5,Types.VARCHAR);
    call_proc.execute();
    oa.getOADBTransaction().commit();

    string message=call_proc.getString(5); //out parameter(5) will return a message

    OAException message=new OAException(message,OAException.CONFIRMATION);
    pageContext.putDialogMessage(message);

    pageContext.forwardImmediately("OA.jsp?page=/practice_test_prc1/oracle/apps/mfg/simplepg/webui/oaf_test_tbl_calling_proc"
    ,null
    ,OAWebBeanConstants.KEEP_MENU_CONTEXT
    ,null
    ,null
    ,true
    ,null );

    }catch(SQLException e){
    call_proc.close();
    }

    }

    Kindly help me, how to print the confirmation message and forward to same page by making the param values null.

  • RELEVANCY SCORE 2.73

    DB:2.73:Scope Restrictions 8p


    I have a seeded page that I brought into JDeveloper, after I compiled it, I get Warning messages for all the LOV Regions. See below

    Warning: Invalid value "/oracle/apps/icx/lov/webui/TransactionCodeLovRN" for property "External LOV" on component "/oracle/apps/icx/por/req/webui/CheckoutSummaryPG.TransactionCode". Component "/oracle/apps/icx/lov/webui/TransactionCodeLovRN" cannot be referenced from "/oracle/apps/icx/por/req/webui/CheckoutSummaryPG.TransactionCode" because it violates scope restrictions.

    and another seeded page with messages like:
    Warning: Invalid value "/oracle/apps/fnd/framework/webui/OAFooter.Privacy" for property "Extends" on component "/oracle/apps/icx/icatalog/shopping/webui/ShoppingHomePG.Privacy". Component "/oracle/apps/fnd/framework/webui/OAFooter.Privacy" cannot be referenced from "/oracle/apps/icx/icatalog/shopping/webui/ShoppingHomePG.Privacy" because it violates scope restrictions.

    Q1: Does this affect anything in JDeveloper?

    Q2: How do I, or can I get rid of these Warning message?

    I copied all the LovRN under MyProjects directory and imported them into the project.
    All the class files are under a network drive (not under JDEV_HOME) with the Project Setting's Additional Classpath pointing both to my network drive as well as c:\JDEV_HOME....\myclasses\oracle\apps\...

    Thanks.

    DB:2.73:Scope Restrictions 8p

    I have a seeded page that I brought into JDeveloper, after I compiled it, I get Warning messages for all the LOV Regions. See below

    Warning: Invalid value "/oracle/apps/icx/lov/webui/TransactionCodeLovRN" for property "External LOV" on component "/oracle/apps/icx/por/req/webui/CheckoutSummaryPG.TransactionCode". Component "/oracle/apps/icx/lov/webui/TransactionCodeLovRN" cannot be referenced from "/oracle/apps/icx/por/req/webui/CheckoutSummaryPG.TransactionCode" because it violates scope restrictions.

    and another seeded page with messages like:
    Warning: Invalid value "/oracle/apps/fnd/framework/webui/OAFooter.Privacy" for property "Extends" on component "/oracle/apps/icx/icatalog/shopping/webui/ShoppingHomePG.Privacy". Component "/oracle/apps/fnd/framework/webui/OAFooter.Privacy" cannot be referenced from "/oracle/apps/icx/icatalog/shopping/webui/ShoppingHomePG.Privacy" because it violates scope restrictions.

    Q1: Does this affect anything in JDeveloper?

    Q2: How do I, or can I get rid of these Warning message?

    I copied all the LovRN under MyProjects directory and imported them into the project.
    All the class files are under a network drive (not under JDEV_HOME) with the Project Setting's Additional Classpath pointing both to my network drive as well as c:\JDEV_HOME....\myclasses\oracle\apps\...

    Thanks.

  • RELEVANCY SCORE 2.73

    DB:2.73:Dont Want To See Emp Results On Search Page After Employee Is Created ? d3


    Hi

    I followed the emp search and emp create according to JDEV Tutorials .

    After I create an Emp in Emp create page, the page goes back to search page according to example and it shows confirmation msg on top and also the results of recent search on search results page.

    According to my requirement, I need only confirmation msg and I dont want to see results in serach page after emp is created

    This is what we have

    OAException confirmMessage = new OAException("AK", "FWK_TBX_T_EMP_CREATE_CONFIRM",
    tokens,
    OAException.CONFIRMATION, null);

    // Per the UI guidelines, we want to add the confirmation message at the
    // top of the search/results page and we want the old search criteria and
    // results to display.

    pageContext.putDialogMessage(confirmMessage);

    pageContext.forwardImmediately("OA.jsp?page=/xxempOA/oracle/apps/ak/employee/webui/EmpSearchPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);

    Any suggestions?

    Thanks
    Ravi

    DB:2.73:Dont Want To See Emp Results On Search Page After Employee Is Created ? d3

    As I remeber tutorial it will be like new search again,Hence No prob. Go ahead.

    Abdul Wahid

  • RELEVANCY SCORE 2.73

    DB:2.73:Customizing Homepage : Where Worklist Region Has Gone ? s3


    hi

    i am actually customizing the homepage of oracle application. i extracted the homepage using mlexporter. my new homepage is situated in /mycompany/oracle/apps/fnd/framework/navigate/webui/HomePG.xml

    i created a function OAHOMEPAGE2 which is almost the same as the function OAHOMEPAGE except that in html url i put /mycompany/oracle/apps/fnd/framework/navigate/webui/HomePG instead of
    oracle/apps/fnd/framework/navigate/webui/HomePG

    i made an xmlimporter of /mycompany/oracle/apps/fnd/framework/navigate/webui/HomePG.xml

    bounce the server

    when i test the copy of the homepage by going on url :

    http://host:port/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE2

    the homepage is almost the same as the original one except for the worklist region which is missing....

    where is it ?

    any idea ?

    thx

    Dan

    DB:2.73:Customizing Homepage : Where Worklist Region Has Gone ? s3

    hi

    i am actually customizing the homepage of oracle application. i extracted the homepage using mlexporter. my new homepage is situated in /mycompany/oracle/apps/fnd/framework/navigate/webui/HomePG.xml

    i created a function OAHOMEPAGE2 which is almost the same as the function OAHOMEPAGE except that in html url i put /mycompany/oracle/apps/fnd/framework/navigate/webui/HomePG instead of
    oracle/apps/fnd/framework/navigate/webui/HomePG

    i made an xmlimporter of /mycompany/oracle/apps/fnd/framework/navigate/webui/HomePG.xml

    bounce the server

    when i test the copy of the homepage by going on url :

    http://host:port/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE2

    the homepage is almost the same as the original one except for the worklist region which is missing....

    where is it ?

    any idea ?

    thx

    Dan

  • RELEVANCY SCORE 2.73

    DB:2.73:Did .Net Framework Is Supported On Oracle 8.1.7 8x


    Hi,

    Did .NET framework is supported on Oracle 8.1.7 ?

    - sharad.

    DB:2.73:Did .Net Framework Is Supported On Oracle 8.1.7 8x

    Hi,

    Did .NET framework is supported on Oracle 8.1.7 ?

    - sharad.

  • RELEVANCY SCORE 2.73

    DB:2.73:How To Use A Pdf Template With Oa Framework f8


    I have a question that is hopefully quite simple. I am using JDeveloper to add a button to a page that will create a PDF document.

    According the the documentation it should be quite easy to merge a PDF template file with an XML data file to produce an output PDF file.

    The problem I have is that although I can create the XML data file OK - the output PDF file is not produced (the file gets created but it is 0 bytes - I don't get an error message though). Can someone tell me what I'm doing wrong?

    My code is as follows:

    try
    {

    DataProcessor dataProcessor = new DataProcessor();
    dataProcessor.setDataTemplate("/oraapp02/apphrutv1/hrutv1comn/work_accident.xml");
    Hashtable parameterTable = new Hashtable();
    parameterTable.put("hendelse","3574");
    dataProcessor.setParameters(parameterTable);

    dataProcessor.setConnection(jdbcConnection);
    dataProcessor.setOutput("/oraapp02/apphrutv1/hrutv1comn/accidentout.xml");
    dataProcessor.processData();

    } catch (SQLException e)
    {
    throw new OAException("Couldn't create xml file. SQL Error="+e.getMessage(),OAException.ERROR);
    } catch (XDOException e) {
    throw new OAException("XDOException" + e.getMessage(),OAException.ERROR);
    } catch (ClassNotFoundException e) {
    System.out.println("ClassNotFoundException " + e.getMessage());
    }
    //OK - we created the XML file, now let's send it into the pdf template:
    FormProcessor fProcessor = new FormProcessor();
    fProcessor.setTemplate("/oraapp02/apphrutv1/hrutv1comn/NAV.pdf");
    fProcessor.setData("/oraapp02/apphrutv1/hrutv1comn/accidentout.xml");
    fProcessor.setOutput("/oraapp02/apphrutv1/hrutv1comn/NAVout.pdf");
    fProcessor.process();
    }

    I haven't registered the PDF template file in Oracle Applications - but that shouldn't be the problem should it? Or is it better to use a PDF template that is registered in Oracle Applications?

    DB:2.73:How To Use A Pdf Template With Oa Framework f8

    Can you give me some tips on setting up the appropriate libraries to use the DataProcessor class? I have tried the BIP libraries and the classes from JAVA_TOP but I always get the same error when the constructor of DataProcessor is called:
    java.lang.NoSuchMethodError: oracle.apps.fnd.i18n.common.util.DateFormatMaskConverter.getJavaDateFormatFromOracle(Ljava/lang/String;Ljava/util/Locale;Z)Ljava/lang/String;
    at oracle.apps.fnd.i18n.common.util.FormatMaskUtil.isOracleCompatible(FormatMaskUtil.java:693)
    at oracle.apps.fnd.i18n.common.util.FormatMaskUtil.detectDateFormatMaskType(FormatMaskUtil.java:580)
    at oracle.apps.xdo.dataengine.Format.init(Format.java:68)
    at oracle.apps.xdo.dataengine.XMLPGEN.init(XMLPGEN.java:65)
    at oracle.apps.xdo.dataengine.DataProcessor.init(DataProcessor.java:168)

    I have been successful in displaying a PDF file in an OAF page but I had to generate the xml data using a PL/SQL package rather than the data template. I know it works because Concurrent Requests using the XDODTEXE executable work and this uses DataProcessor.

  • RELEVANCY SCORE 2.73

    DB:2.73:Null Pointer Exception xz


    Hello,

    I am trying to call seeded page from Custom PG and i am getting the following error, please advise.

    ## Detail 0 ##
    java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:394)
    at oracle.apps.fnd.framework.webui.OAPageContextImpl.putSessionValue(OAPageContextImpl.java:1449)
    at oracle.apps.po.setup.webui.PoCwkAssociationsCO.processRequest(PoCwkAssociationsCO.java:91)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:600)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:252)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1183)

    Seeded CO code

    ArrayList arraylist = new ArrayList(2);
    arraylist.add(s2);
    arraylist.add(date);
    s3 = (String)ClientUtil.executeServerCommand(oapagecontext, purchasingsetupamimpl, "SETUP_PoCwkAssociationsSvrCmd", "initPage", arraylist); if(s3.equals("INCOMPLETE_SETUP"))
    {
    OAException oaexception = new OAException("PO", "PO_CWK_INCOMPLETE_ASSIGN_INFO");
    OAException oaexception1 = new OAException("PO", "PO_CWK_INCOMPLETE_ASSIGN_INST");
    OADialogPage oadialogpage = new OADialogPage((byte)0, oaexception, oaexception1, null, null);
    oapagecontext.redirectToDialogPage(oadialogpage);
    }
    if(PoLog.isProcOn(oapagecontext, s))
    {
    PoLog.procEnd(oapagecontext, s);
    }
    }

    Following is my code

    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);

    String EmpName = pageContext.getParameter("SearchEmpName");
    String EmpNum = pageContext.getParameter("SearchEmpNum");
    System.out.println("In If" + EmpName + "-" + EmpNum);
    String u =
    "select assignment_id,effective_start_date\n" + "from per_all_assignments_f\n" +
    "where assignment_type != 'B' and assignment_number = :1";
    OADBTransaction oadbtransaction2 =
    pageContext.getRootApplicationModule().getOADBTransaction();
    OraclePreparedStatement oraclepreparedstatement2 =
    (OraclePreparedStatement)oadbtransaction2.createPreparedStatement(u,
    1);
    try {
    oraclepreparedstatement2.setString(1, EmpNum);

    //ResultSet resultset = oraclepreparedstatement2.executeQuery();
    for (ResultSet resultset = oraclepreparedstatement2.executeQuery();
    resultset.next(); ) {
    int AsgId = resultset.getInt("assignment_id");
    Date EffDate = (Date)resultset.getDate("effective_start_date");
    System.out.println("Parameters " + AsgId + "-" + EffDate);
    if (AsgId 0)
    {
    com.sun.java.util.collections.HashMap formParams =
    new com.sun.java.util.collections.HashMap(1);
    formParams.put("sAssignmentId", AsgId);
    formParams.put("sEffectiveDate", EffDate);
    pageContext.writeDiagnostics(this,"In If Condition Asignment "+AsgId+" "+EffDate,20);
    // target page
    // not necessary with KEEP_MENU_CONTEXT
    // no change to menu context
    // No need to specify since we're keeping menu context
    // request parameters
    // retain the root application module
    // display breadcrumbs
    if (pageContext.getParameter("Go") != null) {
    pageContext.writeDiagnostics(this,"In If Condition Go ",20);
    pageContext.setForwardURL("OA.jsp?page=/oracle/apps/po/setup/webui/PoCwkAssociationsPG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null, formParams
    , false,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES,
    OAException.ERROR);

    DB:2.73:Null Pointer Exception xz

    I got it working, by making the following changes.

    if(AsgId 0)
    {
    String AsgIdString = " ";
    String _tmp = AsgIdString;
    String.valueOf(AsgId);
    HashMap formParams = new HashMap(1);
    formParams.put("pEffectiveDate", EffDate);
    formParams.put("COMPLETE_SETUP", s3);
    formParams.put("pAssignmentId", Integer.valueOf(AsgId));
    formParams.put("transactionod", txnId);

  • RELEVANCY SCORE 2.73

    DB:2.73:Oracle.Jbo.Domain.Number Cannot Be Cast To Java.Lang.String p1


    Hello, I get the following error

    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.jbo.domain.Number cannot be cast to java.lang.String
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2978)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    java.lang.ClassCastException: oracle.jbo.domain.Number cannot be cast to java.lang.String
    at aes.oracle.apps.ximp.webui.DocumentosCreateCO.processFormRequest(DocumentosCreateCO.java:46)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    java.lang.ClassCastException: oracle.jbo.domain.Number cannot be cast to java.lang.String
    at aes.oracle.apps.ximp.webui.DocumentosCreateCO.processFormRequest(DocumentosCreateCO.java:46)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)

    and my code:
    package aes.oracle.apps.ximp.webui;

    import java.io.Serializable;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.*;
    import oracle.apps.fnd.framework.webui.*;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.jbo.Row;
    import oracle.jbo.domain.Number;
    import java.lang.String;

    public class DocumentosCreateCO extends OAControllerImpl
    {

    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    if(!pageContext.isFormSubmission())
    {
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createDocumento", null);
    }
    TransactionUnitHelper.startTransactionUnit(pageContext, "documentoCreateTxn");
    }

    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if(pageContext.getParameter("Apply") != null)
    {
    OAViewObject vo = (OAViewObject)am.findViewObject("XimpDocumentosVwView1");
    String nroDocumento = (String)vo.getCurrentRow().getAttribute("NroDocumento");
    Number idProveedor = (Number)vo.getCurrentRow().getAttribute("IdProveedor");
    String codTipoDoc = (String)vo.getCurrentRow().getAttribute("CodTipoDoc");
    Serializable parameters[] = {
    nroDocumento, idProveedor.toString(), codTipoDoc
    };
    Serializable result = am.invokeMethod("existeDocumento", parameters);
    if(result == null)
    {
    String MontoDocumento1 = (String)vo.getCurrentRow().getAttribute("MontoDocumento");
    String redondeado1 = Redondear(MontoDocumento1);
    if (redondeado1.equals("Y"))
    {
    am.invokeMethod("apply");
    MessageToken tokens[] = {
    new MessageToken("NRO_DOC", nroDocumento)
    };
    OAException confirmMessage = new OAException("XIMP", "XIMP_DOCI_CREATE_CONFIRM", tokens, (byte)3, null);
    TransactionUnitHelper.endTransactionUnit(pageContext, "documentoCreateTxn");
    pageContext.putDialogMessage(confirmMessage);
    pageContext.forwardImmediately("OA.jsp?page=/aes/oracle/apps/ximp/webui/DocumentoLineasPG", null, (byte)0, null, null, true, "N");
    }
    else
    {
    OAException message = new OAException("el Campo Importe Total Documento acepta como mximo dos cifras decimales",OAException.CONFIRMATION);
    pageContext.putDialogMessage(message);
    }
    } else
    {
    OAException message = new OAException("Ya existe un documento para ese proveedor con el mismo tipo y n\372mero de documento", (byte)0);
    pageContext.putDialogMessage(message);
    }
    } else
    if(pageContext.getParameter("Lineas") != null)
    {
    OAViewObject vo = (OAViewObject)am.findViewObject("XimpDocumentosVwView1");
    Number idProveedor = (Number)vo.getCurrentRow().getAttribute("IdProveedor");
    String codTipoDoc = (String)vo.getCurrentRow().getAttribute("CodTipoDoc");
    String nroDocumento = (String)vo.getCurrentRow().getAttribute("NroDocumento");
    Serializable parameters[] = {
    nroDocumento, idProveedor.toString(), codTipoDoc
    };
    Serializable result = am.invokeMethod("existeDocumento", parameters);

    if(result == null)
    {
    String MontoDocumento2 = (String)vo.getCurrentRow().getAttribute("MontoDocumento");
    String redondeado2 = Redondear(MontoDocumento2);
    if (redondeado2.equals("Y"))
    {
    am.invokeMethod("apply");
    MessageToken tokens[] = {
    new MessageToken("NRO_DOC", nroDocumento)
    };
    OAException confirmMessage = new OAException("XIMP", "XIMP_DOCI_CREATE_CONFIRM", tokens, (byte)3, null);
    pageContext.putDialogMessage(confirmMessage);
    TransactionUnitHelper.endTransactionUnit(pageContext, "documentoCreateTxn");
    pageContext.forwardImmediately("OA.jsp?page=/aes/oracle/apps/ximp/webui/DocumentoLineasPG", null, (byte)0, null, null, true, "N");
    }
    else
    {
    OAException message = new OAException("el Campo Importe Total Documento acepta como mximo dos cifras decimales",OAException.CONFIRMATION);
    pageContext.putDialogMessage(message);
    }
    } else
    {
    OAException message = new OAException("Ya existe un documento para ese proveedor con el mismo tipo y n\372mero de documento", (byte)0);
    pageContext.putDialogMessage(message);
    }
    } else
    if(pageContext.getParameter("Cancel") != null)
    {
    am.invokeMethod("rollbackDocumento");
    TransactionUnitHelper.endTransactionUnit(pageContext, "documentoCreateTxn");
    pageContext.forwardImmediately("OA.jsp?page=/aes/oracle/apps/ximp/webui/DocumentosBusqPG", null, (byte)0, null, null, true, "N");
    }
    }

    public DocumentosCreateCO()
    {
    }

    public String Redondear(String numero)
    {
    String retorno;

    double v_number=Double.valueOf(numero).doubleValue();

    if (v_number==(Math.rint(v_number*100)/100))
    {
    retorno = "Y";
    }
    else
    {
    retorno = "N";
    }
    return retorno ;
    }
    public static final String RCS_ID = "$Header$";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header$", "%packagename%");

    }

    What I did was raise a validation for decimals. If I could help I would appreciate

    DB:2.73:Oracle.Jbo.Domain.Number Cannot Be Cast To Java.Lang.String p1

    Hello, I get the following error

    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.ClassCastException: oracle.jbo.domain.Number cannot be cast to java.lang.String
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2978)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    ## Detail 0 ##
    java.lang.ClassCastException: oracle.jbo.domain.Number cannot be cast to java.lang.String
    at aes.oracle.apps.ximp.webui.DocumentosCreateCO.processFormRequest(DocumentosCreateCO.java:46)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    java.lang.ClassCastException: oracle.jbo.domain.Number cannot be cast to java.lang.String
    at aes.oracle.apps.ximp.webui.DocumentosCreateCO.processFormRequest(DocumentosCreateCO.java:46)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:819)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1205)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1031)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:997)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:852)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2974)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1875)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:543)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
    at OA.jspService(_OA.java:212)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)

    and my code:
    package aes.oracle.apps.ximp.webui;

    import java.io.Serializable;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.*;
    import oracle.apps.fnd.framework.webui.*;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.jbo.Row;
    import oracle.jbo.domain.Number;
    import java.lang.String;

    public class DocumentosCreateCO extends OAControllerImpl
    {

    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    if(!pageContext.isFormSubmission())
    {
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createDocumento", null);
    }
    TransactionUnitHelper.startTransactionUnit(pageContext, "documentoCreateTxn");
    }

    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    super.processFormRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    if(pageContext.getParameter("Apply") != null)
    {
    OAViewObject vo = (OAViewObject)am.findViewObject("XimpDocumentosVwView1");
    String nroDocumento = (String)vo.getCurrentRow().getAttribute("NroDocumento");
    Number idProveedor = (Number)vo.getCurrentRow().getAttribute("IdProveedor");
    String codTipoDoc = (String)vo.getCurrentRow().getAttribute("CodTipoDoc");
    Serializable parameters[] = {
    nroDocumento, idProveedor.toString(), codTipoDoc
    };
    Serializable result = am.invokeMethod("existeDocumento", parameters);
    if(result == null)
    {
    String MontoDocumento1 = (String)vo.getCurrentRow().getAttribute("MontoDocumento");
    String redondeado1 = Redondear(MontoDocumento1);
    if (redondeado1.equals("Y"))
    {
    am.invokeMethod("apply");
    MessageToken tokens[] = {
    new MessageToken("NRO_DOC", nroDocumento)
    };
    OAException confirmMessage = new OAException("XIMP", "XIMP_DOCI_CREATE_CONFIRM", tokens, (byte)3, null);
    TransactionUnitHelper.endTransactionUnit(pageContext, "documentoCreateTxn");
    pageContext.putDialogMessage(confirmMessage);
    pageContext.forwardImmediately("OA.jsp?page=/aes/oracle/apps/ximp/webui/DocumentoLineasPG", null, (byte)0, null, null, true, "N");
    }
    else
    {
    OAException message = new OAException("el Campo Importe Total Documento acepta como mximo dos cifras decimales",OAException.CONFIRMATION);
    pageContext.putDialogMessage(message);
    }
    } else
    {
    OAException message = new OAException("Ya existe un documento para ese proveedor con el mismo tipo y n\372mero de documento", (byte)0);
    pageContext.putDialogMessage(message);
    }
    } else
    if(pageContext.getParameter("Lineas") != null)
    {
    OAViewObject vo = (OAViewObject)am.findViewObject("XimpDocumentosVwView1");
    Number idProveedor = (Number)vo.getCurrentRow().getAttribute("IdProveedor");
    String codTipoDoc = (String)vo.getCurrentRow().getAttribute("CodTipoDoc");
    String nroDocumento = (String)vo.getCurrentRow().getAttribute("NroDocumento");
    Serializable parameters[] = {
    nroDocumento, idProveedor.toString(), codTipoDoc
    };
    Serializable result = am.invokeMethod("existeDocumento", parameters);

    if(result == null)
    {
    String MontoDocumento2 = (String)vo.getCurrentRow().getAttribute("MontoDocumento");
    String redondeado2 = Redondear(MontoDocumento2);
    if (redondeado2.equals("Y"))
    {
    am.invokeMethod("apply");
    MessageToken tokens[] = {
    new MessageToken("NRO_DOC", nroDocumento)
    };
    OAException confirmMessage = new OAException("XIMP", "XIMP_DOCI_CREATE_CONFIRM", tokens, (byte)3, null);
    pageContext.putDialogMessage(confirmMessage);
    TransactionUnitHelper.endTransactionUnit(pageContext, "documentoCreateTxn");
    pageContext.forwardImmediately("OA.jsp?page=/aes/oracle/apps/ximp/webui/DocumentoLineasPG", null, (byte)0, null, null, true, "N");
    }
    else
    {
    OAException message = new OAException("el Campo Importe Total Documento acepta como mximo dos cifras decimales",OAException.CONFIRMATION);
    pageContext.putDialogMessage(message);
    }
    } else
    {
    OAException message = new OAException("Ya existe un documento para ese proveedor con el mismo tipo y n\372mero de documento", (byte)0);
    pageContext.putDialogMessage(message);
    }
    } else
    if(pageContext.getParameter("Cancel") != null)
    {
    am.invokeMethod("rollbackDocumento");
    TransactionUnitHelper.endTransactionUnit(pageContext, "documentoCreateTxn");
    pageContext.forwardImmediately("OA.jsp?page=/aes/oracle/apps/ximp/webui/DocumentosBusqPG", null, (byte)0, null, null, true, "N");
    }
    }

    public DocumentosCreateCO()
    {
    }

    public String Redondear(String numero)
    {
    String retorno;

    double v_number=Double.valueOf(numero).doubleValue();

    if (v_number==(Math.rint(v_number*100)/100))
    {
    retorno = "Y";
    }
    else
    {
    retorno = "N";
    }
    return retorno ;
    }
    public static final String RCS_ID = "$Header$";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header$", "%packagename%");

    }

    What I did was raise a validation for decimals. If I could help I would appreciate

  • RELEVANCY SCORE 2.72

    DB:2.72:Oracle.Jbo.Rowcreateexception: Jbo-25017: Error While Creating A New Entity x9


    Hi,

    I'm trying to create a query and insert into Oracle db table web application.

    I have succeeded with the query part of the web application and I am now working on the row insert part of the application.

    I have created a new controller for my xml and added the following code:

    import oracle.apps.fnd.framework.OAApplicationModule;
    ...

    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    {
    // Always call this first. super.processRequest(pageContext, webBean);

    if (!pageContext.isFormSubmission())
    {
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("createEmployee", null);
    }
    } // end processRequest()

    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean) {
    OAApplicationModule am = pageContext.getApplicationModule(webBean);

    if (pageContext.getParameter("Apply") != null)
    {
    OAViewObject vo = (OAViewObject)am.findViewObject("EmployeeFullVO1");
    Number personID = (Number)vo.getCurrentRow().getAttribute("PersonID");
    String s_personID = String.valueOf(personID.intValue());
    am.invokeMethod("apply");

    MessageToken[] tokens = { new MessageToken("PERSONID", personID) };
    OAException confirmMessage = new OAException("AK", "FWK_TBX_T_EMP_CREATE_CONFIRM", tokens,
    OAException.CONFIRMATION, null);
    // Per the UI guidelines, we want to add the confirmation message at the
    // top of the search/results page and we want the old search criteria and
    // results to display.

    pageContext.putDialogMessage(confirmMessage);
    pageContext.forwardImmediately("OA.jsp?page=/oracle/apps/fnd/umx/userAdmin/webui/ApproverSearch",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    null,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    }

    }

    I have also edited the filenameAM.java to include:

    public void SelectApprover()
    {
    OAViewObject vo = (OAViewObject)getApproverVO1();

    if (!vo.isPreparedForExecution()) { vo.executeQuery(); }

    Row row = vo.createRow(); vo.insertRow(row);
    // Required per OA Framework Model Coding Standard M69
    row.setNewRowState(Row.STATUS_INITIALIZED);

    } // end SelectApprover()

    public void apply()
    {
    getTransaction().commit();
    } // end apply()

    But when I run my XML I get the following error

    oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for ApproverEO.

    Can someone please assist.
    Much appreciated.

    DB:2.72:Oracle.Jbo.Rowcreateexception: Jbo-25017: Error While Creating A New Entity x9

    Hi,
    which table does "ApproverEO" refers to?
    If it is a custom table check if it has the standard columns "CREATED_BY", "CREATION_DATE", "LAST_UPDATED_BY", "LAST_UPDATE_DATE".

    Hope this helps you
    Bye

    Raffy

  • RELEVANCY SCORE 2.72

    DB:2.72:After Throwing An Error Suppler Is Created zx


    Hi all,

    In '/oracle/apps/pos/supplier/webui/SuppCrtPG' I have extended a controller "oracle.apps.ar.hz.components.party.organization.webui.HzPuiOrgProfileQuickCO"
    after checking some validations I am throwing an error
    by - throw new OAException("Plese enter 10 Alpha Numeric characters in PAN number field." ,OAException.ERROR);

    My issue is that after throwing an error when clik on "Apply" button again with no changes made system should not create supplier but it creates. I checked from ap_suppliers table.

    Why after throwing an error system creates a supplier??

    Please help?

    thanks
    Amit

    DB:2.72:After Throwing An Error Suppler Is Created zx

    So, you are pressing apply button then error messge is apearing but no supplier created. but when you again pressed it, it will create supplier. Am I correct?

    if not tell me again what is the flow?

    --Parag