Why "Error in mru internal routine..." ?

Hello !
I have two tables SITES( site_pk, site_name,...) and SITE_DOKU( doku_pk, fk_site_pk, doku_det1, doku_det2, doku_date,...).
The primary keys are set by before insert triggers which retrieve NEXTVAL from a sequence.
Not for every SITE there is a SITE_DOKU record, but if one exists, no other for this site can be created.
I created a view SITE_VIEW as an outer join of the above tables:
CREATE OR REPLAVE VIEW SITE_VIEW AS
SELECT S.site_pk, S.site_name,
       D.doku_pk, D.doku_det1, D.doku_det2,...
  FROM SITES LEFT OUTER JOIN SITE_DOKU
         ON D.site_pk = D.fk_site_pk
/For insert, update and delete I created INSTEAD OF triggers which call procedures from a package.
In my APEX-application I created a tabular form based on this view.
The wizard asked for a primary key and I descided to take doku_pk.
I thought it's not really of interest, because handling of insert and update is managed by my instead of triggers.
To be on secure side in the instead of update trigger I tried an update and if it would fail ( %ROWCOUNT attribute = 0 ) I did an insert.
Two scenarios for my application:
A) There are two records displayed in my form:
SITE_PK  SITE_NAME  DOKU_PK  DOKU_DET1  DOKU_DET2
101      Sitename1
102      Sitename2  1001     valuedet1This means: for site 101 there doesn't exist a site_doku record, for site 102 there is site_doku record 1001
And now the behaviour of the tabular form: if I fill in a value in item DOKU_DET1 for the first line (it is therefore an insert into SITE_DOKU) or try to update the second line I get a checksum 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 =..."
B) There are two records displayed in my form:
SITE_PK  SITE_NAME  DOKU_PK  DOKU_DET1  DOKU_DET2
201      Sitename1  2001     valuedet1
202      Sitename2This means: for site 202 there doesn't exist a site_doku record, for site 201 there is site_doku record 2001
And now the behaviour of the tabular form: if I fill in a value in item DOKU_DET1 for the second line (it is therefore an insert into SITE_DOKU) or try to update the first line everything works well: there is an update or insert into SITE_DOKU !
Can anyone please exactly describe how APEX is handling the two not so different situations, in the first case resulting in an error, and in the second case working as I expect ?
BTW: I found a workaround (or solution) in changing the primary key definition for the view to SITE_PK. Everything is working now, but I want to understand how APEX is working !
Regards,
Heinz

Heinz,
There are a number of things happening when rendering and saving tabular forms. While rendering the form, the data is read from the database and shown in your tabular form. There are also checksum values built for each row by concatenating the values of your editable columns and building a checksum on the resulting string.
Then, after you entered your data and clicked the apply changes button, for each row the engine checks if there has been a change, and if so, the engine retrieves the current data for each row from the database, builds a checksum on that data and compares the checksum value with the checksum value that was computed when rendering the form. If the checksums match, the engine performs the update otherwise it raises an MRU error.
All of this is done based on your PK. And if the PK is NULL, then the engine assumes this is a new row and attempts an insert. In your case, I think your first scenario fails because the column you chose as PK is NULL, so the engine can't identify the correct row in the database. With your work-around / solution, using a different column as PK, you basically ensure that each records can be properly identified.
Hope this helps,
Regards,
Marc

