Another user changed quantity of batch

Hi all
I wrote an importer tool who creates delivery notes (based on orders). It also adds batch numbers.
Anyone knows an error message like this: "Delivery note could not be created: [OIBT], "An other user has changed the quantity of batch ... in Warehouse... in line 1" (SAP error code -10)
A customer reported the error, so i do not see it on my machine (i am only connected with manager/manager). Had anyone a similar problem? Are there any workarounds?
Thanks & Regards,
Martin

Martin,
First I would verify that no other user in the system is trying to update batch numbers at the same time as your import is happening.  You may also want to look at this post and verify that you are not leaving any connections open.  Also what version and patch level of Business One are you using?
Another User Modified Table RDR1(-2039)
Hope this helps,
Eddy

Similar Messages

  • ER. about RowInconsistentException: JBO-25014:Another user Changed the Row

    there is a default value in a columns.
    is couses RowInconsistentException: JBO-25014:Another user Changed the Row when we insert then uptede a record.
    if ADF entity object wizard can take default value from database columns (as default) this error can be prevented before occurring.

    ali,
    Agree that this would be a nice feature.
    To work around the problem (JBO-25014) - does it go away if you set the property of that attribute to refresh after insert?
    Best,
    John

  • Another user changed the primary key

    am using jdev 11.1.1.5.0-adfbc
    after each and every insert while saving the record
    error throws like this >>>Another user changed the primary key
    what should i do to avoid this?
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BC4JConfig version="11.1" xmlns="http://xmlns.oracle.com/bc4j/configuration">
       <AppModuleConfigBag ApplicationName="com.rits.glm.model.servicesAM.generalLedgerAM">
          <AppModuleConfig DeployPlatform="LOCAL" JDBCName="goodwell" jbo.default.country="IN" jbo.project="com.rits.glm.GeneralLedger" name="generalLedgerAMLocal" ApplicationName="com.rits.glm.model.servicesAM.generalLedgerAM">
             <Database jbo.locking.mode="optimistic"/>
             <Security AppModuleJndiName="com.rits.glm.model.servicesAM.generalLedgerAM"/>
          </AppModuleConfig>
          <AppModuleConfig DeployPlatform="LOCAL" JDBCName="goodwell" jbo.default.country="IN" jbo.project="com.rits.glm.GeneralLedger" name="generalLedgerAMShared" ApplicationName="com.rits.glm.model.servicesAM.generalLedgerAM">
             <AM-Pooling jbo.ampool.dynamicjdbccredentials="false" jbo.ampool.isuseexclusive="false" jbo.ampool.maxpoolsize="1" jbo.ampool.resetnontransactionalstate="false"/>
               <Database jbo.locking.mode="optimistic"/>
             <Security AppModuleJndiName="com.rits.glm.model.servicesAM.generalLedgerAM"/>
          </AppModuleConfig>
       </AppModuleConfigBag>
    </BC4JConfig>

    some suggestions
    JBO-25014: Another user has changed...
    http://adfhowto.blogspot.com/2010/12/troubleshooting-another-user-has.html
    Another user has changed the row with Primary key

  • RUNAS another user: assistance with my batch file for control panel and explorer

    Hello, for desktop support on end user or multi/generic user pcs it is nice to access common commands quickly from a batch file to run under your account. In xp both explorer and control panel apps launched without issues. The primary issue for explorer
    is it appears to ignore the runas command (but the user has permissions to explorer so no error) while the control panel apps ignores run as well but does not have permissions so generates an error. The other commands all execute as the attempting admin's
    account.
    who it is for: the user with the admin account to execute on the user's desktop whom is a nonadmin
    **please note, the commands appear to work if you do have admin rights**, the logged in user does not  have admin rights to these utilities like in a common corporate environment.
    "windows cannot access the specified device, path or file. You may not have the appropriate permissions to access the item."
    Issue#1:
    With win7 if you do a run as for explorer.exe via batch it will open, but will still be running under the signed in user. I have searched many threads on various sites and have not found a working solution for batch, this may be something I need to retire.
    Issue#2: all control panel applets fail to launch through various methods.
    SECTIONS THAT I AM STRUGGLING WITH:
    runas /user:%auser%@DOMAINNAME "explorer.exe /separate"
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl"
    "cmd /c start appwiz.cpl" also fails
    alternative also fails:
    runas /user:%auser%@chwi "cmd /c Start /B control.exe"
    cls
    @ECHO OFF
    set /p auser= Enter your account login id:
    :MyMenu
    CLS
    Echo Use the options below to run as with your admin account id:
    echo.
    ECHO 1 - Explorer C:\ - may not work with win7
    ECHO 2 - Device Manager
    ECHO 3 - Event Viewer
    ECHO 4 - Services
    ECHO 5 - Computer Management
    ECHO 6 - REGEDIT
    ECHO 7 - Command prompt
    ECHO 8 - Local Users and Groups
    echo 9 - launch task manager
    ECHO a - Control Panel - may not work with win7
    Echo b - Add/Remove programs - may not work with win7
    Echo 0 - Exit
    echo.
    SET /P OPT=Please make a selection, and press enter:
    if %OPT%==1 GOTO OPTION1
    if %OPT%==2 GOTO OPTION2
    if %OPT%==3 GOTO OPTION3
    if %OPT%==4 GOTO OPTION4
    if %OPT%==5 GOTO OPTION5
    if %OPT%==6 GOTO OPTION6
    if %OPT%==7 GOTO OPTION7
    if %OPT%==8 GOTO OPTION8
    if %OPT%==9 GOTO OPTION9
    if %OPT%==a GOTO OPTIONa
    if %OPT%==b GOTO OPTIONb
    GOTO exit
    :OPTION1
    ECHO Executing Explorer C: window
    echo.
    runas /user:%auser%@DOMAINNAME "explorer.exe /separate"
    GOTO:mymenu
    :OPTION2
    ECHO Executing Device Manager
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B devmgmt.msc"
    GOTO:mymenu
    :OPTION3
    ECHO Executing Event Viewer
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B eventvwr.msc"
    GOTO:mymenu
    :OPTION4
    ECHO Executing Services
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B services.msc"
    GOTO:mymenu
    :OPTION5
    ECHO Executing Computer Management
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B compmgmt.msc"
    GOTO:mymenu
    :OPTION6
    ECHO Executing regedit
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B regedit"
    GOTO:mymenu
    :OPTION7
    ECHO Executing command prompt
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B cmd"
    GOTO:mymenu
    :OPTION8
    ECHO Executing Local Users and Groups
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B lusrmgr.msc"
    :OPTION9
    ECHO Executing task manager
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B taskmgr.exe"
    :OPTIONa
    ECHO Executing control panel
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B control.exe"
    :OPTIONb
    ECHO Executing add/remove programs
    echo.
    runas /user:%auser%@DOMAINNAME "cmd /c Start /B rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl"
    GOTO:mymenu
    GOTO EXIT
    :EXIT

    You guys I appreciate the feedback but please read my entire post and help if related, this is getting a bit frustrating.
    a. I am not developing a powershell solution or "how do I launch them via command prompt" that is well known. The goal is to create an easy to use "run as helper" script for those that are not as savvy or do not have the commands memorized.
    Even so many of your suggestions do not work because the user logged in does not have admin rights and the commands are blocked because of this restriction.
    b. This is for the batch file in question, NOT "how do I launch command prompt as an admin"
    c. Again, several options work, several do not (network connections and programs and features do not) must likely due to same limitations as explorer.exe or UAC
    d. this is not "how do I launch the utilities by command line" it is "how do I launch them as the admin WHEN the current user does not have admin rights". The entire script works on a pc if you have admin rights because its launching
    it instead AS the current user, in that case the current user has admin rights therefore it doesnt reproduce the issue.
    e. running by control.exe using the app name or with cpl does not resolve the issue.
    f. I did not post that command prompt is having issues launching, I wrote a couple times that the options in my script do work such as command prompt. Even if you launch command prompt you cannot launch programs and features or network connections with your
    admin account with or without an additional runas command.

  • Error :- Another User has altered the quantity of Batch B01

    Hello Experts,
    I have created a addon through which in Sales Order while entering the quantity and pressing tab automatic Batch allocation
    is done row wise for items . This process is working fine while entering .
    But from last two days while adding the Sales order with batch allocated sap is throwing an error message that
    "Another User has altered the quantity of Batch B01 in Warehouse SYD in row - 11"
    This is not my addon error message .This error is thrown by SAP which has blocked the Sales Order Entry.
    I am confused about what to do with this .Since this problem need to be resolve urgently .
    Please help me regarding this.
    thanks ,
    Amit

    Hi Jisha,
    The problem which i was facing is not yet fully solved .
    Since in SAP 8.8 the message is much more understandable as this is happening because another user has allocated the
    batch quantity for the same item and the Batch is allocated for another user.
    If you can try creating a Item - X of Quantity - 10 into two Batches A  and B
    A- 5 Qty
    B - 5 Qty
    Then if one User say "User - A'" opens the Sales Order Form and select the Item - X  with Quantity - 5 and then select the Batch option system will automatically allocate the first Batch (A) for 5 Qty  and the Order is not yet saved.
    Same time if another user "User - B" opens a sales order and select the same Item - X with quantity - 5 and then select the
    Batch Option system will automatically allocate the first Batch (A) for 5 Qty (But actually the first user has already allocated the
    5 Qty for Batch - A ) . Then while adding the Order "User - A"  order gets allocated with Item - X 5 Qty into the Batch table.
    When the second user tries to add the order with Item -X allocated in also Batch - A system generates this message
    " Another User modified the quantity of Batch A" since this batch is already allocated by user - A.
    This was the cause for this message and still i have not found any solution for that.
    Just told the clent to reallocate the batch for the items where this message is thrown .
    Thanks & Regards,
    Amit

  • Another user has changed the row with primary key oracle.jbo.Key

    Oracle Jdeveloper 11.1.2.1
    ADFbc + JSF
    I have a Page ( Purchase Order Status) (which show all PO to be approved) from this page (page1) the Supervison can call Regular PO (Page2) and change whatever he needs to change. (products, quantities, discounts,warehouse...)
    then on Page2 he invoke (commit) after his changes and return to page1, when supervisor change the status to Approved on page1. I get this Error (Another user has changed the row with primary key oracle.jbo.Key[#]).
    for sure there are no another user changing this PO.
    both page are based on same Entity Object (PO) , how can I solve this Issue? thank you

    hi,
    This occur due to pessimistic locking mode for ApplicationModule ,alter to optimistic and check following sample to get knowledge about locking mode.
    http://andrejusb.blogspot.com/2010/03/optimistic-and-pessimistic-locking-in.html-Suersh

  • FRM-40654 Record has been updated by another user.Re-query to see change.

    Hi All:
    While Updating a record in form its updating fine at first time
    if i updating the record second time its not allowing me to update its showing following error
    FRM-40654 Record has been updated by another user.Re-query to see change.
    After Re-querying its allowing me to update the record .... so anyone can give a good idea to update the record without Re-query.
    i am using following versions
    Apps 11.5.10.2
    Forms 6i
    Database 10g

    @814950,
    Welcome to the Oracle Forums. Please take a few minutes to review the following:
    <ul>
    <li>Before posting on this forum please read
    <li>10 Commandments for the OTN Forums Member
    <li>Announcement: Forums Etiquette / Reward Points
    </ul>
    It is not good to use someone else's post to ask a new question; this is commonly refered to as "Post Hi-jacking." It is always best to create a new post and add a reference link to a similar post. Please create a new post for your question!
    Also,
    >
    BEFORE I NSERT OR U PDATE
    OF quantity, price_override
    ON po.po_line_locations_all
    >
    If I recall correctly from when I worked with the Oracle Enterprise Business Suite (EBS), the PO_LINE_LOCATIONS_ALL is an EBS ta ble. Oracle does not recommend you modify EBS tables directly. There are recommended methods for performing DML on EBS tables. I suggest you review the Oracle Applications Documentation library. Select your EBS version and then scroll to the Standards section and review the following documents:
    <ul>
    <li>Oracle Applications Developer's Guide
    <li>Oracle Applications User Interface Standards for Forms-Based Products
    <li>Oracle Application Framework Personalization Guide
    </ul>
    Again, please ask your question in a new post.
    Craig...
    Edited by: CraigB on Dec 1, 2010 9:29 AM

  • How do I change an existing user account to another user name?

    I am trying to change the username on an existing Thunderbird email account to another user name. I have the name changed and can send email out from it. However, you cannot treply back to the email, you get an error message saying that the address does not exist. Nor can you receive an email sent directly to the account with the changed name.
    Thank you,
    Judy Pfeffer

    Is the new username an established email account with an email provider? If not, that is your problem. You cannot just make up a username and expect to receive email with it.
    I would not suggest changing usernames due to a new email account. I would set up a new account in Thunderbird for the new email account.

  • Here's a fix for "This item cannot be updated because it has been changed by another user or process"

    https://gallery.technet.microsoft.com/System-Center-Service-fca7af29
    A few months ago on the Technet Gallery, I submitted this custom control to be used on SCSM console forms. The purpose of the control is to eliminate the "This item cannot be updated because it has been changed by another user or process" error
    message that we all have seen at least once (a day :) ).
    The details are in the gallery description (along with installation instructions for existing forms and your own custom forms).
    Here's a "short" description (nothing I ever post here is short :) ): This is a custom control that can be applied to an SCSM form like the Service Request form or Windows Computer form or your own custom form built with the authoring tool or Visual
    Studio. When you click "OK" or "Apply" on the form, this control scans the form and Service Manager's database for any changes to the object you have open. If a property that _you_ have changed on the form was _also_ changed in the CMDB
    (by a workflow or another user), this control will present a dialog box letting you know what happened. It will also let you choose which value to keep (yours, theirs, or the original value).
    Just as importantly (and important in a greater percentage of cases), if a workflow changes a "background" property (like FirstAssignedDate) while you have the form open and you click OK, the control will detect the change and allow the form submission
    to go through while keeping your changes and the FirstAssignedDate change that the workflow made. You won't get an error message or even a warning. And most importantly, you won't lose your changes.
    That's where the "optimistic" part of the control's name comes from. It applies optimistic concurrency control to SCSM forms, while also providing an anti-collision interface for you to use so you no longer lose any of your changes.
    Furthermore, this control will work on related items that are opened in memory; for example, the activities on a Service Request. So if you change an activity's title while the workflow engine sets it in progress, you won't get an error. The activity will
    be in progress and will get your new title when you click OK or Apply.
    Lastly, (and I admit this part is getting into the deep inner workings of console forms) if your form loads a sub projection at run time (to the root object) this control will detect the load and treat that sub projection as if it were apart of the original
    form all along.
    I've gotten a little feedback about this control, but I'd like to get more since it's a work in progress. So, I'm announcing it here on the forums. Please give it a try and let me know if you have any questions. I'll be happy to answer them here. Thanks,
    folks!
    Oh, and to answer the most common question right away: It's free. There is no paid version or anything like that. This is something I built for the SCSM community.

    Great job! 
    Will definitely try it out. 
    Best regards,
    Marcus

  • JBO-25014: Another user has changed the row with primary key oracle.jbo.Key

    Hi,
    I am developing a Fusion Web Application using Jdeveloper 11.1.2.1.0. I have a home.jspx page that has a ADF table built on efttBilling View Object. . When you click on one of the rows in the table, it will take you to detail.jspx where you can edit the row and save. When 'save' is clicked, stored procedures are executed to update/insert rows into few tables , and then go back to home.jspx where you need to see updated content for that row.
    To get down to the exact issue, updates are made to the tables on which the efttBilling View Object is built using a stored procedure. Once this is done, I am trying to requery view object to see new content. But I keep getting JBO-25014: Another user has changed the row with primary key oracle.jbo.Key error. Following are the approaches I followed to query new results:
    a. Executed Application Modules Commit Method. Created 'Commit' Action binding and tied it to homePageDef.xml. Called this binding from a view scope bean.
        BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
         OperationBinding operationBinding = bindings.getOperationBinding("Commit");
        Object result = operationBinding.execute();
       if (!operationBinding.getErrors().isEmpty())
        return null;
    b. Marked 'Refresh on Insert' , 'Refresh on Update', 'Change Indicator' checkboxes for all the attributes in the entities associated with efttBilling View Object.
    c. Tried to Requery View Object. Created a refreshViewObject method in Application Module Impl.java file, exposed this method to the client interface and created a invokeMethod Action binding in home.jspx
    Code in Application Module:
      public void refresheftTransactionsforBillingAccountViewObj1View()
        System.out.println("In eftTransactionsforBillingAccountViewObj1");
      findViewObject("eftTransactionsforBillingAccountViewObj1").executeQuery();
    Code in view scope bean
            DCBindingContainer bindings =
           (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
            OperationBinding operation =
            bindings.getOperationBinding("refresheftTransactionsforBillingAccountViewObj1View");
            operation.execute();
    I have searched web, ADF forums and tried methods suggested in there but no sucess.
    Could anyone please provide some insight in this issue. I have been battling with this since quite some time. I can provide you with the log file too.
    Thanks!
    Shai.

    What code does your Commit method have .. can you try using the Commit executable from the AM itself instead ?
    Also -
    Shai wrote:
    'Change Indicator' checkboxes for all the attributes in the entities associated with efttBilling View Object.
    which all attributes you set this property for . it should just be for History columns as such.
    Did you also check if this could be your scenario ?
    Decompiling ADF Binaries: Yet another reason for &quot;JBO-25014: Another user has changed the row with primary key orac…
    OR
    JBO-25014: Another user has changed the row with primary key oracle.jbo.Key
    OR
    Another user has changed the row with primary key -Table changed externally
    Message was edited by: SudiptoDesmukh

  • I ordered Illustrator for another user.  I received an invitation that was accepted, logged in and tried to change the account to the name and email of the person it was ordered for.  How can I get this changed and the invitation sent to the right person?

    I ordered Illustrator via creative cloud for another user.  I received an invitation that was accepted  and tried to change the account to the name and email of the person it was ordered for.  How can I get this changed and the invitation sent to the right person? 

    Cloud as a Gift https://forums.adobe.com/thread/1665610

  • OIM API Code to change the link of the provisioned Account to another User

    tcResultSet rset;
              HashMap <String, String> map;
              try{
                   userIntf=(tcUserOperationsIntf)utilityFactory.getUtility("Thor.API.Operations.tcUserOperationsIntf");
                   map = new HashMap <String, String>();
                   map.put("Users.User ID",toUserLogin);
                   map.put("Users.Status","Active");
                   rset=userIntf.findUsers(map);
                   // Get the User Key for the User given his User ID
                   rset.goToRow(0);
                   long toUserKey=rset.getLongValue("Users.Key");
                   System.out.println(" Key for the ToUser is :" + toUserKey);
                   map = new HashMap <String, String>();
                   map.put("Users.User ID",fromUserLogin);
                   map.put("Users.Status","Active");
                   rset=userIntf.findUsers(map);
                   // Get the User Key for the User given his User ID
                   rset.goToRow(0);
                   long fromUserKey=rset.getLongValue("Users.Key");
                   System.out.println(" Key for the FromUser is :" + fromUserKey);           
                   // Now get all the objects thats been provisioned for the user given user's Key
                   rset=userIntf.getObjects(fromUserKey);           
                   HashMap tmap = new HashMap();
                   for(int k=0;k<rset.getTotalRowCount(); k++){
                        rset.goToRow(k);
                        System.out.println("####################################################");
                        String targetName=rset.getStringValue("Objects.Name");
                        System.out.println("targetName :: Objects.Name = "+targetName);
                        long objInstKey = rset.getLongValue("Users-Object Instance For User.Key");
                        System.out.println("Users-Object Instance For User.Key = "+objInstKey);                    
                        String status =rset.getStringValue("Objects.Object Status.Status");
                        System.out.println("Objects.Object Status.Status = "+status);
                        System.out.println("####################################################");
                        if(status.equalsIgnoreCase("Enabled")&& targetName.equalsIgnoreCase(resorceName) ) {
                             System.out.println("Changing to service Account..");
                             userIntf.changeToServiceAccount(objInstKey);
                             System.out.println("Account changed to service Account");
                             System.out.println("Linking Account to another User....");
                             userIntf.moveServiceAccount(objInstKey, toUserKey);
                             System.out.println("Account Linked");
                             System.out.println("Changing Account from service......");
                             userIntf.changeFromServiceAccount(objInstKey);
                             System.out.println("Account changed to normal");
              }catch(Exception exception){
                   System.out.println("Exception occurred :"+exception.getMessage());
              }

    HI rumesh,
        Don't use resource link as you did. Try using normal link and create a component(HTMLB or anyother) from KM reource content, then add that component to the link as below.
       comp = ....(should be a component from your Km content resource)
      Link link = new Link("Link");
      link.setTarget("www.yahoo.com");
      link.setReference("www.yahoo.com");                                        
      link.addComponent(comp);
    finally add that link to your search UI . I hope this will help.
      I am sorry if i confused you.
    Thanks & regards.
    Rumeshbabu

  • "The file [name of file] may have been changed by another user since you last saved it." Issue affects both network and local files.

    When a certain user saves a file in Excel 2010, she gets a message: "The file <name of file> may have been changed by another user since you last saved it."  She can choose to save as another file or overwrite with her changes. 
    This just started happening a week or so ago.  She was concerned that someone else was accessing her files, but we did several tests that opened, made a change and saved in a matter of seconds, and she still gets the message.  It happens on
    most files, but not all – both network and local.
    We already tried the QFE_Saskatchewan registry fix.  I also checked the file server for Services for Macintosh.

    You may be confused by the error in Excel saying “another user”. Actually Excel cannot tell who (the real human) is editing the file. Based on my research the No.1 possibility of the error is KB2626998.
    2626998  Connection to a network document is lost in the 2007 Office system or in Office 2010 after the computer resumes from standby
    http://support.microsoft.com/kb/2626998
    For Excel 2010, follow these steps:
    a.  Click Start , click Run , type regedit in the Open box, and then click OK .
    b.  Locate and then select the following registry subkey: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Excel\Options
    c.  On the Edit menu, point to New , and then click Dword Value .
    d.  Type NetworkAvailableTimeInSeconds , and then press Enter.
    e.  Right-click NetworkAvailableTimeInSeconds , and then click Modify .
    f.  In the Value data box, click Decimal , type a number value, and then click OK .
    Note This registry subkey sets the time, in seconds, that Excel waits for the network to resume. For example, if you type 15 for the number value, Excel waits 15 seconds for the network to resume. You might have to do some tests in your own environment to
    determine an appropriate value. You may have to try multiple numbers.
    g.  Locate and then select the following registry subkey.
    HKEY_CURRENT_USER\Software\Microsoft\office\14.0\common\Internet
    h.  Repeat step 2C through step 2F again. Reuse the same value that you used previously.
    i.  Exit Registry Editor.
    Feel free to post back. Thanks.
    Cheers,
    Tony Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please contact
    [email protected]

  • Another user has changed the row with primary key -Table changed externally

    Hello,
    I am facing the error: "Another user has changed the row with primary key oracle.jbo.Key[94 ]." during the delete operation.
    User case scenario:
    1. Added new row in the table.
    2. Once new row is added to the the table, another application will update few columns in the newly added row based on some logic.
    3. On the same session I am trying to delete the newly added row and getting above mentioned error.
    I have added a "Button" in the table to partialRefresh the table to check the new values of the changed columns.
    I have checked the forum and found many similar errors and tried the following but nothing helped.
    1. By setting "Auto Refresh = True" for the view object.
    Issue faced-> It worked fine but after few add and remove my db is getting to inconsistent state after which, I am not able to do any add/delete from my page.
    Error: "Too many objects match the primary key oracle.jbo.Key". I have checked this and I am not getting this error when "Auto Refresh = False" even after multiple add and remove actions.
    2. By Setting "Auto Refresh" the iterator associated with the page.
    Issue -> Did not work at all.
    Looking forward inputs from gurus.
    Thanks
    Abhijeet

    Finally I found one solution to this problem at: [ http://www.avromroyfaderman.com/2008/05/bring-back-the-hobgoblin-dealing-with-rowinconsistentexception/|http://www.avromroyfaderman.com/2008/05/bring-back-the-hobgoblin-dealing-with-rowinconsistentexception/]
    Simply overriding the lock() method in the entity object resolved issue. Kudos to the author.
    Code:
    public void lock() {
    try {
    super.lock();
    } catch (RowInconsistentException e) {
    refresh(REFRESH_WITH_DB_ONLY_IF_UNCHANGED | REFRESH_CONTAINEES);
    super.lock();
    But, Now my refresh button is not working as depend on the "Auto Refresh = True" to update the table.
    Can anyone tell me how can I refresh the VO of my table from the button.
    Thanks
    Abhijeet.
    P.S: I have already added the partial trigger but it is work not working as the data is cached in the VO. Removing the Cached property for the VO is creating other problems.

  • How to change the schema to another user ?

    Hi,
    I've registerd this schema and it works well,
    but I need to change the schema to connect to another User like MYUSER_2.
    because I have to migrate the MYUSER_1 to MYUSER_2 and then to delete MYUSER_1
    when I register the schema again with this user MYUSER_2
    , all xml-entries will become destroyed ?
    what can I do ?
    it's better , to register the schema without a user ?
    Norbert
    dbms_xmlschema.registerSchema(
    schemaurl => vschemaurl,
    schemadoc => xsd_file,
    local => FALSE,
    gentypes => TRUE,
    genbean => FALSE,
    gentables => TRUE,
    force => FALSE,
    owner => MYUSER_1
    ,CSID => nls_charset_id('AL32UTF8');
    );

    If 2 seperate users need to work witht the same XML Schema then the XML Schema should be registered as a global Schema. If you want to change the owner of an XMLschema, just like if you want to change the owner of a relational; table you will have to export the data and import it again.

Maybe you are looking for