ORA-03001 error on MRU form

I added a column to a tabular form and its underlying table, and now the tabular form is showing:
failed to parse SQL query:
ORA-03001: unimplemented feature
when I press the "ADD" button.
What do I need to do to get this working, or will it be faster just to rebuild the page based on the new table definition?

Hi,
Whenever I've needed to update a tabular form I adjust the SQL statement, apply changes, go back in and edit the new column(s) to ensure that they are pointing to the correct table and field and apply changes again.
Occasionally, I have had to clear the in my browser after loading the page for the first time, but that has only been needed if I've done something to a field that uses a LOV in a Select List. Otherwise, I don't have any problems if I follow the above.
Regards
Andy

Similar Messages

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01400:

    my application on apex.oracle.com.
    http://apex.oracle.com/pls/otn/f?p=19391:1:931174149200985:::::
    login : guest pwd : 123
    To get the error
    1. click on edit button on daily entry.
    2. click on add button on daily_entry_detail
    3. enter party name
    4 enter qty
    and click on add row to add 2nd row
    following error
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01400: cannot insert NULL into ("PTEST"."DAILY_ENTRY_DETAILS"."ENTRY_DATE"), insert into "PTEST"."DAILY_ENTRY_DETAILS" ( "ENTRY_DATE", "PARTY_NAME", "QTY") values ( :b1, :b2, :b3)     Error     Unable to process update

    Hi
    I am going to assume that ENTRY_DATE should be the date that the user created the record - otherwise, you will have to add this field to your form to get the user to fill it in.
    You need to check how your DAILY_ENTRY_DETAILS table is set up.
    Go to SQL Workshop, Object Browser and in the list of tables, select DAILY_ENTRY_DETAILS, then click on the SQL option above the table definition and you should see something like:
    CREATE TABLE  "A_LOV1"
       (     "LOV1" NUMBER,
         "LOV1_NAME" VARCHAR2(100),
          CONSTRAINT "A_LOV1_PK" PRIMARY KEY ("LOV1") ENABLE
    CREATE OR REPLACE TRIGGER  "BI_A_LOV1"
      before insert on "A_LOV1"
      for each row
    begin
      if :NEW."LOV1" is null then
        select "A_LOV1_SEQ".nextval into :NEW."LOV1" from dual;
      end if;
    end;
    ALTER TRIGGER  "BI_A_LOV1" ENABLE
    /(This is based on one of my tables, so the names etc will be different for you).
    In the first block, the CONSTRAINT line tells you whether or not you have a primary key on the table - in the example above, the primary key field is LOV1. If this is not set up, you must do this - click on the Constraints option at the top of the page and click Create then follow the prompts.
    The next block is a TRIGGER. This is set to run whenever a record is inserted into the table. A record being inserted is referred to as :NEW. You can see from the example that, in this case, when the record is being inserted, the value in the Primary Key is checked. If it is null, then a new sequence number is generated (see below) and the record is updated with this number before the record is saved.
    The final block just switches the trigger on
    You will see that this trigger says "select A_LOV1_SEQ.nextval...". This refers to a "sequence" object. Go back to the Object Browser and select Sequences. In my example, there is a sequence called A_LOV_SEQ which, if I select it and look at the sql, it is defined as:
    CREATE SEQUENCE "A_LOV1_SEQ"  MINVALUE 1 MAXVALUE 99999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE NOORDER NOCYCLEThis is a counter that is used by the trigger to get the next Primary Key value for the record.
    If you don't have the sequence, you will need to set it up. This can be done by clicking the Create button at the top right and following the prompts. Or you can copy the above, change the sequence name as required and then run this in the SQL Commands window
    If you don't have the trigger, you can copy the code above and edit it to suit your table needs.
    Now for the ENTRY_DATE issue. If this is to be automatically set to the current date, you can handle this in the trigger. For example - assume I had that field on my table, then my trigger would be:
    CREATE OR REPLACE TRIGGER  "BI_A_LOV1"
      before insert on "A_LOV1"
      for each row
    begin
      if :NEW."LOV1" is null then
        select "A_LOV1_SEQ".nextval into :NEW."LOV1" from dual;
      end if;
      if :NEW."ENTRY_DATE" is null then
        :NEW."ENTRY_DATE" := SYDATE;
      end if;
    end;
    ALTER TRIGGER  "BI_A_LOV1" ENABLE
    /SYSDATE just means the current date/time
    The CREATE and ALTER statements must be run separately in the SQL Commands window
    Once you have that set up correctly, your form should work
    Andy

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01779:

    I have a tabular form based on a view like:
    select
    t1.id,
    t2.network_id,
    t2.month_id,
    t2.icp_ic,
    t1.status,
    t1.disc_comment
    from
    table1 t1,
    table2 t2
    where
    t1.month_id (+) = t2.month_id and
    t1.network_id (+) = t2.network_id and
    t1.icp_id (+) = t2.icp_id
    id is a surrogate key of table1 and there is a trigger to populate this on insert. There is also a unique index on table2 (month_id, network_id, icp_id). When I change the disc_comment column through the form and try to save I get an error:
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01779: cannot modify a column which maps to a non key-preserved table
    If I take out the outer join, it works fine. The problem is table1 will not have a row for every row in table 2, hence I need the outer join. Any ideas how I can get around this problem?
    Regards
    Sadanand

    Hi Andy,
    Yes I am paginating the form and I am not getting a set of blank rows. What I mean by next set of records is - if the page is showing rows 11 to 20 and I enter a comment against row 15 and save, the form inserts the comment into the table via the INSTEAD OF trigger and the page automatically refreshes with rows 21 to 30 from the query. On the other hand, if I click Prev link and redisplay rows 11 to 20, change the comment and click on Save, the form updates the comment and refreshes the page with rows 11 to 20. If I update the comment again, it redisplays page with rows 11 to 20 and this is the behaviour I desire when I insert data. Remember that I am using outer join, so there will be a mix of inserts and updates of data. I hope my explanation is clear. I have tried removing the tabular form region and starting from scratch but that hasn't helped - maybe I will drop the page and recreate it.
    As for checksum error, you are right - it disappears after I logout and login again.
    Regards
    Sadanand

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001:

    Hi,
    Using HTMLDB 2.0 we have created several Master Detail forms using wizard. When we have started testing our application recently we are realising that most of the master details forms not working with an 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"
    We have created several such pages and now we are not sure on the resolution for the same.
    Could you please helpus to resolve this issue?
    Regards,
    DGKM

    Please check following thread:
    Re: Error in mru internal routine: ORA-20001: no data found in tabular form

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-20001:

    Hi, I'm using HTMLDB version 1.6.0.00.87 on a DB 10.1.0.3.0.
    I'm creating a Tabular Form to perform update operations on multiple rows in a database table.
    The table is in a schema outside of the HTMLDB schema and my application works.
    If I substitute my table with a synonym (outside of the HTMLDB schema) pointing to another table (outside of the HTMLDB schema), the select works fine but when I try to update records an error occurs:
    0.05: Branch point: BEFORE_PROCESSING
    0.05: Processing point: AFTER_SUBMIT
    0.05: ...MULTI_ROW_UPDATE (AFTER_SUBMIT) #OWNER#:CSTCMP:T$NCMP:T$CPCP
    0.08: Show ERROR page...
    0.09: Processing point: AFTER_ERROR_HEADER
    0.10: Processing point: BEFORE_ERROR_FOOTER
    Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "1F2F93F97DFD18A9D69960FCD28AF6EF", item checksum = "A884FA378C851786DDFE3A33709CB23C"., update "WS_T1"."CSTCMP" set
    If I perform with SQL the update on the synonym, it works.
    I only have a browser connected to the application and I'm not locking the table.
    I don't think this is correlated with
    Re: Error in mru internal routine (HTML DB BUG?)
    What do you think about?
    Thanks in advance.

    To look into what? You probably modified your tabular form by adding a column and you didn't take care of the column source.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Error in mru : ORA-20001: Error in MRU: row= 1 Current version of data ...

    hi i am getting tihs error msg
    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
    i'll try to show a form table in which i can edit and add data
    when i use the wizzard it is all fine with editing but i cant creat a new item because i have to insert my primary key and that shoud be done automatically.
    ok again
    my PK is at first col1 and second col2
    i got a dropdown list in which i choose an item from col1 to just show items in my form with that value, here are more than one results possible
    no i want to edit col2 up to col4
    or add a line with the same col1 but different col2 and some col3-col4 values
    but if i add a line i want to insert col2 to up to col4 (and the PK from col1 shoud be automatically insert from my dropwdown list i choosed before)
    i want in col2 an drop down list
    so all this works fine i got all the changes i want but when i try do save or update my changes i got the error frome above
    i think the problem is at the primary key thing cause i want to choose a part manually but i have to
    to get the new line actually u use the add row link but i use instead after my select statement an
    Union select :P62_PNR_VOll, null, null, null from dual
    to get my first pk automatically from my dropdown element (in my case :P62_PNR_VOLL)
    how can i solve that error?
    thx for ur help
    regadrs
    Falk

    Hi Falk,
    It is usually best to have a sequence number for the primary key on a table. If you need to restrict other fields to be unique, then you can create a constraint to do this.
    To create a sequence number and apply this to a new record, you need to do two things:
    Let us say that you have a table called TABLEX and this has a numeric primary key field of ID. Do the following in the SQL Commands window
    1 - Create a sequence SQL object:
    CREATE SEQUENCE "TABLEX_ID_SEQ"  MINVALUE 1 MAXVALUE 99999999999999999999999 INCREMENT BY 1 START WITH 1 NOCACHE  NOORDER  NOCYCLE2 - Create a trigger:
    CREATE OR REPLACE TRIGGER "TABLEX_BI"
    BEFORE
    INSERT ON "TABLEX"
    FOR EACH ROW
    BEGIN
    IF :NEW.ID IS NULL THEN
      SELECT TABLEX_ID_SEQ.NEXTVAL INTO :NEW.ID FROM DUAL;
    END IF;
    END;This needs to be enabled, so run:
    ALTER TRIGGER "TABLEX_BI" ENABLEWhen this is done, you then have "An existing trigger" that you can use for your tabular form. When a new record is created, the trigger is run and this checks for a value in the ID field. If this is NULL, then the next value in the sequence is assigned to it.
    Primary Keys can be based on other values. You can use any value from the current record - for example, if you need to get the value from the XXX field, you just reference :NEW.XXX You can use this to pass into a function that returns your new primary key value. But I would recommend keeping to one field for your primary key as this makes things a lot simpler later on.
    Andy

  • Error in mru internal routine ORA-20001  Error in MRU

    Hi,
    In my APEX application, tabular form is used. Add row and Submit buttons are all present. When a user enter all the details and click Add row or Submit, the values are stored in the DB.
    But once in a while, when the user clicks the Submit button, the following erros pops up. I have no clue on what basis, I am getting this, as the case is not consistent. Can someone help me to figure this out.
    If you want more details, please let me know.
    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 = "54667634DB35954B3405B722187947CD", item checksum = "4E4090E68119768E76068A7A4D8DA8BA"
    Thanks!

    the PK is a composite key, which is automatically generated by the trigger in Page 2, when the user clicks a "Generate report" button.
    In page 3 when the user enters the data, those datas are filled in against the PKs
    The process I am using here is:
    begin
    insert into <table name> (ID,expense_id,submitted_by) select nvl(max(id),0)+1,1,:APP_USER from <table name>;
    end;
    ID - primary key
    expense_id - secondary primary key
    both forms the composite keys.
    So in the tabular form, when Add row button is kept on clicking, sometimes when it hits more than 5, we enter the values and click button, we get error.
    Add row also submits the value to the database and generate a ID and new expense ID.....

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-01403:

    Hi All,
    I have one issue that, i am geeting this " *Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-01403: no data found, insert into "BM_TOOL"."BASE_DATA_STORAGE_TAB"* error while i try to add row for sql(updatable report) or tabular form report. Can anybody plz look into it as where i went wrong.
    Thanks

    To look into what? You probably modified your tabular form by adding a column and you didn't take care of the column source.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • ORA-04062 error when running forms with different users

    ORA-04062 error when running forms with different users
    I have a form that has a block that should display some data from another users tables. (The other user's name is dynamic, it's selected from a list box)
    I wrote a stored procedure to get the data from other user's tables.
    When I compile the form and run it with the same user I compiled, it works without any error. But when I run the compiled form with another user I get the ORA-04062 (signature of procedure has been changed) error.
    I tried setting REMOTE_DEPENDENCIES_MODE to SIGNATURE in init.ora but it didn't help.
    My Forms version is 6i with Patch 15.
    Database version is 9.
    Here is my stored procedure:
    TYPE Scenario_Tab IS TABLE OF NUMBER(34) INDEX BY BINARY INTEGER;
    TYPE Open_Curs IS REF CURSOR;
    PROCEDURE Get_Scenarios(User_Name IN VARCHAR2, Scen_Table OUT Scenario_Tab) IS
    Curs Open_Curs;
    i NUMBER;
    BEGIN
    OPEN Curs FOR
    'SELECT Seq_No FROM '|| User_Name ||'.scenario';
    i := 1;
    LOOP
    FETCH Curs INTO Scen_Table(i);
    EXIT WHEN Curs%NOTFOUND;
    i := i + 1;
    END LOOP;
    END Get_Senarios;
    I would be happy to solve this problem. It's really important.
    Maybe somebody can tell me another way to do what I want to do. (getting a list of values from another users tables)

    I think it should be a better solution to create a package,
    and put your own TYPES and procedure into it.
    CREATE OR REPLACE PACKAGE PKG_XXX IS
    TYPE TYP_TAB_CHAR IS TABLE OF .... ;
    PROCEDURE P_XX ( Var1 IN VARCHAR2, var2 IN OUT TYP_TAB_CHAR );
    END ;
    Then in your Form :
    Declare
    var PKG_XXX.TYP_TAB_CHAR ;
    Begin
    PKG_XXX.P_XX( 'user_name', var ) ;
    End ;

  • ORA-20001: Error in MRU – Master-Detail

    We don’t allow to user modify the data and I remove a delete button in Master Detail.
    When I Add a row, I have the following message.
    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 =
    "BCCD5C47988C796DDF2D84B10BB8E345", item checksum =
    "C604943867B330EAE028B93903CE2F08"., update "SVR"."SVR_NOTES" set
    "SVRN_ID" = :b1, "SVRN_SVRL_ID" = :b2, "NOTE_DETAIL" = :b3, "CR_DT" =
    :b4, "CR_USR" = :b5, "LM_DT" = :b6, "LM_USR" = :b7Can anyone help me?
    Thanks in advance,
    Sam

    Hi Sam,
    You can hide the button very easily without deleting it. Click on the Button in the edit page under the button section. Click on the Condition in the heading tab and change the Condition type attribute to Never. It will never display the button in your page.
    Hope this helps.
    Regards,
    M Tajuddin

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01403:

    Hi All,
    I have an ADD ROW and SUBMIT button on my page in APEX. After i add a row or submit it the following error appears,
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01403: no data found, update "APPS"."GAU_V" set "PK_FIELDS" = :b1, "SERVICELINEID" = :b2, "SERVICELINEDESC" = :b3, "SERVICEDISPLAYORDER" = :b4, "DIVISION" = :b5
    Error Unable to process update.
    OK
    I have the following select query under region definition :
    select
    "PK_FIELDS",
    "SERVICELINEID",
    "SERVICELINEDESC",
    "SERVICEDISPLAYORDER",
    "DIVISION",
    "STATUSID" // this column was added later in the query
    from "#OWNER#"."GAU_V"
    where "SERVICELINEID" like nvl(:P99_SERVICELINE,'%')
    Order by "SERVICELINEID"
    The region attributes has PK_FIELDS as a hidden column. Value in PK_FIELDS is same as SERVICELINEID column.
    Also the GAU_V view has an INSTEAD OF trigger for insert or update or delete.
    Please tell me the solution for this error..
    Its urgent..
    Regards,
    GTS

    Hi All,
    I have an ADD ROW and SUBMIT button on my page in APEX. After i add a row or submit it the following error appears,
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01403: no data found, update "APPS"."GAU_V" set "PK_FIELDS" = :b1, "SERVICELINEID" = :b2, "SERVICELINEDESC" = :b3, "SERVICEDISPLAYORDER" = :b4, "DIVISION" = :b5
    Error Unable to process update.
    OK
    I have the following select query under region definition :
    select
    "PK_FIELDS",
    "SERVICELINEID",
    "SERVICELINEDESC",
    "SERVICEDISPLAYORDER",
    "DIVISION",
    "STATUSID" // this column was added later in the query
    from "#OWNER#"."GAU_V"
    where "SERVICELINEID" like nvl(:P99_SERVICELINE,'%')
    Order by "SERVICELINEID"
    The region attributes has PK_FIELDS as a hidden column. Value in PK_FIELDS is same as SERVICELINEID column.
    Also the GAU_V view has an INSTEAD OF trigger for insert or update or delete.
    Please tell me the solution for this error..
    Its urgent..
    Regards,
    GTS

  • Error in mru internal routine: ORA-20001: Error in MRU: row= 1

    Hi I have a Multi-Row Report, where you can change the status in on column
    Example:
    7939 Jones (Manager/Clerk/President) ....
    8000 SCOTT (Manager/Clerk/President)
    I used a select list for the 3rd column.
    If i Try to Update this report i get:
    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 = "C9E9B9EE43F674CAF6827176E554121E", item checksum = "50BB6F7005ACD33C70494DB171D2AB44".,
    update "MUNIQ"."MSTA_KONTAKT" set "KONTAKT_ID" = :b1, "STATUS" = :b2, "BENUTZER" = :b3, "ZBENUTZER" = :b4
    But there is nobody inside the database except me. I thought it worked for a couple of days, but now it dosn´t.
    What can i do ?
    Thanks
    Marco

    Hi I have a Multi-Row Report, where you can change the status in on column
    Example:
    7939 Jones (Manager/Clerk/President) ....
    8000 SCOTT (Manager/Clerk/President)
    I used a select list for the 3rd column.
    If i Try to Update this report i get:
    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 = "C9E9B9EE43F674CAF6827176E554121E", item checksum = "50BB6F7005ACD33C70494DB171D2AB44".,
    update "MUNIQ"."MSTA_KONTAKT" set "KONTAKT_ID" = :b1, "STATUS" = :b2, "BENUTZER" = :b3, "ZBENUTZER" = :b4
    But there is nobody inside the database except me. I thought it worked for a couple of days, but now it dosn´t.
    What can i do ?
    Thanks
    Marco

  • ORA-20001: Error in MRU: on move from Dev to Prod

    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 = "2BCE6F4EB6F357144C392489EB0A193F", item checksum = "13CE2299AFA3A80DF1E31BB71F7CB0B1"., update ...
    I recieved the above error when installing my application in my production database. The probem does not occur in development. I get the error on almost all my multi-record-update blocks. If I recreate the region in the production database it works fine. I've got way too many regions to recreate everyone.
    Any ideas?

    "9657",
    Please explain "I recieved the above error when installing my application in my production database." During what installation step do you see this? Or do you mean that it happens when you run your applications after you installed them? Or are you seeing this message when you run our internal applications? How consistently do you see this error?
    What steps did you take to move workspaces and applications from development to production? Can you import/install a test application on htmldb.oracle.com to try to reproduce a test case there?
    Perhaps your production version of HTML DB and the RDBMS are downlevel or unsupported.
    Scott

  • Strange ORA-03001 error

    I have a create table query. It runs fine. All I do is take off the create table as line and run the query and it gives me ORA-03001 feature not implemented. What's going on?

    Please be more detailed: what statement, how do you run it, what is "taking off", and what versions (DB, sqldev) are you using?
    K.

  • ORA-20001: Error in MRU - ORA-01461: can bind a LONG value only for insert

    Hello there,
    got a new problem.
    after change my views for all my forms in apex on the prod-datadase i get above error.
    i just set up the forms again, but cant get rip off this error.
    we work with apex Release 2.0
    the Database Test is 10.2.0.2.0
    the Database Production is 9.2.0.4.0
    any suggestions?
    please help, thanks for advice
    greets michael

    Michael - You need to put some more work into the problem description. It should be so detailed that someone else should be able to recreate the problem using your description without having to ask you for more details. At least that could be your goal.
    Scott

Maybe you are looking for

  • Subtraction in the pricing procedure.

    Hello Friends,              I have requirement as follows: I have two steps in the pricing procedure. One has a condition type and the other does not. Now my requirement is to subtract the condition price of step 1 from the condition price of step 2

  • F110 Payment run for multiple vendors

    Hi I will like to find out if I can select multiple vendors for my payment run in f110, so i dont keep entering the vendors each time i am trying to run payment. For instance I have payment method "Q" is it possible to create a variant that will auto

  • Marquee or lasso tool freeze Mac

    Hi, all, I am using PS CS4 Extended (11.0.1) on OS X 10.5.7, both patched to the latest update/security level. iMac white, 2 GB, NVIDIA 7600 GT. When I select the lasso or marquee tool or use the cropping tool and then mark an area in any picture (ev

  • FRM-30425

    Dear All I created a display item on form and I want to get total of an item. I defined Calculation mode = summary summary function = sum summarized block = my block name summarized item = my item name I created this item in same block but shows erro

  • SECURITY USER_AUTH IN UBBCONFIG FILE

    My question regarding this is: if you set this option, what kind of security do we need? Do we need a process to be running? The problem I have is that I created a Tuxedo /WS client. The only way to get it running is to comment this out. I have added