Similar Messages

  • Error in mru internal routine: ORA-20001: while updating tabular report

    Hi,
    I am new to APEX..
    I am getting the following error when updating a tabular updateable report when I change the query that was created using the wizard.
    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.
    I need to get some extra data other than the those returned from the detail table.Hence I have changed the query.
    If i delete the row and add a row,no error is displayed.
    My primary key has been hidden.
    Kindly help.
    Thanks .

    I had the same problem. When I changed the query then I forgot to add primary key column in the query. That's why I couldn't update the table value. But I could insert a new record bacause I have a trigger at database level to add new id value for primary key column.

  • Error in MRU Internal Routine:

    Hi,
    I have created a Derived column in tabular form which i need to displace data from the table in db. The problem is if i change the Column attribute Display as Text field, the following error occurs while savings the records.
    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 = "C98AB2AF248671D793E3DC136ED303E5", item checksum = "DA4F347FC7D51B8F9B8852647E4E6841"., update "BILLBOOKS"."B_METER_READINGS" set "READING_DATE" = :b1, "READING_ID" = :b2, "ACCOUNT_ID" = :b3, "PERIOD_ID" = :b4, "PREVIOUS_READINGS" = :b5, "CURRENT_READINGS" = :b6, "CONSUMPTION" = :b7, "READING_TYPE" = :b8
    But if i change the attribute as Display as Text it is ok but the column doesnt not have attribute id and Name to pass the value to
    you can check it in apex.oracle site using the following
    WorkSpace:Dnyaks
    Username:[email protected]
    Pass: Admin123
    What would be the problem
    Regards
    David

    Marc,
    Thanks for the reply.
    Here is the thread what I was trying to do
    Configure minimum & maximum dates for a tabular form date field
    Well, the reason for using the API is I need to set min & max dates in the date picker, which is a feature missing in tabular forms date picker.
    I wonder why this feature is there for a stand alone date picker item but not for tabular form.
    Any other way to set min & max date range in tabular form ?
    Thanks,
    Raj

  • Error in mru internal routine: ORA-20001: no data found in tabular form

    Hi All,
    I am trying to do the Multi Row Update. Please go through the below process which i followes:
    > I have a table B which is of child table of A, the columns belongs to table B are B_ID, B_Name, B_Description and A_ID.
    > I have prepared a report with B_NAME, B_DESCRIPTION and B_ID and in this B_NAME is of LOV.
    > Now I want to update the values through interface by clicking on SUBMIT [Apply Change] button.
    > To do this I used the Process of "Multiple Rows Update" by choosing table B and a primary key value of table B which is B_ID.
    While clicking on the SUBMIT [Apply Change] button I am getting this error:
    Error in mru internal routine: ORA-20001: no data found in tabular formPlease tell me is i am following the correct process. If not please correct me.
    Thanks in advance
    Vishwanath

    Hi All,
    I am trying to do the Multi Row Update. Please go through the below process which i followes:
    > I have a table B which is of child table of A, the columns belongs to table B are B_ID, B_Name, B_Description and A_ID.
    > I have prepared a report with B_NAME, B_DESCRIPTION and B_ID and in this B_NAME is of LOV.
    > Now I want to update the values through interface by clicking on SUBMIT [Apply Change] button.
    > To do this I used the Process of "Multiple Rows Update" by choosing table B and a primary key value of table B which is B_ID.
    While clicking on the SUBMIT [Apply Change] button I am getting this error:
    Error in mru internal routine: ORA-20001: no data found in tabular formPlease tell me is i am following the correct process. If not please correct me.
    Thanks in advance
    Vishwanath

  • Error in mru internal routine: ORA-20001

    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 = "8845492C13CD535CF052A3C2441A41F3", item checksum = "9B2D18BBC17D51CBC5EEAC115693C8BB"., update "CPS"."TS_AX_TIME_STUDY" set "DRIVER_ID" = :b1, "ROUTE_TYPE" = :b2, "ROUTE_SUB_TYPE" = :b3, "ROUTE_NUMBER" = :b4, "ROUTE_NUMBER_MIDDAY" = :b5
    Exported application from apex.oracle.com. Imported to local apex deployment, local is running Application Express 3.0.1.00.07.
    This error occurs on only one page, and only on the local deployment.
    Any ideas?
    -chris

    Found the source of the problem. I had hidden the "Row Selector" on the master-detail report (for my purposes it was unneccessary), when re-introduced all was well again.
    thanks for looking
    -chris

  • Master detail form Error in mru internal routine: ORA-20001

    Hi,
    i created a master-detail form with apex standrad wizard.
    Master e datail are on the same page.
    All works fine.
    My detail form contain some fields of my detail table.
    Now i added a link on detail form for call a form with all fields of my detail table.
    The link work fine.
    When i try to add row or update my detail form i receive the 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 = "D472A2BF636CA11122F196B8A32B3DC8", item checksum
    Any help?
    Thanks in advance
    Lukx

    Lukx,
    I've just reproduced your what I believe you wanted and didn't receive any errors. Here are the steps I took.
    1) Used the wizards to create a Master Detail form (with Detail edit on the same page as the master and only showing 2 of the detail columns)
    2) Used the wizard to create a FORM ON A TABLE for my detail table allowing the user to edit all detail columns
    3) Created a "column link" column on the detail form of the Master Detail form which links to the FORM ON A TABLE, passing across the ID of the detail record.
    When I do this, everything seems to work perfectly as expected.
    Is there something I'm missing in the steps you performed to create your scenario?
    Thanks
    Doug
    http://www.sumneva.com

  • 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, 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= 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

  • 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
    -------------------------------------------------------------------

  • Cannot Update Tabular form Values Error in mru internal routine: ORA-20001:

    i have created some master detail records through a manual tabular form. Iam getting the following error when i tried to updated the values through another inbuilt tabular form....
    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 = "9067F4C5EF14529F831CB42B5567C288", item checksum = "07865E78639EB6477FB5DFB8B02EA047".,

    Hi
    Hopefully my response to your Error in mru internal routine: ORA-20001: no data found in tabular form thread will help. In this thread's example, there is no error message that displays the column names required, but the principle would be the same: Make sure that all fields drawn from the table are included as editable or hidden columns on the report (so that there is one instance of each field shown with a tick in the Edit column on the report's Report Attributes page).
    Andy

  • Updatable report error: "Error in mru internal routine: ORA-20001"

    Hi all,
    i have a updatable report with a Multi Row Update process.
    The report has 6 display column and 1 Select List column.
    When i try to save any changes, the application shows this 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 = "D8B5C89AA33C8434C26DCF9A6ED939E4", item checksum = "39FB99A42FF86E64FD66D1F3C142C5F6"., ... "
    This application allows many user's connections at the same time.
    What can i do?
    Thanks.

    Hi,
    Obviously, without these tables I can not check this, but I would suggest something like:
    SELECT
    '<img title="Click to enlarge" onclick="javascript:showImage(this);" src="#OWNER#.DISPLAY_IMAGE?inID=' || NVL(IMAGE_ID, 0) || '" height="30" width="30" />' FOTO, -- DISPLAYED
    CA."E_UNI_OPER_K_UNITA_OPER", -- HIDDEN
    CA."E_OPERATOR_K_OPERATORE", -- HIDDEN
    CA."O_CARICO_UO", -- HIDDEN
    CA."O_TIMESTAMP_RSS", -- HIDDEN
    CA.K_MATRICOLA, -- HIDDEN
    CA.K_MATRICOLA K_MATRICOLA_DISPLAY, -- PRIMARY KEY, -- DISPLAYED
    CA.K_SERIAL_NUMBER, -- HIDDEN
    CA.K_SERIAL_NUMBER K_SERIAL_NUMBER_DISPLAY, -- DISPLAYED
    CA.E_UNI_OPER_K_UNITA_OPER_***, -- HIDDEN
    (SELECT TMA.N_MODELLO_ASSET FROM TIPO_MODELLO_ASSET TMA WHERE TMA.K_MODELLO_ASSET = CA.E_TMODASS_K_MODELLO_ASSET) N_MODELLO_ASSET, -- DISPLAYED
    CA.E_TCATASS_K_CATEGORIA_***, -- HIDDEN
    (SELECT TCA.N_CATEGORIA_ASSET FROM TIPO_CATEGORIA_ASSET TCA, A_IMAGES AI WHERE TCA.K_CATEGORIA_ASSET = CA.E_TCATASS_K_CATEGORIA_*** AND TCA.K_CATEGORIA_ASSET = AI.E_TCATASS_K_CATEGORIA_***) N_CATEGORIA_ASSET, -- DISPLAYED
    CA.D_RIFERIMENTO_CERTIF, -- HIDDEN
    CA.D_RIFERIMENTO_CERTIF D_RIFERIMENTO_CERTIF_DISPLAY, -- DISPLAYED
    CA.TIPO_CONFERMA_CERTIF, -- SELECT LIST
    CA.D_INSERIMENTO_CERTIF, -- HIDDEN
    CA.D_FINE_VALIDITA, -- HIDDEN
    CA.E_TMODASS_K_MODELLO_ASSET, -- HIDDEN
    CA.E_PG_SIGLA_K_PARTIZIONE -- HIDDEN
    FROM CERTIFICAZIONE_ASSET CA
    WHERE CA.D_RIFERIMENTO_CERTIF IS NOT NULL
    AND CA.TIPO_CONFERMA_CERTIF IS NULL
    AND CA.D_FINE_VALIDITA IS NULL
    AND E_UNI_OPER_K_UNITA_OPER_*** = :G_UO
    Note that you can not have a tabular form over multiple tables (if you had to do that, you should use a SQL view plus an INSTEAD OF trigger) - but, as you are only displaying data from the joined tables, you can use inline SELECT statements to retrieve the related data. All other columns should be either editable by the user or hidden - any hidden columns can also have a displayed version as well, so any DISPLAYED items above also have a HIDDEN instance as well.
    Andy

  • How to fix error in mru internal routine: ORA-20001?

    Hi,
    I created a tabular form to manage resources.
    But I'm not able to add new resource.
    There is a sequence as below.
    CREATE SEQUENCE "PM_PERSON_SEQ" MINVALUE 1 MAXVALUE 999999999999999999999999999 INCREMENT BY 1 START WITH 21 CACHE 20 NOORDER NOCYCLE /
    There is a trigger as below.
    create or replace trigger "BI_PM_PERSON"
    before insert on "PM_PERSON"
    for each row
    begin
    if :NEW."ID" is null then
    select "PM_PERSON_SEQ".nextval into :NEW."ID" from dual;
    end if;
    end;
    Whenever I try to add new resource with his name and email id, I get an error message as below.
    "Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-00001: unique constraint (SDS.PM_PERSON_PK) violated, insert into "SDS"."PM_PERSON" ( "ID", "NAME", "EMAIL_ID") values ( :b1, :b2, :b3)"
    I made a change as follows:
    Processes: ApplyMRU > Condition Type: Value of Item in Expression 1 Is NOT NULL
    This did not show the error message but did not add new resource.
    How can I solve this problem?
    Thanks,
    Guy
    h5. FYI, I'm very new to SQL, PL/SQL and APEX. Would appreciate little more explanation and full path (eg. Shared Components > Edit Security Attributes > VPD)

    Hi guy,
    You seems to have everything set.
    Have you checked whether there's an overlap between the current data in the table and PM_PERSON_SEQ next value?
    Cheers,

