This creates one ItemInventoryAssembly with two lines. Note the FQSaveToCache field, set to True except on the last one.
INSERT INTO "ItemInventoryAssemblyLine" ("Name", "IsActive", "SalesDesc", "IncomeAccountRefListID", "COGSAccountRefListID", "AssetAccountRefListID", "ItemInventoryAssemblyLnItemInventoryRefListID", "ItemInventoryAssemblyLnQuantity", "FQSaveToCache") VALUES ('NewAssembly1', 1, 'QODBC New Assembly1', '1B0000-933270542', '1E0000-933270542', '60000-933270541', '5A0000-1197758364', 2.0, 1)
INSERT INTO "ItemInventoryAssemblyLine" ("Name", "IsActive", "SalesDesc", "IncomeAccountRefListID", "COGSAccountRefListID", "AssetAccountRefListID", "ItemInventoryAssemblyLnItemInventoryRefListID", "ItemInventoryAssemblyLnQuantity", "FQSaveToCache") VALUES ('NewAssembly1', 1, 'QODBC New Assembly1', '1B0000-933270542', '1E0000-933270542', '60000-933270541', '5B0000-1197761433', 1.0, 0)
and the result looks like this in QuickBooks 2006:
See also: Trying to update ItemInventoryAssemblyLine table
|