Not a tabular form, but getting row version identifier error.

APEX 4.1.0, Oracle 10g
Error is: Current version of data in database has changed since user initiated update process. current row version identifier = "47FAF7A2C1A5E49E0CF90D1320CCFC50" application row version identifier = "0"
I've seen this error in the forums for tabular forms, but my form is just a normal apex page with a standard fetch and a standard insert/update/delete process. It isn't a tabular form or a master/detail, just a simple form. There is not another person using the data. This happens on an update or delete and on several different pages for several different tables!
I've tried using debug, and from debug, I see that the error comes right after this:
...Execute Statement: begin begin select "NARR_ID","TEXT","PRJ_PROJ_ID","NARR_TYPE_PROJ"
into wwv_flow.g_column_values(1),wwv_flow.g_column_values(2),wwv_flow.g_column_values(3),wwv_flow.g_column_values(4)
from "BASIS"."NARRATIVES" where "NARR_ID" = :p_rowid for update ; end; end;
I more or less understand what the error is intended for. APEX produces a checksum of the table row values at some earlier point (maybe at the fetch?) and then produces another checksum of the table row values just before the update or delete. APEX then compares the two checksums.
Based on the error message, one of the checksums is "0". I'm not sure if the "application row version identifier" is the first checksum or the second checksum, but either way it shouldn't be zero. Right? So, why would this checksum be zero?
Edited by: JackieW on Apr 29, 2013 8:42 AM

I upgraded to JDev 3.2 and rewrote my code to extend the new
version of EditCurrentRecord. Now when I deploy to 9ias I get a new error:
Error Message: java.lang.NullPointerException: I'm following the online help
to deploy but I must be missing something cause it works in JDev. Any
suggestions?

