|
[QODBC-Desktop] Editing SalesOrder Line Items When the Order Contains Grouped Items
Posted by William - QODBC Support on 12 October 2026 10:26 AM
|
|||||||
[QODBC-Desktop] Editing SalesOrder Line Items When the Order Contains Grouped ItemsProblem Description:When a QuickBooks SalesOrder contains one or more grouped items (bundle/assembly line items that contain sub-items), standard SQL UPDATE statements against the Affected products: QODBC Desktop, QuickBooks Desktop Symptoms:
Cause:A bug in QODBC (tracked as B01674) caused updates to fail whenever a SalesOrder contained grouped items - even when the UPDATE targeted a non-grouped line. This was not a limitation of QuickBooks itself, but a defect in how QODBC processed the request. Root cause: QODBC's query processor did not correctly scope the update to only the targeted line item; the presence of grouped items caused the engine to reject the entire statement. The fix was first released as hotfix B01674-beta-2024-10-10 and later included in QODBC Desktop v24.0.0.358 RC. Environment:
Resolution:
Workaround for Older Versions (Pre-Fix)If you cannot upgrade immediately, use the following approach:
-- Update a grouped line item's description UPDATE ModifyOutwardGroupLine SET ModifyOutwardGroupLineDesc = 'New Description' WHERE tableName = 'SalesOrder' AND TxnId = '8BFF-1481790351' AND ModifyOutwardGroupLineGroupTxnLineID = '8C01-1481790351' AND ModifyOutwardGroupLineTxnLineId = '8C03-1481790351' Column reference for
SQL Examples:After upgrade - Standard UPDATE works normally (no special syntax needed): UPDATE SalesOrderLine SET SalesOrderLineDesc = 'New description' WHERE TxnID = '30F239-1695469384' AND SalesOrderLineTxnLineID = '30F23B-1695469384' Pre-fix - Using ModifyOutwardGroupLine for grouped items: -- Update quantity on a grouped item in a SalesOrder UPDATE ModifyOutwardGroupLine SET ModifyOutwardGroupLineQuantity = 50 WHERE TableName = 'SalesOrder' AND TxnID = '8BFF-1481790351' AND ModifyOutwardGroupLineTxnLineID = '8C03-1481790351' -- Update both rate and quantity on a grouped item UPDATE ModifyOutwardGroupLine SET ModifyOutwardGroupLineRate = 20, ModifyOutwardGroupLineQuantity = 50 WHERE TableName = 'SalesOrder' AND TxnID = '8BFF-1481790351' AND ModifyOutwardGroupLineTxnLineID = '8C03-1481790351' For Inward tables (PurchaseOrder, BillItemLine, ItemReceipt): -- Update a grouped line in a PurchaseOrder UPDATE ModifyInwardGroupLine SET ModifyInwardGroupLineQuantity = 2 WHERE TableName = 'PurchaseOrder' AND TxnID = '2420F-1702642410' AND ModifyInwardGroupLineTxnLineID = '24214-1702642410' Discovering Available ColumnsTo list all available columns on these special tables, use: sp_columns ModifyOutwardGroupLine sp_columns ModifyInwardGroupLine Example Scenarios:Scenario 1 - Updating a non-grouped item in a mixed SalesOrder: A customer's SalesOrder contains three grouped items (bundles of sub-items) and five standalone line items. They need to update the description on one of the standalone lines. Before upgrade, any UPDATE to Scenario 2 - Directly editing a grouped item: A business needs to update the quantity of a specific sub-item within a bundle on a SalesOrder. Since the sub-item is part of a group, they must use Additional Notes:
Related Articles:QODBC Optimizer Rebuilding and Troubleshooting Understanding QODBC Virtual Tables (ModifyOutwardGroupLine)Understanding QODBC Virtual Tables (ModifyInwardGroupLine) Keywords:SalesOrder Line Grouped Items Error 3290 ModifyOutwardGroupLine ModifyInwardGroupLine Bug B01674 Bundle Items Assembly Line SalesOrder UPDATE QuickBooks SDK Hotfix v24.0.0.358
| |||||||
|
|
|||||||


