Help!  After validation failure, Detail region of Master Detail page does not refresh.

Hello.
I am running a validation to prevent deletion of a purchase order (PO) when invoices exist for the PO.
When the condition is found (invoices exist), the deletion process is halted and a message is posted to the page.
I would like for both Master and Detail data of the PO to be refreshed.  However, only the Master
record is refreshed.  I get the following error for the detail data:  The detail is found through the Master Header primary Key (DetailRecord.PO_ID = :P230_PO_ID )
ORA:01445: Cannot select ROWID from, or sample, a join view without a key preserved table.
ORA-06510 - PL/SQL unhandled user-defined exception.
I'm not sure why this message should come up.  I do not clear cache or reset the page or anything like that.
Any hints?

Just an FYI for everybody who may have this very same problem in the future.  I fixed the error and it had nothing to do with ROWID or views or anything like that.  Under the Page Rendering section where you define the region definition under the source section, I had included the 'order by' clause in my SQL statement.  This was the cause of my ORA-01445 error!  When I removed the clause from the source definition and instead included it within the Report Attributes by checking the Sort box for the appropriate column (thus allowing APEX to generate the sort for me), the error disappeared!  The Oracle error message would NEVER have given me a clue into what caused the error.  I just happened to think 'what if I take the order by clause out'!  How's that for a flukey fix! 