Maybe you are looking for

  • Oracle 8.1.5 to Oracle 9i

    Can I transfer my "demo/demo" schema from 8.1.5 to 9i which is on a CD?, I've managed to transfer my "Scott/tiger" schema which was on floppy disk

  • How to create a grid

    Hi Friends, How to create a Grid, not a form or table. I want a grid to hold about 10 fields. so :- f1 v1 f2 v2 f1 v1 f2 v2 f--fields v--values I can get it using simple form ,but it doesnot look like a grid. I need the look and feel of a grid. Thank

  • Error when trying to upgrade to iOS6 ipod touch

    It is my daughters iPod touch that i am having an issue with. Each time I try to upgrade to version 6.0.1 via itunes I get the error: There was a problem downloading the software for the iPod "Daughters iPod". The service is temporarily unavailable.

  • IMac Refusing to Sleep

    I'm not sure why, but my Mac seems to be having 'sleeping' troubles lately. I have set my display to turn off after 1 minute of inactivity, and for the Mac to sleep after 15 mins. But the vast majority of the time, my display does not even turn off.

  • Crystal Report - Linking tables

    Hi all, I had a look around for this subject matter but cannot find anything to answer my question.  If you know where I can find the answer, please let me know. I have 2 tables on Crystal Report and am trying to link the Primary table to the seconda