Another User modified Table (ODBC -2039) - purchase order

I have following scenario:
In SBO are purchase orders for one vendor where in document line is user field for storing some informations. After setting this user field to all lines (manualy) I want to recreate this purchase orders and create one purchase order for each value in user field and close lines in former orders.
For example - purchase orders lines:
docentry itemcode userfield
1            12           a
1            12           b
1            12           a
1            12           a
1            12           b
1            12           c
2            12           c
2            12           a
After recreating I want to have:
docentry itemcode userfield
3            12           a
3            12           a
3            12           a
3            12           a
4            12           b
4            12           b
5            12           c
5            12           c
Hope is clear this explanation what I want.
Im doing it so, that I create new purchase order for each value in user field - with no problem. After creating new orders Im going through old orders and Im closing the lines. And here is sometime problem with error Another user... I found out, that this problem is only when in order, where I want close line, exist already closed line and not allways.
When I try to simulate this problem, everything works. When I create order, manualy close one line in this order and wait few days and try to apply this scenario, it will falls.
This problems occurs since PL30 and in PL47 it is same.
The code I have for this is:
obj = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
                            obj.GetByKey(docentry)
                            obj.Comments = " xxx"
                            err_code = obj.Update()
                            If err_code <> 0 Then
                                oCompany.GetLastError(err_code, err_msg)
                                SAP.Connection.oSBOApplication.MessageBox(err_msg, 1, "OK")
                            End If
                            obj.Lines.SetCurrentLine(3)
                            obj.Lines.LineStatus = SAPbobsCOM.BoStatus.bost_Close
                            err_code = obj.Update()
                            If err_code <> 0 Then
                                oCompany.GetLastError(err_code, err_msg)
                                SAP.Connection.oSBOApplication.MessageBox(err_msg, 1, "OK")
                            End If
The double update of order is there, because when one line is closed, DI API will not allow make update of lines...
Any help is highly appreciated. Thanks

Partly is the problem as in the note, but I dont think that its only this problem.
When I add PO with DI with 10 lines, I can close 5 lines for example, but when next day Im trying to close the rest of lines, I get the error. When I get the error, I cannot with DI update nothing (not in lines, but I cannot update note, dates, ...).
It seems to me, when I make more updates with closing lines in short time, for example
closerow
update
closerow
update
closerow
update
after this I cannot update the order at all (it seems that this order is for DI locked).