Similar Messages

  • Iterator in dynamic region located in a popup does not refreshed on cancel

    Hi All,
    i have the following scenario:
    I have jsff made as a taskflow and added into a page on the following way:
    <af:popup id="address" partialTriggers="saveAddressButton cancelAddressButton">
    <af:dialog type="none" title="Create/Edit Address" modal="true" closeIconVisible="false" >
    <f:facet name="buttonBar" >
    <af:group>
    <af:commandButton id="saveAddressButton" actionListener="#{AgentsBean.saveAddress}" partialSubmit="true" text="Save"/>
    <af:commandButton id="cancelAddressButton" immediate="true" actionListener="#{AgentsBean.cancelAddress}" text="Cancel"/>
    </af:group>
    </f:facet>
    <af:region value="#{bindings.dynamicRegion12.regionModel}"
    id="dynamicRegion12"/>
    </af:dialog>
    I use this jsff, opened in a popup to create/edit rows. I create the new row into the main page backing bean method and when calling fragment it's iterator is get synch. with the created row. When i pass the row for edit , it is also synch with a fragment iterator.
    The problem comes if i using the cancel button in a popup , then the iterator doesn't refresh anymore when i open again the popup. It stays on the last row where it was before pressing the cancel. I try to execute setCurrentRowWithKey with passing th key as param to the taskflow but method is also didn't executed.
    I removed my logic from the cancel button and it's also the same.
    I tried with built-in cancel on af:dialog - again the same.
    It looks that submition with immediate =true and closing popup is enough to causing this.
    I have Refresh="ifNeeded" on a taskFlow but this causes only refresh of input taskflow parameters.
    <taskFlow id="dynamicRegion12" taskFlowId="${AgentsBean.addressTaskFlowId}"
    Refresh="ifNeeded"
    Any ideas how to refresh iterator?

    Hi Frank,
    I have followed the same approach. However in my case its a dynamic af:region which is causing the issue.
    Any other pointers is much apprecitaed.
    Thanks,
    Vikranth

  • Project Server 2010 - Unable to open project, no valid Project Detail Page could be found for the project error

    I have a workflow being deployed for the first time on a farm. When I create a project with an EPT connected to the workflow it runs and can enter the required field in a PDP.  Then I Submit the workflow to go to the next stage and I get the "Unable
    to open project, no valid Project Detail Page could be found for the project" error.  After that the project is stuck on the same error.  All of the 18 stages have PDP and Schedules assigned to them.
    Any ideas on why the workflow cannot see the PDPs?  Is there a farm permissions that I am missing?  Thanks!

    Hi David,
    It starts to be a bit technical for me, but here is what I found on the web (seems to be an authentication issue with Sharepoint 2010):
    http://social.technet.microsoft.com/Forums/en-US/120ab535-63d2-4205-a51f-1987e9c0cf79/sharepoint-fba-the-content-type-texthtml-charsetutf8-of-the-response-message-does-not-match-the
    http://social.msdn.microsoft.com/Forums/silverlight/en-US/5cc70ff6-50d9-4cd3-b092-12007f4e495b/response-message-contenttypebindingtype-mismatch
    http://stackoverflow.com/questions/5263150/the-content-type-text-html-charset-utf-8-of-the-response-message-does-not-match
    Hope it will help you going forward in resolving your issue.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Creative Cloud Photoshop won't intall. Even after following support instructions the wheel keeps spinning and does not install. HELP

    Even after following support instructions the wheel keeps spinning and does not install. HELP

    Hi help-please,
    Please try downloading and installing Photoshop CC from the direct download links available at: http://prodesigntools.com/adobe-cc-2014-direct-download-links.html
    Make sure you follow the important steps mentioned on the page before initiating the download.
    Use your Adobe ID to license the software
    If the install fails then you can find details on how to locate and interpret your installation log files at Troubleshoot install issues with log files | CC - http://helpx.adobe.com/creative-cloud/kb/troubleshoot-install-logs-cc.html
    Regards,
    Rave

  • Music continuously plays even after closing the tab which played youtube video, restarting does not help either.

    Music continuously plays even after closing the tab which played youtube video, restarting does not help either.

    please update your version of the flash plugin & see if that works:
    [http://get.adobe.com/flashplayer/] (make sure to uncheck the "McAfee Security Scan Plus" checkbox first if you don't want to install the bundled software)

  • Please help, after is downloaded IOS 7 I lost my Pages App and a few more and also I now have restriction set on please help

    Please help, after is downloaded IOS 7 I lost my Pages App and a few more and also I now have restriction set on please help

    If you can't reach the person that sold it to you, you essentially have an iBrick.
    You are encountering Activation Lock, which cannot be bypassed.
    You may want to just turn the phone over to the police as it's nothing more to you than a paperweight and may be stolen.
    ~Lyssa

  • My home page keeps saying that it is out of date download latest version.after downloading the latest version the new stule home page does not appear==help!!

    home start page does not have mozilla firefox logo it says google? and when l alter it next time l log in its back to google homepage.
    l am a silver surfer so l dont understand all the technical jargons, lam at a loss why l lost my home page in the first place and why lcannot get back to it never mind the latest version lol also l noted it has http at the beginning l thought it is suppose to read https=help, thanking you in anticipation janet watkins

    See this - https://support.mozilla.com/en-US/kb/websites+or+add-ons+incorrectly+report+incompatible+browser

  • TS1363 after up dating to 11.1.5.5 itunes does not recognized any of my devices.  I've tried everything listed.

    after up dating to 11.1.5.5 itunes does not recognized any of my devices. I have tried all the recommendations in help.

    Updating the USB driver did work.  Referenced in other postings as Section 5.  I guess I had not tried that one.
    Thanks

  • Notification Detail Page is not displaying

    Hi All,
    I have a requirement of creating a read only workflow admin responsibility. For that I have followed the below steps.
    1. Set 'Workflow Administrator Web Applications' as the Workflow Administrator from administration tab.
    2. Create a grant with the below details.
    Grantee Type: All Users
    Responsibility: Workflow Administrator Web (New)
    Object: Workflow Items
    Data Context Type: All Rows
    Permission Set: Business workflow item permission set
    I have done this for viewing the workflow owned by all users and followed the ID 1328447.1 for doing this.
    Now everything is working fine, but Notification Detail page is not displaying. It is loading for a long time and
    giving the errors, ('The connection was reset' in Mozilla and 'Page Cannot be Displayed' in IE).
    Notification detail page will come when I remove this Grant, but it will display only the workflows owned by
    that particular user. So this grant is a mandatory component for me.
    The issue is there even for the admin responsibility(Workflow Administrator Web Applications) when assigning
    this grant.
    Can anyone help me on this to resolve this issue.
    Thanks & Regards,
    Charls

    Hi Helios,
    Thanks alot for replying. Below are the answers to your queries.
    1. EBS Version : 11.5.10.2
    Client Version: 11.2.0.1.0
    2. Browser version:
    IE: 7.0.5730.13
    Mozilla: 14.0.1
    3. I have tried it in different machines(4 machines). There also I am facing the same issue.
    Hoping for your valuable comments.
    Thanks & Regards,
    Charls

  • ORA-20212: Active audit detail record does not exist

    Hi All,
    While Executing the process flow using Scheduler,we got this error
    "ORA-20212: Active audit detail record does not exist, cannot update audit counts.
    ORA-06512: at "XXOWB.WB_RT_MAPAUDIT", line 2173
    ORA-06512: at "XXOWB.WB_RT_MAPAUDIT", line 3108
    ORA-06512: at "APPS.Test_MAP", line 3304
    ORA-06512: at "APPS.Test__MAP", line 9341
    ORA-06512: at line 1
    I Will test the Mapping my running directly from Control center and then in database.
    Cheers
    Nawneet

    Donot know the exact reason but when check the alert log found the error
    ORA-1653: unable to extend table
    and after allocating space the error was gone..
    Cheers
    Nawneet

  • After editing in photoshop cs6 my photoshop edited image does not appear in Lightroom 4

    after editing in photoshop cs6 my photoshop edited image does not appear in Lightroom 4 can anyone help?

    In Library, set your sort order to Filename instead of Added order and see if the files show up, then. 
    How are you doing the Save in PS, using Save or Save As—one will show up, one won’t, I think, but I don’t remember which.

  • When I select an option from the help drop down menu it just goes away. It does not go to the help option I chose.

    When I select an option from from the help drop down menu it just goes away. It does not go to the query I selected by hitting the keypad.

    Jody
    you don't tell us Device or OS?
    Quoted from  Apple's "How to write a good question"
       To help other members answer your question, give as many details as you can.
    Include your product name and specs such as processor speed, memory, and storage capacity. Please do not include your Serial Number, IMEI, MEID, or other personal information.
    Provide the version numbers of your operating system and relevant applications, for example "iOS 6.0.3" or "iPhoto 9.1.2".
    Describe the problem, and include any details about what seems to cause it.
    List any troubleshooting steps you've already tried, or temporary fixes you've discovered.
    ÇÇÇ

  • After the 10.9.3 update my Adobe Premiere does not export properly.

    After the 10.9.3 update my Adobe Premiere does not export properly. Someone HELP!
    Can anyone help?
    Thanks!
    <Edited by Host>

    Having the same problem yesterday I spent 2 hours
    Contacting tech support Apple and Adobe.
    Apple says clearly that it is Adobe responsibility
    and Adobe tells to contact Apple...
    And none of the companies are telling when and if there will be a fix.
    I'm ready to go back to PC where hardware companies
    are not trying to boycot software companies. That's my opinion.
    I already lost one job because of this.

  • After upgrading to ios8 my 4s text dictation microphone does not work and is "greyed" out

    After upgrading to ios8 my 4s text dictation microphone does not work and is "greyed" out.  There is no function at all.

    Ok I fixed the issue, turns out a couple of weeks ago, I downloaded a program that was suppose to help shrink some of your stuff to use less data, it was called Onavo.  It was suppose to show you how much data you use to help keep you within your limits.  If you have downloaded this, go through your settings and delete it and it will fix the problem.  At least it did for me.  I can now send photo's to non Iphone users via text no problem.

  • Advanced Table does not refresh after database level action

    Hi,
    I have a page which has an advanced table. I update the advanced table from the page do some validations, update some DB level columns(also part of advanced table) and see that the changes are saved to the DB but the advanced table does not show the updates done at the DB level.
    I tried clearing the VO Cache and re-executing the VO but still it does not refresh the Advanced table data.
    This is very critical requirement for the client, any inputs will be greatly appreciated.
    Thanks a lot in Advance.
    Here is the code snippet from my CO's processRequest:
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAAdvancedTableBean tblbean = (OAAdvancedTableBean)webBean.findChildRecursive("recasttable");
    if(tblbean!=null)
    tblbean.setRendered(true);
    OAApplicationModule tblam = (OAApplicationModule)am.findApplicationModule("RecastLineAM1");
    tblam.invokeMethod("initQuery");
    tblbean.getTableData();
    Here is my AM - initQuery() code:
    public void initQuery()
    //clearVOCaches("RecastLineEO",true);
    clearVOCaches(null,true);
    getRecastLineVO1().init();
    Here is the VO - init() code:
    public void init()
    System.out.println("****************************executing...");
    OADBTransaction tx = (OADBTransaction) getApplicationModule().getTransaction();
    if (tx.getTransientValue("RECAST_ID") !=null)
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("recastId: "+ recastId);
    setWhereClause("RECAST_HDR_ID = :1");
    setWhereClauseParams(null); // Always reset
    setWhereClauseParam(0, recastId);
    executeQuery();
    }

    hi,
    This is how I am calling a DB package. the package does updates on the table. once done I am issueing a commit and requerying the data, however the vo is not getting refreshed.... Can someone point out what am I missing... why is the VO not getting refreshed....
    This is very critical...
    Thanks
    Srini
    public void validateRecast(String respKey)
    OADBTransaction tx = (OADBTransaction)getApplicationModule().getTransaction();
    Number recastId = (Number) tx.getTransientValue("RECAST_ID");
    System.out.println("*********************validateRecast().RecastId: " + recastId);
    OracleCallableStatement ocs = null;
    Connection conn = tx.getJdbcConnection();
    String strOut="", strErr="";
    Number respId = null;
    try
    respId = new Number(respKey);
    catch(Exception e)
    throw new OAException("Invalid Responsibility");
    String stmt = "BEGIN " +
    "GE_RECAST_UTILS_PKG.validate_recast(:1,:2,:3,:4); " +
    "END;";
    try
    ocs = (OracleCallableStatement)conn.prepareCall(stmt);
    ocs.setNUMBER(1,recastId);
    ocs.setNUMBER(2,respId);
    ocs.registerOutParameter(3,OracleTypes.VARCHAR);
    ocs.registerOutParameter(4,OracleTypes.VARCHAR);
    ocs.execute();
    strOut = ocs.getString(3);
    strErr = ocs.getString(4);
    ocs.close();
    System.out.println("Returned with: " + strOut);
    if(strOut.equalsIgnoreCase("ERROR"))
    //throw new OAException(strErr);
    tx.putTransientValue("ERROR",strErr);
    tx.commit();
    getApplicationModule().clearVOCaches("RecastLineEO",true);
    RecastLineVOImpl lineVo = (RecastLineVOImpl)getApplicationModule().findViewObject("RecastLineVO1");
    lineVo.init();
    System.out.println("===============RecastLnId: " +lineVo.first().getAttribute("RecastLnId"));
    System.out.println("===============Product Line: " +lineVo.first().getAttribute("ProductLine"));
    catch(SQLException e)
    tx.rollback();
    if(ocs!=null)
    try
    ocs.close();
    }catch(SQLException e1)
    throw OAException.wrapperException(e1);
    throw OAException.wrapperException(e);
    }

