Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
If you can't
login and post questions or you are having trouble viewing forum posts:
Click Here
|
Callback
Support |
If you live in USA, UK, Canada, Australia or New
Zealand, you can leave us details on your question and request us to call you back and discuss
them with you personally (charges apply). |
Click Here
|
Buy Support
Incidents |
If you can't find your answer
in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us
private or confidential information: |
Click Here
|
|
Error while updating sales order |
Author |
Message |
|
Posted : 2007-05-28 23:33:30 |
Hi,
We are trying to update an custom field sales order programatically using QODBC. We are getting the following error saying that the sales order is locked by another user. Actually the sales order not edited by any other user using QuikBooks. But still we are getting this error frequently which is causing confusion for the operators.
Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 10:53:16 AM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13520 : Line = 69 : Sku = VPA8260 *** 10:53:39 AM : *** Unable To Download The Line. Details : SO No = 13522 : Line = 1 : Sku = HS850 ***
Download Process For Sales Orders Data Started *** 2:30:33 PM : *** Unable To Download The Line. Details : SO No = 13495 : Line = 1 : Sku = JX-CD335SIL *** 2:31:04 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:31:04 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13495 : Line = 1 : Sku = JX-CD335SIL *** 2:31:05 PM : *** Unable To Download The Line. Details : SO No = 13496 : Line = 1 : Sku = JH-E4 *** 2:31:36 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:31:36 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13496 : Line = 1 : Sku = JH-E4 *** 2:31:37 PM : *** Unable To Download The Line. Details : SO No = 13496 : Line = 2 : Sku = JH-P30 *** 2:32:09 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:32:09 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13496 : Line = 2 : Sku = JH-P30 *** 2:32:09 PM : *** Unable To Download The Line. Details : SO No = 13496 : Line = 3 : Sku = JX-CD335SIL *** 2:32:40 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:32:40 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13496 : Line = 3 : Sku = JX-CD335SIL *** 2:33:14 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:33:14 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13497 : Line = 1 : Sku = LCS7830 *** 2:33:47 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:33:47 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13497 : Line = 2 : Sku = LCS4800 *** 2:34:20 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:34:20 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13497 : Line = 3 : Sku = LCS7860 *** 2:34:56 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:34:56 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13497 : Line = 4 : Sku = PHF2870 *** 2:35:29 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:35:29 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13497 : Line = 5 : Sku = HOL7770 *** 2:36:02 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:36:02 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13497 : Line = 6 : Sku = LCS7920 *** 2:36:35 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:36:35 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13497 : Line = 7 : Sku = LCS7810 *** 2:37:08 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:37:08 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13497 : Line = 8 : Sku = TRC2830 *** 2:37:41 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:37:41 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13497 : Line = 9 : Sku = LCS7850 *** 2:38:16 PM : *** Error : ERROR [00000] [QODBC] Error: 3170 - There was an error when modifying a SalesOrder. QuickBooks error message: The internals could not be locked. They are in use by another user. *** 2:38:16 PM : *** Unable To Update QuickBooks SO Data. Details : SO No = 13497 : Line = 10 : Sku = 6280A ***
|
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-05-29 08:38:22 |
You forgot to give me the actual SQL Statement you are running here, but basically QuickBooks is saying the customer is being edited by another QuickBooks user or session. |
|
|
|
|
Posted : 2007-05-30 19:59:42 |
Here is my update query :
update salesorderline set FOB = 'download' WHERE TxnId = '[transaction id]' AND SalesOrderLineTxnLineId = '[transaction id]'
Can you help us why the sales order record is locked by QuikBooks ?
|
|
|
|
Tom |
|
Group | : Administrator |
Posts | : 5510 |
Joined | : 2006-02-17 |
|
Profile |
|
Posted : 2007-05-30 21:37:12 |
Make sure everyone is logged off QuickBooks and try again. You might have to reboot to clear a crashed QODBC session. |
|
|
|
|