Navigation failure on master/detail form

I have a master/detail (tabular) form that was created with the wizard. I have purposely not modified much of the two pages, so as to see how they work.
For the most part, it works as I expect. As it sits, it is nearly as it was on creation. I've not added any real processing, just a little cosmetic work.
One of the errors, involves adding a detail row once the master record has been created. It'll add two rows, and fails on the third try. Always. The error message is this:
Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "04494A03A6B0C8A660B1AAD2534C0BA8", item checksum = "0F030E70AFF4659E8FD3BA2CAC13D820"., update "GEMS"."EQUIP_DETAILS" set "ID" = :b1, "HEAD_ID" = :b2, "DATA_CALL" = :b3, "GEMS_ID" = :b4, "GEMS_HULL" = :b5, "GEMS_SYSTEM" = :b6, "L1" = :b7, "L2" = :b8, "L3" = :b9, "HEADING" = :b10, "NRE_AMT" = :b11, "FY1_YEAR" = :b12, "FY1_AMT" = :b13, "FY2_YEAR" =
Manually, I've created default detail rows for some of the master records. When I pull one of these master records up, it pops up with the master and the subsequent 62 rows of detail that I expected to see. Except that when I hit the 'add row' button now, I get a page not found error on my browser, with this as a URL:
http://cberry29-1:7777/pls/apex/wwv_flow.accept
The other part that fails, is the next/previous navigation button on the master section of the form. It works sometimes, sometimes it doesn't. What I've noticed is that sometimes the pagination will say 2 of 17, even though I'm clicking on the first row item displayed on the report. The item 'P15_PAGE_COUNT' is not working properly.
I un-hid (made visible as display text) the P15_ID item for the master table, and it appears to be scrolling right along. For awhile. And then, on another 'previous' click, I get the page cannot be displayed message on my browser again. One thing I've noticed, is that on the fetch for the previous master record that still displays okay, there's a delay in retrieving it. It's like the screen blinks, and there it is - number 564. And then one more click of the previous button, and boom. Page cannot be displayed.
Getting wise, I've looked at the log file for my database. And there are a boatload of this one:
[Wed Jan 17 11:44:28 2007] [error] [client 169.254.25.129] [ecid: 1169052268:169.254.25.129:4688:4796:838,0] mod_plsql: /pls/apex/wwv_flow.accept
HTTP-400 Too many arguments passed in. Got 2050 parameters. Upper limit is 2000
How am I going to deal with this?

The problem of navigation between my master records was solved, by upping the count for PlsqlMaxParameters 15000 in plsql.conf.
Found that here in the forum using Google.
Anyway, I still had the problem of inserting (using the add button) for my details. I had tightened up the for my reformatting the columns. By adjusting the elements. And just for good measure, I had chosen to not show the little selector box and the id. Had me a nice tight tabular form. That was broken.
I re-displayed/enabled the select box and the id, and all is well.
Until I open up something else.

