Error when modifying tabular form

Hi
In Apex 3, I created a tabular form based on the query below:
select user_id /* PK */, name, dob
from users
It works perfectly well; I am able to update the name and dob fields.
Then I changed the query to:
select user_id /* PK */, name, null dob
from users
...(i.e. not interested in the dob column anymore but want to keep the report column) and cleared the properties reference table owner/name/column name of the dob report column.
However, when I try to update the name of a user, I get 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 = "7C3CD9C5DA0B5AF45AE616959020A0AA",
item checksum = "6910D5C7015D84773A9E8F65299991F6".,
update "SCHEMA"."USERS" set "USER_ID" = :b1, "NAME" = :b2, "DOB" = :b3Why is dob still being included in the update statement?
Did I miss something?
Thanks,
Luis

Since the DOB was one of the columns specified when you created the tabular form, the internal PL/SQL process that it uses for making updates is still trying to update that column. As you have now modified the underlying query for the form and are passing a NULL for your DOB, you will find that any update made using this form would set the DOB to NULL, so beware!
Unfortunately, once you have created a tabular form, you cannot make changes to the process that it uses for manipulating data. Another drawback of the tabular form is that it uses the primary key of the table as a way of knowing which record it is updating when it processes the changes. As a result, you cannot modify the primary key value itself - and that is why you are getting the error.
Generally speaking it is not a good idea to edit primary key values. If this piece of information does require editing, I would suggest you find another candidate for the primary key - perhaps a standard sequence-populated column that could act as a surrogate key?
Cheers,
Colin

