Knowledgebase
TroubleShooting: Cannot Update Item table
Posted by Rajendra Dewani (QODBC Support) on 06 December 2012 06:58 AM

 

Problem Description

Trying to change the cost of an assembly using the following query:

update item set PurchaseCost = 6.82 where ListID = '800007BB-1351453805';

It fails with the error: "error: [QODBC] Not supported Error Code: 10003"

or

UPDATE the price in the ITEM table

Update Item Set SalesPrice=45 where Name='S1'

Solution


The Item table is a read only table view of the ItemInventory, ItemNonInventory, ItemOtherCharge, ItemInventoryAssembly, ItemService, ItemFixedAsset, and ItemGroup tables. Your update statement needs to run against the actual table with the item in it.

Example
UPDATE ItemInventory set SalesPrice = 1200.00, PurchaseCost = 700 where Name = 'Acer Notebook'

(4 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Help Desk Software by Kayako Resolve