Similar Messages

  • Is this a bug? master rowid value lost when saving on a master/detail form

    master/detail forms seem to lose the rowid after saving, if the unique identifier is set to ROWID
    to reproduce the problem:
    1) create a master detail form on DEPT/EMP
    -- choose 'Managed by Database (ROWID)' on the 'Define Primary Key' page.
    -- do not include master row navigation (but i don't think this matters)
    -- choose 'Edit detail as tabular form on same page' on the 'Choose Layout' page
    -- include the master report
    2) on the master/detail page, change the conditional branch that returns to the master report page
    -- the normal condition for this branch is request in SAVE,DELETE,CREATE
    -- change it to request in DELETE,CREATE
    3) run the form and save a change
    -- saves fine, session shows the ROWID value is still set
    4) save a second change
    -- change does not save, form reverts to Create mode
    this problem does not occur when using the primary key columns instead of rowid
    see http://apex.oracle.com/pls/apex/f?p=60813:7 for the ROWID version
    see http://apex.oracle.com/pls/apex/f?p=60813:11 for the PK column version

    Hi Saverio,
    Bug *13563808* has been logged to track the reported issue, and a fix will be made available in a future release. Just to clarify, this issue is only arising when the APEX-generated Master-Detail is modified post-generation, so for users who have not modified their Master-Details using ROWID to manage their DML processes, they should not experience this issue.
    In relation to my workaround, my suggestion works in my test environment, which I verified before posting the initial suggestion. Please note that the 'Reset Page' process is, by default, conditional on the "Delete" button being pressed. If you have made further modifications to your Master-Detail page, then this might explain why you're seeing different behaviour to me. You might using the "Debug" option on the Developer Toolbar useful. Viewing the debug information should help you to decipher what's going on/wrong on your page. If you still can't resolve the issue, then the safest option might be to revert the page back to it's original state, meaning the user navigates back to the Report page upon submitting changes to the Master-Detail Form page.
    Regards,
    Hilary

  • Master-detail form (my detail is in a new canevas-- new window)

    Hello,
    I have a Master-detail form, in my detail when i select a row i want to show an other canevas that becomes a detail for this selected row. i constructed the relationship between my first detail block and my new canevas that contains the detail for the selected row. When I select a row Oracle didn't show me the deatil for this row in the other canevas, i wondered me why? because I thought the relationship between them should atomatically drive the data for the other canevas. If i 'm wong, does someone could tell me what to do to call my canevas detail.
    Master--->details(selected row become master)--->new canevas(contains details)
    the relationship is done between my first detail block and my new details block.
    Charly

    Hi,
    POST-QUERY is definitly the wrong trigger to do what you want to achieve.
    1. The usage of GO_BLOCK in POST-QUERY is not allowed and it will not work.
    2. The detail must be synchronized when navigating in the master-record, not when populating the block
    So the right trigger to do what you want to is the ON-POPULATE-DETAILS-Trigger.
    Problem on this: It will only work if you have a relation on the master-block to the detail block.
    But that's also possible even if you do not have a "direct" relation between the master and the detail block.
    Just create a relation between the blocks based on some dummy-item and then go to the item in the detail-block and set its property "Copy value from" to NULL.
    Now you can add your logic in the ON-POPULATE-DETAILS-Trigger.
    Still one problem left: Where is the window you're going to show placed? If it's on to of the window where the items from the master-block are displayed, then immediately after querying the records in the detail-block the navigation back to the master-block will cause the other window to be shown again (and therefore your detail-window to be hidden again).
    hope this helps

  • Error "field required" in master-detail form with FORMS 10G!!

    I have a Master-Detail Form.
    When the cursor stay in detail block and i chage the master record with the mouse, clicking in scroll bar, i get error "field required".
    In Forms 6i, works fine!!

    Master block has more than one record displayed. When I click on any item in detail (except first one) and then click on different master record (return navigation to master block, but not current record) I have FRM-40202: Field must be entered on first item in detail block.
    I found that reason is this part of clear_all_master_details procedure (automatically created by Oracle Forms):
    IF :System.Cursor_Item <> startitm THEN
    Go_Item(startitm);
    Check_Package_Failure;
    END IF;
    Does any have same experience?
    Is it Oracle bug or I am missing something?

  • JTable problem in master detail form

    I've created a master detail form. There is only one Navigation bar for both master and detail. Detail has a JTable component. JTable doesn't get focus when it doesn't have any row and I am uanble to insert new rows. To cope with this problem I've added two new buttons in Navigation Bar to travers to the next and previous iterBinding.
    When I start my form cursor apperas in the first field of master view when I press Next Button nothing happens ( Status Bar should show the next iterbinding/view). I've addes some debug mesgs in iterBindingChanged method of NavitaionBar class and it seems by looking the mesgs that detail/Jtable's iterBinding get focus two times but at last focus has been returned to the master iterBinding.
    Is there any suggestion to solve this problem.
    Regards
    Aamir

    Hi,
    I'm using 1.4.0 for my JClient and, due to the improved focus management provided in the new JDK, I am able to properly manage master-details configuration with only one navigation bar (of course, the JTable must be able to receive the focus, but this also is much easier in 1.4.0...)
    Nevertheless, the solution I found is quite complex and I would happily discard it.
    If you could find a solution that works "naturally" on frames with only one navigation bar, it would be great! I think that the buttons in the nav bar should apply to the "current" iterator binding (the iterator binding for the control having the focus).
    Thanks,
    Adrian

  • ADF Master Detail Forms

    Hi,
    We have a master detail views and the master detail relationship is working fine between the views. We have a requirement to display one master form and 2 detail forms (user has to see two detail forms) to the user. The default master detail relationships in ADF are displaying one master form and one detail form with the navigation controls. Can you please suggest ideal approach for displaying multiple detail forms.
    We tried with the af:iterator for displaying details collection model as multiple forms. But the problem with the current approach, we are unable to get the reference to the detail record when a value is changed in the detail form.
    <af:iterator id="i1" varStatus="vs" value="#{bindings.BillDetailVO11.collectionModel}" var="row">
    <af:inputDate id="serviceDate"
    label="Service Date"
    value="#{row.ServiceDate}" *valueChangeListener="#{backingbean.myvaluechangelistener}"*
    columns="9"/>
    <af:inputText id="it1122" label="POS"
    value="#{row.PlaceServiceCode}"
    columns="4"/>
    </af:iterator>
    I am comfortable with the iterator approach if I can get the value of PlaceServiceCode for the same row in the detail form when the ServiceDate value changes. I am ready to try for alternative approaches for displaying multiple detail forms.
    Thanks and Regards,
    Prasad

    Hi Shay,
    Thank you for responding to my query. I followed the steps in the blog and created two detail forms. But both the detail forms are representing the same detail record. Our requirement is little different.
    We have to create a master detail form (Bill Summary with Bill Lines) to edit the bill summary with lines and display two Bill lines along with summary to the user.If hte number of bill lines are more than 2 then we have to display navigation controls to the user to navigate across the bill lines.
    As an example the form data comes from Bill_summary(Master) and Bill_Lines (detail) tables. If the number of Bill Lines are 5 then we have to display the form as follows. if the user selects next the form should display 2,3 lines, 3,4 lines etc.
    BILL_SUMMARY
    BILL_LINE 1
    BILL_LINE 2
    <Navigation control for the details>
    Thanks and Regards,
    S R Prasad

  • Master/Details Form -- Relation Property

    Is it possible to set the relation join condition property for a master/detail form programmatically. If so, what is the syntax?
    Thanks,
    Paul Howard
    [email protected]

    Use this built in
    SET_RELATION_PROPERTY
    (relation_name VARCHAR2,
    property NUMBER,
    value NUMBER);
    for more detail check from the help topics. Thanks for the info but the property I want to set isn't a listed property for that built-in. I need to change the actual join statement in the relation object. This is what I'm attempting to accomplish.
    I have a master-detail form with the master block containing 1 field (mfg_date)/ detail block containing order information(multiple records). This form allows me to step thru my orders by mfg_date. I need to be able to also step thru these orders by due_date if the operator chooses with a radio button. If I change the query_data_name and the the actual join statement in the relation object from the object navigator and compile and run it works fine. I can change the query_data_name programmatically but I can't find any info on changing the join statement programatically. Or is there another way to change the master block within the same form some other way?
    Thanks for any pointers!
    Paul Howard
    [email protected]

  • Problems in Master-Detail forms when the detail contains LOVs

    I am having problems with master detail forms when the detail contains and lov.
    In my detail form I have a messageLovInput field that returns 2 values (code and description). When the lov window returns both values the messageLovInput disappear from the form.
    This problem happens only when I iterate in the master view and I try to add a record in the detail form.
    If I add a new record without navigation for the master view there is no problem.

    Jode,
    which technology are you using, ADF JClient ? If yes, please provide a step by step description of how to setup a testcase to reproduce the problem.
    Frank

  • Can't run a Master Detail form generated by Designer2.1

    I can not run a Master Detail form on some of machines if the form is generated through Designer2.1 . Same form if developed in form builder can be run.
    Please Help.
    My Designer version in fo is as follows
    Client side version information:
    Low End Generator DLL Version 2.0.19.3.0 - Production
    High End Generator DLL Version 2.0.19.4.0 - Production
    Module Diagram and Component Editor Version 2.0.19.3.0 - Production
    MS Help Generator Version 2.0.19.3.0 - Production
    Forms Menu Generator Version 5.0.19.3.0 - Production
    Forms Design Capture Version 5.0.19.3.0 - Production
    Forms Generator Version 5.0.19.6.0 - Production
    Oracle Designer/2000 Report Design Capture Version 3.0.19.5.0 - Production
    Oracle Designer/2000 Report Design Capture Version 3.0.19.5.0 - Production
    Oracle Designer/2000 Report Generator Version 3.0.19.4.0 - Production
    Oracle Recover Custom Code Utility for Visual Basic Version 2.0.19.3.0 - Production
    Visual Basic Design Recovery Version 2.0.19.4.0 - Production
    Visual Basic Generator Version 2.0.19.4.0 - Production
    WebServer Generator Version 2.0.19.3.0 - Production
    DWRSG20 DLL Version 2.0.19.4.0 - Production
    Design Editor Guides Version 2.0.19.3.0 - Production
    Dwl Logic Editor Version 2.0.19.4.0 - Production
    Server Modeller (32 bit) Version 2.0.19.4.0 - Production
    Generator Preferences Palette Version 2.0.19.3.0 - Production
    Property Palette Version 2.0.19.3.0 - Production
    Property Dialogs Version 2.0.19.5.0 - Production
    Object Navigator Version 2.0.19.5.0 - Production
    CW NLS Message DLL (English) Version 2.0.19.0.0 - Production
    CW Common Diagrammer Dialogs Version 2.0.19.0.0 - Production ( Language Version 2.0.19.0.0)
    AWRS Language Independent Strings Module Version 3.0.19.0.0 - Production
    AWR Repository Services Version 3.0.19.0.0 - Production
    AWRE Error Handler Version 3.0.19.0.0 - Production ( Language Version 3.0.19.0.0)
    RMDG RM Diagnostics Version 3.0.19.0.0 - Production ( Language Version 3.0.19.0.0)
    Repository Version 3.0.19.0.0 - Production (DLL)
    CORE Version 3.5.4.0.0 - Production
    NLSRTL Version 3.2.4.0.0 - Production
    DBMS Version 7.3.4.0.0 - Production
    Server side version information:
    Oracle8 Enterprise Edition Version 8.0.3.0.0 - Production
    PL/SQL Version 8.0.3.0.0 - Production
    Repository Version 0.1.10.0.0 - Production
    CDAPI Version 2.0.19.0.0 - Production
    Oracle Designer/2000 Repository (TM) Version 7.0.3.0.0 - Production
    Server Side Patches
    CI0217.001
    CI0217.002
    CI0217.003
    CI0217.004
    CI0217.005
    CI0217.006
    CI0217.007
    CI0217.008
    CI0217.009
    CI0217.010
    CI0217.011
    CI0217.012
    CI0217.013
    CI0217.014
    CI0217.015
    CI0217.016
    CI0217.017
    CI0217.018
    CI0217.019
    CI0217.020
    CI0217.021
    CI0217.022
    CI0217.023
    CI0217.024
    CI0217.025
    CI0217.026
    CI0217.027
    CI0217.028
    CI0217.029
    CI0217.030
    CI0217.031
    CI0217.032
    CI0217.033
    CI0217.034
    CI0217.035
    CI0217.036
    CI0217.037
    CI0217.038
    CI0217.039
    CI0217.040
    CI0217.041
    CI0217.042
    CI0217.043
    CI0217.044
    CI0217.045
    CI0217.046
    CI0217.047
    CI0217.048
    CI0217.049
    CI0217.050
    CI0217.051
    CI0217.052
    CI0217.053
    CI0217.054
    CI0217.055
    CI0217.056
    CI0217.057
    CI0217.058
    CI0217.059
    CI0217.060

    Could you go into a little more detail on when you ran into the problem?  Things like:
    is it after you added a rule to the form?
    is it when you first try to bring up the form in an environment where you have not used Web Form Designer previously?
    is it after you added a widget to the form?
    Almost certain this won't help, but here's my blog on some common things you need to be aware of before starting to use the Web Form Designer or Process Player features in 11.1.1.7: Getting Started with Oracle BPM Composer Web Forms and Process Player | AVIO Consulting

  • Having problem with creating Master Detail form , please help

    I have to work on a project to create a survey system using APEX, as am new on using this tool , am still facing some problems to finish my job..
    i created Master/Detail form using wizard, the master form is working fine but am when i try to add data using the detail form its giving me error :
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "A884FA378C851786DDFE3A33709CB23C", item checksum = "5F8B1EE5CD3D46437455F43B37B9A6A0"., update "ABA"."ABA_SURVEY_SUBCATEGORY_MAST" set "ASCM_CATEGORY_ID" = :b1, "ASM_SURVEY_CODE" = :b2, "ASSM_SUBCATEGORY_ID" = :b3, "ASSM_SUBCATEGORY_DESC" = :b4
    i tried to go through the posts from others but i still dunno what is this error !!!& how to solve it..
    my master data table have 2 primary keys.. the details data table have 3 primary key all of them using trigger to fire a sequence to get the next_val!!
    am desperate & need help urgently for this ASAP.

    hello
    here is the solution,i hope this might help u.
    go to the code of your button and change write the following
    go_block('name of your master block');
    execute_query(no_validate);
    and in the object navigator make the first item in the master
    block that it should be displayed in the canvas and it must be a
    navigable item too.not a display item.
    thank you
    Zeeshan Ahmad

  • Master-Details form - integrity constraint

    Hi,
    I have created a simple master-detail form. Master block is based on say Table1 with 2 columns and detail block is based on Table2 with 4 columns.
    When I am trying to create records using this form, I enter data in the Master block and then navigate to the detail block and then enter data. When I press the save button,
    the form throws error message "ORA-02291: integrity constraint (APPS.FK_RECORD_IDENTIFIER) violated - parent key not found"
    When I check the query using Help->Diagnostics->display database error, the insert statement is insert into table2 values (......
    I guess, the form is trying to insert data into table2 first. Since there is no corresponding entry in Table1, hence the error. What should be done, so that the form inserts Master block data into table1 first before attempting to insert data into detail block.
    Regards
    Suresh

    Suresh,
    In the Object Navigator view, check the block order under the Data Blocks section. The Master Block should come first, and then only the detail should come. If its is not like that, then change the order of the blocks by dragging the master block to top of the blocks.
    Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • Unable to View records in a master-detail form

    In a master-detail form, I am not able to view records of the master/detail table
    by accepting the values of the PK of the header table items.
    Please tell me the exact steps, so that I can view the detail table records based on the header table PK items.
    Thanks.

    Yes I wrote the LOV code in a different procedure. Now, the view is showing correctly. But I am now trying to update the viewed records.
    The steps I am following in View Option is as below:
    go_block('header');
    clear_block(no_validate);
    execute_query;
    proc_lov;
    go_block('item');
    execute_query;
    I am unable to commit the changes made in the blocks
    The reason it is showing is : UNABLE TO update.....I saw the display_error.
    The system is trying to update the PK part also..Why....Though PK party is clearly defined in the table as well as property palette. Pl. explain how to go about it. Uregent help is required once again.

  • To attach a RTF template(Report for printing ) in the master detail form

    I have an application in which I have 3  master detail forms  of which one of the form is a gate pass form . Now this gate pass form has a report region as the detail.
    All that i need help is to print the Gate Pass with few fields as information in the gate pass form , where an image or picture of the visitor is also a filed .
    Now I have created an RTF Template  which is the Gate pass layout with the pic.
    So ultimately I have the application for the gate pass form and the RTF template ready with me .. Fixing this template with the application with a BUTTON called PRINT is the challenge am facing !
    SELECT XVH.GPDATE
           , TO_CHAR(XVH.VISITORTIMEIN, 'HH:MI') VISITORTIMEIN --, (XVH.VISITORTIMEIN )
           , (TO_CHAR(XVH.VISITORTIMEOUT, 'HH:MI'))VISITORTIMEOUT
           , XVH.VISITOR_NAME --, = XVH.PERSON_ID
           , XVH.COMAPANY_NAME
           , XVH.PURPOSE_OF_VISIT
           , (SELECT A.FULL_NAME
                FROM PER_ALL_PEOPLE_F A
               WHERE A.PERSON_ID = XVH.PERSON_ID
                 AND SYSDATE BETWEEN A.EFFECTIVE_START_DATE AND A.EFFECTIVE_END_DATE) To_meet
           , XVH.VISITOR_PHONE
           ,APPS.GETBASE64 (XVH.VISITOR_PHOTO)
      FROM xxcdot.XXBCT_VGPF_HEADER XVH
    WHERE XVH.GP_HEADER_ID =  :P_HEADER_ID
    This is the query for the template ..
    Please help me with this. I am very new to apex and learning it with help of online tut

    Pars I need another Help
    I am working with a master detail form where in the form region i have a Radio group . Lets say the Radio group is
    o Returnable
    o Non Returnable
    o Other
    so when i select Non returnable I want a particular column called
    Line Status to get Disabled .
    I have done that by a dynamic action - using jquery statement (.Disable) .
    Defining the element attributes as Disable .
    Now the problem is that ,, Line status is getting disabled on the selection of Non returnable radio button. but unless and until i dont press the Add row button it does not work ,, else i will have to switch over between the radio buttons to get this action done !!

  • Adding button to report to link to master detail form

    I want to add a button to a report to direct me to a blank master detail form to insert a new record. I have used the following code in the additional PL/SQL code section:
    htp.formopen('PORTAL30.wwa_app_module.new_instance?p_moduleid=1271601405');
    htp.formsubmit('p_request','Create New');
    htp.formClose;
    When I click this I get 'Page Not Found'.
    But if I hit refresh I am directed to the correct form with the same url.
    Any ideas on what the issue is?
    Thanks.

    Hi,
    Check this sample code.
    tables:sscrfields. "Fields on selection screens
    selection-screen function key 1.
    selection-screen function key 2.
    Initialization.
      sscrfields-functxt_01 = 'Report'.
      sscrfields-functxt_02 = 'Exit'.
    at selection-screen.
       if sscrfields-ucomm = 'FC01'.
      perform f_alv_sub.
       elseif sscrfields-ucomm = 'FC02'.
       endif.
    Hope it helps.

  • Search on Master Detail form/report

    Hi,
    I noticed that when I created a new application in Apex 4.01 basing the intial page on a Master Detail form/report, I was able to add a search item to the initial page. When I go to add another page with a different Master detail form/report, I did not have any option for adding a search item to the report page. Seems like an oversight?
    I would appreciate any hints as to how to add same search item to my 2nd Master/Detail form/report.
    Thanks,
    Pat

    Me too facing the some problem can some one pls help

Maybe you are looking for

  • Ios 7.0.2 problem with many iphones

    I work in Mobile Work Shop and i received soo many problems about iPhone 4s and iPhone 5 after the customers do update via itunes, the problems are : 1- Durring call : can't speak and hear the caller 2- Battery drain and won't charge successfully 3-

  • General Ledger upload

    hi friends, i am supposed to perform a GL upload in finance, which is the best way to perform that: LSMW or BDC, did any one come across such a scenario before.

  • Download of complete report in excel-S_ALR_87013533

    Hi Gurus How can we download the report S_ALR_87013533 completely in excel sheet Thanks in advance Regards Abhijit Sen

  • ADF - dataAction changes to a dataPage?

    Thankfully I have managed to solve this problem now - Re: ADF - Multiple Forms on one dataPage although I did experience one strange thing when viewing the ADF struts-config diagram. After restarting JDeveloper the ADF struts config-diagram displayed

  • Ayuda creacion Layout

    Jovenes experto alguien me podria indicar como empezar a hacer un formato de impresion desde cero ya que el que tengo no me encaja en total en letras la primera factura si la imprime bien la segunda la baja como dos lineas la tercera igual asi sucesi