Similar Messages

  • Tabular form calculated summary row

    Hopefully this may be a quick question with either a yes or a no
    I have a tabular form with columns
    Project Name , Wk1 , Wk2 , Wk3 etc ,
    basically so PM's can track the hours against a project
    I have used the sum checkboxes to create a summary row
    but they also want a row that calculates how many hours remaining for each week under the week no cols , obviously subtracted ffrom the hours budget for each week assigned to the project and person
    I've done the summary and calculation in a view but this isn't acceptable as a UNION query in a tabular form
    I've also tried another region under the Tabular form but as the project name is a variable length its not easy keeping the Wk cols aligned
    thanks in advance
    Chris

    Hi Gus/Paul,
    I had the same requirements as you, resulting from the fact that newly added rows may not be visible to the user until he/she has scrolled down sufficiently, but, by lowering my standards (something I excel at :D ), I was able to find an acceptable compromise.
    As you probably noticed yourselves, when you "edit" the ADD button, you can see that a call is made to the addRow() javascript function. I therefore took a look at the javascript code - foolish really as I am an oracle DBA from the Jurassic period. Needless to say it scared the pants off me... So, fuelled by cowardice, I snatched at an inferior-but-dead-easy-to-implement alternative solution whereby the page is automatically "scrolled" to the bottom of the form when the "ADD" button is clicked.
    Should this "cop out" work for you, you can implement it in the following way:
    1. Create a new HTML region immediately after the tabular form, containing the following source: <font color="blue">&lt;a name="bottom_of_page"&gt;&lt;/a&gt;</font>
    2. Amend the action when the "ADD" button is clicked to scroll down to the new region by doing the following:
    - edit "ADD" button
    - Go to "Action when button Clicked" section
    - Amend "URL Target" from
    <font color="blue">Javascript:addRow();</font>
    <br>to
    <font color="blue">Javascript:addRow();window.location='#bottom_of_page'</font>
    <br>
    <br>Regards,
    Amr.

  • Custom Popup on a Tabular Form for Multi Row Operation

    I am trying to implement a custom popup on a tabular form that I can pass a value typed in to a text item like “Name” to the popup so it can filter a list of names on what was already typed in.
    Once a selection is made I need to have the selected name passed back to the text item.
    This is easily done when not using a Tabular Form. Any ideas would be great?

    Can someone please help me with this?
    I've read the Thread:
    "Custom Popup on a Tabular Form for Multi Row Operation",
    and have tried following the instructions provided by Willi Firulais.
    I've also tried to integrate the instructions provided by RWeide in response within the same Thread.
    I cannot get the passBack function to Pass the value to the Calling Page.
    (I've tried to organize the pertinent information as it pertains to my application,
    and have included it here below:)
    A. Calling Page (Page# 141)
    1. HTML Header: (Page# 141)
    <script> function callMyPopup(item) { var url;
    url = 'f?p=&APP_ID.:143:&APP_SESSION.::::P143_ITEM:'+ item;
    w = open(url,"winLov","Scrollbars=1,resizable=1,width=800,height=600");
    if (w.opener == null) w.opener = self; w.focus(); }
    </script>
    2. Region Definition: (Orders) - SQL Query (Updateable Report)
    a. Query:
    select
    'f01_'||to_char(rownum ,'FM0999') ITEM,
    "ID",
    "ID" ID_DISPLAY,
    "ID_PROJECT",
    "ID_SUPPLIER",
    "DESCRIPTION",
    "JOB_NO",
    "QUANTITY",
    "UNIT_PRICE",
    "EXTENDED_PRICE",
    "MANUFACTURER",
    "SUPPLIER",
    "PART_NO",
    "GROUP_LIST",
    "BILLED_PRICE",
    "DATE_NEEDED",
    "DATE_DELIVERED",
    "SUPPLIER_TYPE",
    rownum
    from "#OWNER#"."OAX_MAT_ORDER_ITEMS07"
    where job_no = :P141_JOB_NO
    3. Report Attributes: (ITEM) - URL
    javascript:callMyPopup('#ITEM#');
    B. PopUp Page (Page# 143)
    1. HTML Header: (Page# 143)
    <script language="JavaScript"> function passBack(passItem1, passVal1)
    { opener.document.forms["wwv_flow"].SUPPLIER[&P143_ITEM.].value = passVal1;
    close(); }
    </script>
    2. ITEMS:
    P143_ITEM
    3. Region Definition: (Suppliers) - SQL Query(Structured Query)
    OAX_SUPPLIERS.ID
    OAX_SUPPLIERS.NAME
    4. Report Attributes: (NAME) - URL
    javascript:passBack('&P143_ITEM.','#NAME#');
    Thank you in advance for you help!

  • Adobe Reader XI did not save the form data (unlike previous versions). Any way to recover file?

    Adobe Reader XI did not save the form data (unlike previous versions). Any way to recover filled form with data from temp locations?
    I was not aware that ctrl+s no longer works in reader and closed the PDF after savign it(with ctrl+s). However ,the data is lost and there seems to be no way to recover it.
    I cannot find any temp files created by Reader on my system.
    Also to my surprize(and shock), the reader did not even show a warning before closing the PDF. Does anybody know if/where can I recover the file from?
    Guys, Please reply ASAP if you have got any sort of solution!

    Hi Pat,
    Are you using Adobe Reader XI? And not Acrobat. It does not ask me to save the form if there are unsaved changes.
    I have used previous versions of reader for saving this form data and it did allow me to save it with ctrl+s. And those versions did prompt me to save the changes before closing.
    I guess I should not have updated the reader.

  • Trying to install Photoshop CC but get following message, download error. press retry to try again or contact customer support.(49)

    Trying to install Photoshop CC but get following message, download error. press retry to try again or contact customer support.(49)

    disable running antivirus/firewall programs.

  • Custom tabular form for multi-row not saving data

    Ok, before anyone asks, yes, I did read the how-to:-)
    I have a custom tabular form, which I did cause I need to use popups and the popups that you can use in the wizard tabular form does not display the text but rather the value underneath it.
    It returns data rather nicely and when I go and update values I can tell it is changing the fields underneath. I put a process in that will display the values in text fields on the form (for one row only) and I see them changing from what is already there and with the proper values.
    However, when I do that the data that is displayed then gets reverted back to what it was previous to the update but reports that the process was successful.
    I have also tried to insert but that is basically doing the same thing. Can anyone guide me.
    SQL to generate the tablular form...
    SELECT x.sak_release_db
    , x.sak_object
    , x.sak_release
    , x.sak_participant
    , x.sak_csr
    FROM
    (SELECT htmldb_item.hidden(1,sak_release_db) sak_release_db
    , htmldb_item.popupkey_from_query(2, sak_object,
    'SELECT b.nam_schema||''.''||a.nam_technical as table_name , b.sak_object
    FROM system_object a
    , database_table b
    WHERE a.sak_object = b.sak_object') as sak_object
    , htmldb_item.hidden(4,sak_release) sak_release
    , htmldb_item.popupkey_from_query(5, sak_participant,
    'SELECT nam_first || '' '' || nam_last as name, sak_participant FROM co_participant') sak_participant
    , htmldb_item.popupkey_from_query(7, sak_csr,
    'SELECT external_id|| ''-''||id_split as co, sak_csr FROM co') sak_csr
    FROM release_db_xref
    UNION ALL
    SELECT htmldb_item.hidden(1,NULL) sak_release_db
    , htmldb_item.popupkey_from_query(2, NULL,
    'SELECT b.nam_schema||''.''||a.nam_technical as table_name , b.sak_object
    FROM system_object a
    , database_table b
    WHERE a.sak_object = b.sak_object') as sak_object
    , htmldb_item.hidden(4,NULL) sak_release
    , htmldb_item.popupkey_from_query(5, NULL,
    'SELECT nam_first || '' '' || nam_last as name, sak_participant FROM co_participant') sak_participant
    , htmldb_item.popupkey_from_query(7, NULL,
    'SELECT external_id|| ''-''||id_split as co, sak_csr FROM co') sak_csr
    FROM dual) x
    Process to verify that I have the correct global fields: (Type: PL/SQL anonymous block, Process Point: On Submit - After Computations and Validations)
    begin
    :P3_2 := replace(htmldb_application.g_f02(1),'%'||'null%',NULL);
    :P3_5 := replace(htmldb_application.g_f05(1),'%'||'null%',NULL);
    :P3_7 := replace(htmldb_application.g_f07(1),'%'||'null%',NULL);
    end;
    Process to do the insert/update. Note, I hardcoded the value in the where clause but I was originally using the global value for g_f01 (i also tried putting a commit in there for fun) (Type: PL/SQL anonymous block, Process Point: On Submit - After Computations and Validations):
    -- Update the RELEASE_DB_XREF table
    FOR i IN 1..htmldb_application.g_f01.count
    LOOP
    IF htmldb_application.g_f01(i) IS NOT NULL THEN
    UPDATE release_db_xref
    SET sak_object = replace(htmldb_application.g_f02(i),'%'||'null%',NULL)
    , sak_participant = replace(htmldb_application.g_f05(i),'%'||'null%',NULL)
    , sak_csr = replace(htmldb_application.g_f07(i),'%'||'null%',NULL)
    WHERE sak_release_db = 22;
    ELSE
    IF htmldb_application.g_f02(i) IS NOT NULL THEN
    INSERT INTO release_db_xref
    (sak_object
    ,sak_release
    ,sak_participant
    ,sak_csr)
    VALUES
    (replace(htmldb_application.g_f02(i),'%'||'null%',NULL)
    ,htmldb_application.g_f04(i)
    ,replace(htmldb_application.g_f05(i),'%'||'null%',NULL)
    ,replace(htmldb_application.g_f07(i),'%'||'null%',NULL));
    END IF;
    END IF;
    END LOOP;

    Florian,
    Checkboxes are different from other HTML form items. When you have a text box for example, there's always a value send to the server when submitting. Even if that value is NULL. When you have a checkbox however, you only get the value if the checkbox is checked. It's not posted to the server when it is not checked. That's the general behavior of HTML forms and not specific to Oracle HTML DB.
    When working with tabular forms in HTML DB, you can access your form values using the htmldb_application.g_f0x arrays. Now if you have for example 10 rows in your form, then you'll get ten elements in your array for text boxes, select lists, etc. For checkboxes however you'll only get as many elements as you have rows checked. If I read your update and insert code correctly, you're trying to use the checkbox arrays the same way you use the arrays based on other item types. My recommendation would be to use Yes/No select lists instead of checkboxes or at least use select lists initially to get it working and then work on properly processing the checkboxes.
    Some general information about working with checkboxes in tabuar forms can be found here:
    http://www.oracle.com/technology/products/database/htmldb/howtos/checkbox.html#CHECKBOX_IN_REPORT
    Hope this helps,
    Marc

  • Tabular form - adding new row

    Hi,
    I have a very simple table (5 rows, 1 of which is the primary key), and want to update the table using a tabular form. On initial display, the primary key column is protected (cannot be changed) which is ok for DELETE and UPDATE options, but when I come to ADD A NEW ROW, the new row has NULL defaulted as the primary key value, and will not let me update it !!
    Does anyone know how I can leave the primary key column protected when UPDATING or DELETING, but allow a value to be entered when ADDING A NEW ROW ?
    thanks
    Tim

    Andy,
    Just made the following changes (to remove NARR1_CODE_DISPLAY and show and edit NARR1_CODE):
    select
    "NARR1_CODE",
    --"NARR1_CODE" NARR1_CODE_DISPLAY,
    "NARR1_LOWER_LIMIT",
    "NARR1_UPPER_LIMIT",
    "NARR1_RMP_MIDPOINT_1",
    "NARR1_RMP_MIDPOINT_2"
    from "#OWNER#"."DQ_PD_TRANS_DIST_BAND_NARR1"
    where the column NARR1_CODE is my primary id, and in the report attributes, NARR1_CODE is now editable and shown as a "text field" . NARR1_CODE_DISPLAY has been removed.
    However, when I go into my form screen, although the NARR1_CODE field is now editable, when I click ADD NEW ROW, enter the details for a new row, check the box alongside the new row and click SUBMIT, I get the following error 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 = "A884FA378C851786DDFE3A33709CB23C", item checksum = "F6395FDACE39D98E784F85C19D960620"., update "GRD_DD10_OWNER"."DQ_PD_TRANS_DIST_BAND_NARR1" set "NARR1_CODE" = :b1, "NARR1_LOWER_LIMIT" = :b2, "NARR1_UPPER_LIMIT" = :b3, "NARR1_RMP_MIDPOINT_1" = :b4, "NARR1_RMP_MIDPOINT_2" = :b5
    sorry about this !
    thanks

  • Tabular forms, referencing current row and using checkboxes

    I've searched through the whole forum and read over 50 threads on referencing other columns in a tabular form only to find this impossible. Many of these threads were outdated so I would like to ask it again.
    Can I use references between columns of tabular forms? So that value of one column equals the other's. (select a, b from c where d=othercolumn)
    How can I get a workaround for lack of checkboxes in dynamically created tabular forms? (Standard tabular forms come with checkboxes for deleting multiple rows, can they be used in the same way but without writing manual reports?)
    Please do not send me to
    http://htmldb.oracle.com/pls/otn/f?p=18326:54:17962256093711784584::::P54_ID:1282
    I am looking for strictly dynamic, apex-like solution. Thanks in advance.

    That supposed to be a query for LOV, should have mentioned that probably. By dynamically created tabular form I mean the wizard-created form which transforms query results into a form on the fly. I consider the HTMLDB_ITEM-style the manual way. After all, I'll probably stick to the manual method because I am creating this form on a view with INSTEAD OF triggers so the processing still needs to be done separately.
    The question I asked referred to the internals of tabular forms' processing, behind the screen wizards there has to be some loop based on the query, I just wanted to reference other columns on the current iteration. (wwv.g_f01(0) ?...)

  • How to make a Tabular Form display NO rows until queried

    I have a Tabular Form designed to displays rows according to user selections made in Page Items.
    The Page for this Tabular Form is accessible from 2 origins.
    1. Passes values into the Page Items. (I want all rows to display according to the values passed in)
    2. A tab (Not the Standard Tab Set which allows selection of a values to pass to the page)
    I can accomplish number (1) above,
    But
    Number (2) is the problem.
    In the case of number (2) I don't want any rows displayed until the user selects the "Search" button.
    Can someone help?

    Hi,
    You can make the report region conditional.
    Display the region when
    1) Seach box is not empty
    or
    2) Request = XYZ
    when uses passes the value to page item , make sure it also passes REQUEST as XYZ..
    Regards,
    Shijesh

  • Not a nested form, but a form within a form??

    Hello, all.
    I've been given a task to add a file upload form to a page whereby all of the contents of the page are already contained within a form.  I know that it is not possible to nest form tags; however, would it be possible to place an iFrame within the form that contained another form, without being considered nested, and without screwing up the original form?
    Or would it be better to just place the iFrame in a div outside the form, and keep it hidden until called upon?
    I suppose that I _could_ just use a JavaScript popup to use another form; but if I can avoid that AND get this to work, that would be preferred.
    Thoughts?
    Thanks,
    ^_^

    Yes, you can place a separate form within an iframe. However, as Ian points out, the problem you'll have is a UX problem - how will you synchronize the submission of data between the two forms? I'm sure you can get where you want to get, but you'll definitely need to spend a bit more time testing this part.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/
    Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
    GSA Schedule, and provides the highest caliber vendor-authorized
    instruction at our training centers, online, or onsite.
    Read this before you post:
    http://forums.adobe.com/thread/607238

  • Uploaded explicit version of song into Cloud but get clean version out of Cloud

    My iTunes library was originally on a Windows 7 machine; I signed up for iTunes Match and uploaded my library to the Cloud.  Recently I bought a Mac and also authorized that for iTunes Match.  I downloaded my library to the Mac, but to my alarm I found that a number of my songs that had formerly been the explicit versions (I don't buy radio edit albums) had been mysteriously replaced with radio edit versions.  I tried deleting the local versions and re-downloading from the Cloud, but I get the edited versions again.  No idea how this could happen-- the iTunes store does appear to sell the explicit versions of the songs, and it's not like I accidentally bought the edited versions-- these were songs I already owned in the explicit version!
    Has anyone else ever seen this happen?  Do you know of any way to fix it, short of writing to iTunes support directly? 

    same thing is happening to me, I can't figure it out.

  • Trying to sync my macs but getting this... error connecting to the server

    trying to sync my macs but get this .....error connecting to the server,check server name or ip address ?????

    Same problem . . . any resolutions out there?

  • My PDFs with form fields get "There was an error opening this document. The file is damaged and could not be repaired." on anothers computer, PC and MAC

    Im creating PDFs through InDesign and using Acrobat Pro 9 to add fields.  I save them to allow ADobe Reader people to use them.  Everything works fine on Pro and Reader on my end with a PC as well as someone elses PC.  But one person using Mac said some forms work and some dont.  Those that dont get the error "There was an error opening this document. The file is damaged and could not be repaired."  Ive resaved them and made sure they work and same problem.  There is nothing overly coplex about the PDFs either, a date field at the most.  They are using Reader 9.1.
    I found out the other day that one person who can open them adds info to them saves them and send over to that other person and cannot open any of them after they have been edited, same error.  He even tried on a PC and still gets it.
    I dont know what to do.  I know it has to be on his end and not mine.  What else can I suggest to him??

    It sounds like they are using an earlier version of Acrobat or Reader, though you said Reader 9.1. If you add some features in AA9 that are new, it appears that earlier versions see the new features as damaged files. At least that is my guess. Try using Reduce File Size or PDF Optimize to save to an earlier version and see if that helps. The other option is that you are getting them messed up in e-mail because many client look at PDF files as ascii and do not encrypt them. In that case force the encryption. You can also send them in ZIP form.

  • HT6001 I have tried numerous time to update iTunes to Version 11.1.4.  Each time it has failed. I get the message of "This application has failed to start because MSVCR80.dll was not found".  Also I get a message of "Error 7". Advise please.

    I have tried numerous time to update iTunes to version 11.1.4.  It has failed every time.  Now I can't even get into iTunes on my PC.  The message I get is "This application has failed to start because MSVCR60.dll was not found.  Re-installing the application may fix the problem."  Okay. Which application?  What steps are needed for this process?
    Also, I get this message "iTunes was not installed correctly.  Please reinstall iTunes.  Error 7 (Windows error 126)"  Could someone please assist me in the steps necessary to remedy this issue.  Thanks.

    For many users at this point in time (iTunes 11.1.4.62) uninstalling iTunes alone is not enough and they may need to undertake further steps...
    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • Once more - tabular form / update only rows that have changed

    I know it's been asked before, but I haven't seen an answer I like. :-)
    I have a query that includes a single column the user can update, using APEX_ITEM.TEXT(10, updateable_field, 10, 10)
    I have an additional APEX_ITEM.HIDDEN(21) and APEX_ITEM.HIDDEN(22) that hold the two fields of the composite primary key. In order to track whether my updateable_field had changed, I created APEX_ITEM.HIDDEN(11, updateable_field), which I expected would hold the OLD value of the field. See where I'm going with this? :-)
    I'm attempting to loop through apex_application.g_f21, get the values for F10 (new) and F11 (old) and compare them. If they're different, I'll do the update.
    It works fine if the old value (F11) is empty and I plug in a new value (to F10).
    But if I change a field that had already has a value (in F11) and make it NULL, I notice that F11(i) doesn't exist. In that case, I set the value to NULL, and the compare fails because it thinks the row is unchanged.
    Can someone suggest or point me to an alternate method that works?
    Thanks as always,
    Stew

    Mike,
    Thanks for the suggestion, which is a good one. But I had that one covered.
    I have it working now, and I believe the fix was that I moved the APEX_ITEM.HIDDEN that contained the old value in the query. I'd had it concatenated with the column for the new value (which used APEX_ITEM.ITEM). I changed it to concatenate to a plain string value. And now the array has values in it, which I can properly compare.
    Thanks again. That was really driving me nuts!
    Stew

Maybe you are looking for