Similar Messages

  • Error when creating tabular form with wizard Apex 4.01

    Hi,
    I just created a tabular form using the page creation wizard on a table and am showing 50 rows at a time and am getting error:
    mod_plsql: /pls/apex/wwv_flow.accept HTTP-400 Too many arguments passed in. Got 2225 parameters. Upper limit is 2000
    It doesn't matter how much data I put in --even just a couple rows updated.  I also reduced rows to 20 and still get same message.
    Anyone else seen this error?
    Pat

    Hi Jari,
    It returns about 1100 records which i think is not much.
    But even when i narrow the amount of records the problem is not solved.
    it this a bug?
    Best
    Hugo

  • Page process throwing No data found error when deleting tabular form item

    Hi guys,
    I am trying to run a page process just before the Tabular form's MRU process and it's throwing a no data found error. Here is my code:
    BEGIN
         for i in 1..apex_application.g_f02.count LOOP     
              IF apex_application.g_f01(i) is not null THEN
                   UPDATE STOCK
                        SET PRODUCT_QUANTITY = PRODUCT_QUANTITY+apex_application.g_f08(i)
                   WHERE site_id = :P21_SITE_ID and product_id = apex_application.g_f02(i);
                   COMMIT;
              END IF;
         END LOOP;
    END;Here f01 is the checkbox column and the if-statement is causing the problem because if I get rid of the update statement (leaving just the commit) then it still throws the error.
    When I click on a checkbox and hit delete button which fires off both this process and then MRU I get the no data found error.
    Would be grateful if someone could shed some light on this. Many thanks.
    Edited by: taepodong on Jul 1, 2012 7:54 AM

    Hi,
    >
    I am trying to run a page process just before the Tabular form's MRU process and it's throwing a no data found error. Here is my code:
    BEGIN
         for i in 1..apex_application.g_f02.count LOOP     
              IF apex_application.g_f01(i) is not null THEN
                   UPDATE STOCK
                        SET PRODUCT_QUANTITY = PRODUCT_QUANTITY+apex_application.g_f08(i)
                   WHERE site_id = :P21_SITE_ID and product_id = apex_application.g_f02(i);
                   COMMIT;
              END IF;
         END LOOP;
    END;Here f01 is the checkbox column and the if-statement is causing the problem because if I get rid of the update statement (leaving just the commit) then it still throws the error.
    When I click on a checkbox and hit delete button which fires off both this process and then MRU I get the no data found error.
    >
    You are iterating on the f02 and checking for f01 not null. That is wrong usage of the the checkbox item. Please see these links . especially the OnSubmit Process examples.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_item.htm#CHDDCHAF
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_app.htm#AEAPI215
    Regards,
    PS : This is what you need to understand
    >
    <b>Note that check boxes displayed using APEX_ITEM.CHECKBOX will only contain values in the APEX_APPLICATION arrays for those rows which are checked. Unlike other items (TEXT, TEXTAREA, and DATE_POPUP) which can contain an entry in the corresponding APEX_APPLICATION array for every row submitted, a check box will only have an entry in the APEX_APPLICATION array if it is selected.</b>
    >
    Edited by: Prabodh on Jul 2, 2012 9:44 AM

  • ORA-20001 error when creating Tabular Form or Form and Report

    Whenever I try and add a Tabular Form or Form and Report to my application i am getting the following error at the end of the Wizard.
    ORA-20001: Unable to create updateable report. ORA-20001: Error creating shortcut id="" ORA-00001: unique constraint (APEX_030200.WWV_FLOW_SHORTCUT_IDX1) violatedIt's not a problem I have seen when building other apps and clearly I have managed to corrupt this application somehow.
    I have loaded the problem onto apex.oracle.com for those that have access. The application number is 20325.
    Any help would be very much appreciated.
    Cheers Shunt

    Thanks! Never thought of that.
    --Andy                                                                                                                                                                                                                       

  • "Page cannot be found" error when submitting tabular form

    One of our developers has used a wizard to create a tabular form with the intent or providing an interface for updating one of our tables. The page runs correctly up until the point when the user clicks the Submit button. The user is then re-directed to a "page cannot be found" error page. I checked the apache error log and I'm seeing this error (ip addresses hidden):
    [Wed Oct 13 06:37:59 2004] [error] [client x.xxx.xxx.xxx] [ecid: 1097674679:x.xx.xxx.xx:7286:0:23738,0] mod_plsql: /pls/htmldb/wwv_flow.accept HTTP-400 Too many arguments passed in. Got 2009 parameters. Upper limit is 2000
    We have pages in other applications that were built the same way, and can't figure out why we are seeing these errors.
    Any ideas?
    Thanks.
    Matt

    Sorry I didn't want to take the time to import the application, create the data structure and populate it, when the page is now working. However it seems like you should be able to easily re-create the situation. All I did was go through the wizard for a tabular form. It was based on a view and displayed all the columns, most of them updatable. It seems like what makes it fail (error when either CANCEL or SUBMIT is clicked) is just having a lot of fields on one screen. I base this conclusion on the error message from the Apache error log (mod_plsql: /pls/htmldb/wwv_flow.accept HTTP-400 Too many arguments passed in. Got 2134 parameters. Upper limit is 2000) and on the fix of reducing the number of rows on one screen, using pagination.

  • Error in my tabular form

    Hello
    I'm getting an error on my tabular form, it is layed out as so:
      [ ]  Title      Lastname   Firstname   Company   Email
    [ ]  Mr/Ms/Mrs  [       ]  [        ]  [      ]  [        ]-first column is a checkbox
    -'title' is a select list default value "Mr"
    -the rest are normal text boxes
    -Validation:Lastname cannot be null
    -validation Firstname cannot be null
    Now the error occurs in only 1 situation:When you click the 'add row' button, but don't edit any boxes before you click 'save'.
    If you do that you get an error saying cannot enter NULL into LASTNAME (which is because the database its going into doesn't allow a null value for that column)
    If you change anything the validations stop you from advancing if lastname or firstname is null...so why don't the validations kick in until you change something? and why does the MRU process not ignore the empty row like the validations seem to?
    It seems strange that they don't both act the same towards it...
    My assumption is that it has something to do with the select list having a default value because I have several other tabular forms in my app and another has 4 select lists and it has the same error, but the ones that don't have a select list have no error...
    So yeh any help/thoughts appreciated

    Sorted this out a while ago...figured I'd just update:
    The value the select lists were showing by default, wasn't actually a default value as such. I had set it to 'do not show null value' so of course it had to show something, which was just the first value in the list which doesn't really count as a default value. So all I did was set the default value of the list to the value that was displayed automatically.

  • Problems publishing a web-access on Sharepoint: Error when modifying list schemes

    Good afternoon.
    I have an application built with an access database with several forms and web macros which is published on Sharepoint 2010. Through this application - not too big not too complex (ca. 10 tables / less than 2000 records at most) - I receive updates
    that are loaded into external applications, mainly excel worksheets, ms project files and so on.
    I have been going through the cycle of developing and publishing new versions of the application on the same site for more than a year; suddenly, from severeal weeks ago on, I started receiving the following error affecting random tables (not always the
    same) which crashes the compilation and publishing:
    "Error when modifying lists schemes. Changing name to "ID" field on list XXXX failed"
    And each time the list is different. And of course I am no trying at all to change the name of any ID field !????
    Any clue of what might be happening?
    Thank you

    The article might have missed the step where the blogger might have missed the step. Read the following article and which confirms that you cannot use user controls in SB solutions.
    http://msdn.microsoft.com/en-us/library/gg615454.aspx
    If you are trying to build this in SharePoint 2013 then you must know that custom code is deprecated from SB solutions.
    Deprecation
    of Custom Code in Sandboxed Solutions
    For SP 2013 your best bet is to create an APP or create a farm solution (God please forgive me). :)
    Amit

  • Error when starting Adobe Form

    I have an Adobe Form which works Ok in the development SAP Portal, but that, when I log in the production portal gives the following error:
    Error when reinitializing the form (I guess, it's Error al reinicializar el formulario, in Spanish)
    I think maybe there is something missing to transport, or some misconfiguration, but I haven't been able so far to find it...
    Can someone give me a hand?
    Thank you in advance,
    S.

    Hi,
    Can you tell me when does the error message comes? Does it comes when you are trying to open the Form or when you are trying to execute it.
    Please check if it is still working in the development box?
    Regards,
    Susanta

  • Error When Opening Any Form

    Hi All.,
    Im facing some issue while opening any form..its stuck in below mention file while opening any form i tried all the ways still im not able to fix the issue.
    Application:11.5.10.2
    OS-----------HP-UX
    DB-----------10.2.0.4.0
    File Name:
    oracle/forms/ui/FLWTextArea
    Work Around
    Relink the all the files
    Regenerated the jar files
    Regenerated the forms
    f60gen help=y
    Forms 6.0 (Form Compiler) Version 6.0.8.28.0 (Production)
    Forms 6.0 (Form Compiler): Release - Production
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    PL/SQL Version 8.0.6.3.0 (Production)
    Oracle Procedure Builder V6.0.8.21.0 Build #0 - Production
    Oracle Virtual Graphics System Version 6.0.5.39.0 (Production)
    Oracle Multimedia Version 6.0.8.25.0 (Production)
    Oracle Tools Integration Version 6.0.8.17.0 (Production)
    Oracle Tools Common Area Version 6.0.5.32.0
    Oracle CORE Version 4.0.6.0.0 - Production
    Metalink Doc id
    java.lang.NoClassDefFoundError: oracle/forms/ui/FLWTextArea Error When Opening Any Form [ID 1219663.1]

    Thanks,
    From the below doc id we are currently in patch set 19 but im not able see that in ad_bugs.,
    Note: 232313.1 - Information on Previous Versions of Developer 6i Patchsets
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=232313.1
    Here is an example:
    If you have Forms: 6.0.8.27.x --> You are on Developer 6i Patch 18
    If you have Forms: 6.0.8.26.x --> You are on Developer 6i Patch 17
    If you have Forms: 6.0.8.25.x --> You are on Developer 6i Patch 16
    If you have Forms: 6.0.8.24.x --> You are on Developer 6i Patch 15
    SQL> select bug_number from ad_bugs where bug_number='&BUG_NUMBER';
    Enter value for bug_number: 9935935
    old 1: select bug_number from ad_bugs where bug_number='&BUG_NUMBER'
    new 1: select bug_number from ad_bugs where bug_number='9935935'
    no rows selected
    SQL>

  • Error when displaying xellerate form

    Hello,
    I have the following error when displaying the form of any xellerate users :
    ERROR,03 May 2011 10:40:56,273,[XELLERATE.APIS],Class/Method: tcFormDefinitionOperationsBean/getFormFieldPropertyValue encounter some problems: Property 'Column Names' has not defined for the form field '-19'
    All is working fine, just this error that is diplayed each time I want to display a user form. In my formMetadata.xml, I have the following definition for the field -19, it is the manager :
    <Attribute name="-19" label="global.label.managerid" displayComponentType="LookupField" variantType="long" dataLength="50" map="Users.Manager Login">
    <ValidValues lookupColumnNames="User ID,Last Name,First Name" lookupQuery="SELECT usr.usr_key,usr.usr_last_name,usr.usr_first_name,usr.usr_login FROM usr, ugp, usg WHERE ugp.ugp_name = 'PROF_MANAGER' AND ugp.ugp_key = usg.ugp_key AND usr.usr_key = usg.usr_key AND usr.usr_status = 'Active' AND usr.usr_emp_type = 'Employee'" displayColumns="Users.User ID,Users.Last Name,Users.First Name" selectionColumn="Users.User ID"/>
    </Attribute>
    What is the problem with my attribute definition ?
    Thanks for your help,
    Kind regards,
    mdadikn

    Hello,
    I'm new to OIM. I am a new hire to a group that had a contractor setup the whole system. I'm finding a similar issue on our system here. I've looked through the database and cannot seem to find the issue. Error happens when from the webapp clicking on "Create IT Resource".
    From the Error Log:
    Class/Method: tcFormDefinitionOperationsBean/getFormFieldPropertyValue encounter some problems: Property 'Column Names' has not defined for the form field '-82'
    Line with issue from FormMetaData.xml:
         <Attribute name="-82" label="global.label.itresourcetype" displayComponentType="LookupField" variantType="String" dataLength="255" map="IT Resources Type Definition.Server Type" useInRule="true">
              <ValidValues lookupQuery="select svd_svr_type from svd" selectionColumn="svd_svr_type"/>
    </Attribute>
    Please let me know any additional information/questions. From what I can tell everything should be correct. Sorry again if the answer is obvious, I'm only 3 days into OIM.
    Thank you,
    Ryan

  • Adobe Reader error when downloading a Form (IMM5257E - required for CIC - Canadá)

    I received an error when downloading a file viwh the Adobe Reader version 11.0.07.
    A message like this appear:
    To view the full contents of this document, you need a later version of the PDF viewer.

    Pat Willener!
    GREAT THANKS! GREAT THANKS! GREAT THANKS!
    I was using Google Chrome, and did not suspect that this could be the
    problem.
    I used I.E. and the download worked. So that's it.
    Great thanks again.
    Vilson Drehmer
    Rua Balduíno Pedro Vier, 693
    CEP 95.880-000 - Estrela - RS
    Fone: (51) 8401.2253
    E-mail: [email protected] <[email protected]>
    CRA-RS 6364
    2014-05-28 5:26 GMT-03:00 Pat Willener <[email protected]>:
        Adobe Reader error when downloading a Form (IMM5257E - required for
    CIC - Canadá)  created by Pat Willener<https://forums.adobe.com/people/pwillener>in *Adobe
    Reader* - View the full discussion<https://forums.adobe.com/message/6414530#6414530>

  • Error when creating the form in Salary Statement of ESS

    Dear All,
    We are implementing ESS and MSS,
    when i try to select ESS>Benfits and Payment>Salary statement, it shows the error as <b>com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Error when creating the form</b>.
    We have configured ADS in our ERP system as per the ADS config guide.
    Landscape is, NW04s ,ECC5.0 integration, corresponding ESS and MSS versions.
    <u><i>Complete Error is:</i></u><b>com.sap.pcuigp.xssfpm.java.FPMRuntimeException: Error when creating the form
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:111)
         at com.sap.pcuigp.xssfpm.java.MessageManager.raiseException(MessageManager.java:121)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.reportBapiRet2Error(FcRepFramework.java:495)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcGetForm(FcRepFramework.java:366)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.processFollowingActions(FcRepFramework.java:454)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.callRfcExecAction(FcRepFramework.java:350)
         at com.sap.xss.hr.rep.fcrfw.FcRepFramework.initModel(FcRepFramework.java:264)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFramework.initModel(InternalFcRepFramework.java:243)
         at com.sap.xss.hr.rep.fcrfw.FcRepFrameworkInterface.initModel(FcRepFrameworkInterface.java:136)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface.initModel(InternalFcRepFrameworkInterface.java:196)
         at com.sap.xss.hr.rep.fcrfw.wdp.InternalFcRepFrameworkInterface$External.initModel(InternalFcRepFrameworkInterface.java:256)
         at com.sap.xss.hr.rem2.selection.VcRem2Selection.onInit(VcRem2Selection.java:217)
         at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2Selection.onInit(InternalVcRem2Selection.java:238)
         at com.sap.xss.hr.rem2.selection.VcRem2SelectionInterface.onInit(VcRem2SelectionInterface.java:161)
         at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2SelectionInterface.onInit(InternalVcRem2SelectionInterface.java:144)
         at com.sap.xss.hr.rem2.selection.wdp.InternalVcRem2SelectionInterface$External.onInit(InternalVcRem2SelectionInterface.java:220)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:466)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:354)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:179)
         at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)</b>
    your input will be appreciated,
    please do the needful.
    Regards,
    Sireesha.

    hi Sandip
    I clear the temporary files, but the error persist.
    I think so,  my error is because otherwise customizing the salary statement is seen in ERP (Back-End) but I can not see through the sap portal (Error: Salary Statement http://img153.imageshack.us/img153/3007/payroll2.jpg)
    thanks for your post and helps,
    Ivan

  • "Error When Creating the form" in "Salary Statement"-Benefits and Payments

    hi
    When I enter the option "Salary Statement" (in "Benefits and Payment")  shows me the error "Error When Creating the form"
    http://img571.imageshack.us/img571/9986/payroll1.jpg (in "Salary Statement")
    http://img153.imageshack.us/img153/3007/payroll2.jpg  (My Error -  "Error When Creating the form")
    but, my sap system has Payroll customized, check it entered this tcode RPCEDTE0 I also put the appropriate values to obtain a good result.
    http://img716.imageshack.us/img716/2544/payroll5.jpg (screen RPCEDTE0)
    http://img541.imageshack.us/img541/1593/payroll6.jpg (result RPCEDTE0, Remuneration Statement correctly)
    What I must customize addition to Payroll(back-end) to run this option of "Salary Statement"?
    I hope for posts and helps,
    Ivan

    hi Sandip
    I clear the temporary files, but the error persist.
    I think so,  my error is because otherwise customizing the salary statement is seen in ERP (Back-End) but I can not see through the sap portal (Error: Salary Statement http://img153.imageshack.us/img153/3007/payroll2.jpg)
    thanks for your post and helps,
    Ivan

  • Error"There was an internal error when submitting the form" URM Disposition

    Hello
    I get the following error - "*There was an internal error when submitting the form*" - when i allocate a Retention Disposition to a Retention Category.
    Any Ideas how this can be solved?
    Thank you

    Not based on the minimal information provided.
    Error messages in 11g, from a UI standpoint, are severely deficient. How about looking in the content server logs and posting some more information?

  • Modify Tabular Form---wizard

    Hi all,
    Is there any chance to modify tabular form which created through wizard?
    I want to add check box and radio button into it.
    Thanks in Advance.
    Regards,
    Digisha

    Hi
    Can u pls refer this link might be useful
    how to add radio button in tabular form.
    regards
    srikkanth.M

Maybe you are looking for

  • PAYABLES NOT GETTING THE REPORT OUTPUT IN PDF AFTER APPLYING RUP5 R12

    Hi All, RDBMS:10.2.0.3.0 Oracle Apps :12.0.4 OS:AIX 5.3 Problem Description: We are presently facing an issue in Payables not getting the report output in PDF esp for the reports "Invoice Register", Invoice Hold Report and also other reports. We were

  • Account determination incorrect in purchase order due to assignment categor

    Hi, Depending on the account assignment category entered (K or blank), the system use one or another account. When entering a purchase order for raw material, I would like the system to deliver an error message when I enter "K" in the account assignm

  • SQL Query to fetch a specific field in xml

    Hi, Below is my sample Xml file. <?xml version = "1.0" encoding = "UTF-8"?> <methodCall xmlns = "http://www.tibco.com/schemas/CS4_new1/Schema.xsd" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation = "http://www.tibco.com/sche

  • Cin excise duty entry

    hi, need the advice. please help. 1) for manufacturing, when purchase, the input tax will debit cenvat account, say 100inr. when sales, output tax will credit cenvat account, say (120)inr. may i know if 100inr is excise duty paid and 20inr (120-100)

  • ABC indicator transfer to sub equipments

    Hello, We use Superior and Sub equipments and we have different ABC indicators for both. However when I change ABC indicator for superior equipment, same gets transferred to sub equipments Is there a way I can stop this....I do not want data transfer