Maybe you are looking for

  • How to unlock Sales Document (Sales Order)?

    Dear All, I was in the process to change a Sales Order. I did all the entries in required fields and before I could save the Sales Order, somehow, my SAP-Connection got disconnected. I logged again and run the T. Code: VA02 and gave the Sales Order N

  • Javac bug database still being maintained?

    After the Oracle acquisition, is the javac bug database still being maintained? I submitted a bug report on 04/20/2010 and received an e-mail response back confirming it was a new bug on 04/22/2010. The e-mail said it would be posted in the external

  • Xml file formatting

    Hi , Trying to generate an xml file using this select statement, SELECT XMLELEMENT("EmpList" , XMLELEMENT("Empinfo", XMLELEMENT("EID", e.empno), XMLELEMENT("HD", e.hiredate))) as "Result" FROM emp e WHERE rownum<4 Result <EmpList><Empinfo><EID>7369</

  • When I save photo from mail to iPhoto - are there two copies?

    I am trying to avoid filling my hard drive unnecessarily and so I am trying to find out, if I save photos to iphoto from mail, should I then delete the email ? so I dont have two copies of the photo wasting space on my hard drive? Sorry if this is to

  • About ORacle  Text

    Hi, I would like to know some points about oracle Text. I have used oracle Text to extract just the text contents from blobs(of pdf,xls,..) stored in the database. 1) Whether the same Oracle text can be used to extract the contents from the file?(so