Similar Messages

  • Another User modified Table (ODBC -2039) - Sales order

    Via a button on sales order form I delete some of the order lines with oMatrix.DeleteRow(rowNr).
    It works fine but the DocTotal is not updated as it will be if I delete the row manually with the right-click Delete Row command.
    When saving the order via Update button it refuses with the error "Another User modified Table (ODBC -2039)".
    Do you have any ideas for workarounds for this?
    I've tried to set the price to 0 before deleting the row (the DocTotal will be updated) but the error is the same when saving.
    I don't manipulate the FormMode in the code.
    Regards
    Lars

    HI,
    SAP has answered with notes 720076.
    They suggest to use
    oMatrix.Columns.Item("1").Cells.Item(i).Click()
    SBO_Application.ActivateMenuItem("1293")
    instead of
    oMatrix.DeleteRow(i)
    It works for me.
    Best regards,
    Paolo.

  • Error: Another user -modified table (ODBC -2039)

    I receive an error when trying to post data through to the SapbobsCom6.7 business object reading "Another user -modified table (ODBC -2039)"
    Could anyone please assist me regarding this!
    Thank you!
    Etienne

    Hi Etienne et al,
    I don't know if this helps you, as your last post in this topic was quite a while ago, but never the less I found one reason for the -2039 error which may be of help to other Business One developers in the future.
    I was getting the -2039 error every time I tried to update a record in one of my user defined forms, yet the error wouldn't happen with most of the other records in the table.
    Looking at the record I found that there was a column related to a Date field on the which had an incorrectly entered value from a previous data import.
    What should have been '2004-06-23 00:00:00.000' in the table was actually '1899-12-30 23:06:04.000' and would appear as 30/12/99 in the form field. Once I corrected the format of the data the addon form was happy to update the record.
    I hope this helps anyone else out there.
    Nick Jacka

  • Another user-modified table ODBC -2039 [Message 131-183]

    Hi!
    I created a matrix that it is linked to a ChooseFromList, that has multiselection = true.
    The thing is that if i'm trying to update the record selecting multiple values, this error is displayed "Another user-modified table ODBC -2039 [Message 131-183]".
    If i try doing it with just one record, the UDO works perfectly.
    Also, it works fine if i'm creating for the first time the record and adding the multiple selection lines.
    Greetings!
    Reynaldo!

    HI,
    I think you have some transactions in the background.
    Close all stuffs, delete SM_OBS_DLL directory from your TEMP directory, and start the work again.
    Regards,
    J.

  • Another User Modified Table RDR1(-2039)

    Hi
    I got error "Another User Modified Table RDR1(-2039)" sometimes when i update Sales Order. Since I m doing customization on Sales Order form, <b>i m unable to proceed with my code since it run on ActionSuccess</b>.
    What could be the reason ..
    Plz help

    Hi Pankaj,
    Firstly make sure that you don't hold references to objects that you don't use. If you have reference to an order and maybe update the order and later again use another object to access the same order this might happen. Create and release objects as you use or don't use them. You can release the objects with
    System.Runtime.InteropServices.Marshal.ReleaseComObject(x)
    Hope it helps,
    Adele

  • Another user-modified table 'Product Tree' (OITT) - Error message

    Hi
    Our B1 2005A SP01 PL48 sometimes shows the following error message when trying to change a BOM, even if this error is not possible.
    Another user-modified table 'Product Tree' (OITT) (ODBC -2039) [Message 131-183]
    What can I do, except for deleting and recreating the BOM?
    Thanks
    Franz

    Hi Franz,
    Please check these threads to find anything in common:
    Another user-modified table  'Items' (ODBC -2039)
    Another User modified Table (ODBC -2039) - Sales order
    In Purchase Order
    Re: Warehouse alerts not popping up.
    Thanks,
    Gordon

  • Another user-modified table  '' (POR1) (ODBC -2039)  [Message 131-183]

    I have updated the purcahse order form.I have added a combo excisable.Also I have defined excisable and non-excisable warehouses.I have added a condition as,
    If I select Yes from the combo then the warehouse of the item should be excisable.And,if I select No then the item should be from non-excisable warehouse.
    When I change the warehouse as per the above condition it gives error as,
    Another user-modified table  '' (POR1) (ODBC -2039)  [Message 131-183]
    I am using SAP Business One 2007 B.
    PL:11
    The errors occurs when I click on update button.The error does not occur if I don't update purchase order.
                                                                                    Regards,
                                                                                    Dilip Kumbhar

    Dilip Kumbhar,
    You may check these threads first:
    Updating a PO
    In Purchase Order
    Thanks,
    Gordon

  • [OACT], Another user-modified table 'G/L Accounts' (ODBC-2039)

    Dear All,
    When AP dept user attempting to add outgoing payment, the error message ""[OACT], Another user-modified table 'G/L Accounts' (ODBC-2039)" appears, what could the causes of the problem be ? I have restarted server many times but still unsolved yet.
    TIA
    Rgds,

    Steve,
    One reason why this happens ("Another User Modifed table") is if the SQL database has been updated while the document is open. When trying to add the document, the information in the document will be inconsistent with the values in the database itself.
    It can also be because someone tried to Run one of the Restore Balances Procedure.
    Please contact SAP Support by logging a message at http://service.sap.com
    Suda

  • Another user-modified table 'Items' (ITEM) (ODBC - 2039) [Message 131-183]

    Hi All,
    Just had an issue reported by a customer. They tried to amend a UDF on an Item Master record and they can change data such as the Item description, remarks etc and update the item successfully... However, when they tried to amend the contents of the UDF's attached to the Item  the system issue the message:
    Another user-modified table 'Items' (ITEM) (ODBC - 2039) [Message 131-183]
    Any thoughts?
    Best regards
    Earl

    I figured it out
    We had a UDF name U_Discount that was set to only allow Y or N.
    In the database I had a space after the Y or N value for some of the records. I discovered it by running
    SELECT distinct [U_Discount], COUNT(*)  FROM [OITM]  group by  [U_Discount]
    No idea how the space got there, but I ran
      update OITM set U_Discount = 'N' where LEFT(U_Discount,1) = 'N'
      update OITM set U_Discount = 'Y' where LEFT(U_Discount,1) = 'Y'
    and it fixed it

  • Another user-modified table 'Activities' (OCLG) (ODBC-2039) [Message 131-18

    Hello,
    Iu2019m having problems re-assigning some activities. When i make a slight alteration to an existing activity I added my note and reassigned the activity to another user to raise collection but it is coming up with the red message when I click on update which reads as follows:
    'Another user-modified table 'Activities' (OCLG) (ODBC-2039) [Message 131-18]'
    Could you please assist.
    Regards,
    Juan

    Gordon,
    I have tried disconnecting the AddOns to no avail. There are a few stored procedures but none that I can see attribute to the actitivity screen.
    I have tried this on a test company and there is no issue. I have ensured no one else is logged into SAP but the same message appears. Having investigated further it is now only happening for one activity in particular. Other 'Open' activities are fine. Newly created Activities can also be edited.
    Any other ideas?
    Regards,
    Juan

  • Another user-modified table  'Items' (ODBC -2039)

    I have a problem with the Items object. I have a folder on the Item MasterData  form and a extra table that stores the info from that tab.
    When I try to update an item i get this error message :
    Another user-modified table  'Items' (OITM or OITW) (ODBC -2039)
    I can update items normally if my addon is stopped. I have read something about a similar message about PO, but I get the error on all items( even newly added ones) so I don't think it's about them being involved in PO.
    Any ideas on this matter ?

    Hi,
    I faced a similar error once, i also modified the Item Master screen and added a tab with an extra table, then i was modifing the FORM MODE explicitly.
    If ur are modifing the FORM MODE explicitly we may get this error.
    Vasu Natari.

  • Another user-modified table '' (NNM1) (ODBC -2039)  [Message 131-183]

    Hi All,
    I am trying to create a new numbering series in SAB B1 2007 B PL 14 and facing with this error:
    Another user-modified table '' (NNM1) (ODBC -2039)  [Message 131-183]
    I would really appreciate your advise since new numbering series is not getting created.

    Hi,
    To avoid these type of error message
      1.Ensure all users are logged out.
      2. Restart the Server
      3. Create Numbering series.
    *Close the thread if issue solved.
    Regards
    Jambulingam.P

  • Another user modified table (NNM1) (ODBC-2039)

    Hi All
    While Creating a document series the system displayes an error message saying "Another User Modified table (NNM1) (ODBC-2039)"
    What could be the error?
    Thanks
    SV Reddy

    Hi SV Reddy,
    Check the thread
    Error while updating the Document  Numbering Form
    Problem in numbering series
    *Close the thread if issue solved.
    Regards
    Jambulingam.P
    Edited by: Jambulingam P on Aug 10, 2009 10:01 AM

  • Another user-modified table 'Users'(OUSR)(ODBC -2039) [Message 131-183]

    Hi All
    This error "Another user-modified table 'Users'(OUSR)(ODBC -2039 [Message 131-183]" happens when trying to change the manager password, I'm able to change the manager password for all the other databases on the server except for one.
    I have logged in using another Superuser account to try and reset the password of the manager account but SBO is having none of it and I get this error.
    Does anyone have any ideas?
    Many thanks
    Hayden
    Edited by: Hayden Nothnagel on Oct 6, 2009 4:37 PM

    Hi Hayden,
    You may check SAP Note 941116 and 1131133 and also these threads:
    Another user modified table (NNM1) (ODBC-2039)
    another user modified table
    Another user-modified table
    Thanks,
    Gordon

  • Another user-modified table 'Queries' (OUQR) (ODBC -2039) [Message 131-183]

    Hi, Experts.
    I updated B1 2007B PL18 from PL13.
    I have following error message when modified query in query manager.
    "Another user-modified table 'Queries' (OUQR) (ODBC -2039) [Message 131-183]"
    However, I can modify same query in PL13.
    Please, share the information.

    Hi,
    If you can make sure nobody else modifying the query, it is probably a bug.  Log a message to support immediately.
    Thanks,
    Gordon

Maybe you are looking for

  • Error when downloading videos in iTunes

    Been trying to download Gwen Stefani's "Cool" Video for the past hour. When it completely downloads, an error message pops up in iTunes that says "There was an error downloading your purchases music. An unknown error occured (0xFFFE7958)" Anyone else

  • Populate html combo with database

    Hi all, I´m trying to use that example of Multi-select-Combobox , but i must populate the options of the combo with the database select result, not static values,.. that is the code for the options i´m using at the moment: <div class="examples"> <lab

  • Business one vs A1

    Hi, I would like to know waht's different for B1 and A1. In SD, MM and FICO module, it is totally different about the config and development or it is same? If I work a company which use A1 solution, is it easily to pickup the task? Thanks!

  • Enable email account only for certain hours?

    is there a way to enable an email account for specific hours in a day? I check my work email during work hours, and would like to disable that account after work. I have been doing this manually, but I was hoping there is a way to schedule when the e

  • Interested in skype premium

    I'm interested in getting skype premium while it is "on sale" through july 31 but am still confused. Will I get a phone number and willthis give me the ability to recieve calls and allow people to leave voicemail?