CData Python Connector for QuickBooks

Build 24.0.9175

TransferInventoryLineItems

Handles individual line items within QuickBooks Inventory Transfers, supporting creation and queries for detailed inventory tracking.

Table Specific Information

TransferInventory transactions may be queried via the TransferInventory or TransferInventoryLineItems tables. TransferInventory transactions may be added by using the TransferInventoryLineItems table. Transfer-inventory transactions may be deleted by using the TransferInventory table. Updates to existing TransferInventory transactions are not supported at this time.

Select

By default, SupportEnhancedSQL is set to true, and the following will be honored if present. Other filters will be executed client side. If SupportEnhancedSQL is set to false, only the following filters will be honored.

QuickBooks allows only a small subset of columns to be used in the WHERE clause of a SELECT query. These columns can only be used with the equals or = comparison. The available columns for the TransferInventory table are Id, TxnDate, TimeModified, and RefNumber. TimeModified and TxnDate may be used with the >, >=, <, <=, or = conditions and may be used twice to specify a range. RefNumber may be used with the = or LIKE conditions to establish a starts-with, ends-with, or contains syntax. For example:

SELECT * FROM TransferInventoryLineItems WHERE TimeModified > '1/1/2011' AND TimeModified < '2/1/2011' AND RefNumber LIKE '%12345%'

Insert

To add a TransferInventory transaction, specify a FromInventorySite, ToInventorySite, and at least one Line Item. All Line Item columns can be used for inserting multiple Line Items for a new TransferInventory transaction. For example, the following will insert a new TransferInventory transaction with one Line Items:

INSERT INTO TransferInventoryLineItems#TEMP (FromInventorySiteRef_FullName, ToInventorySiteRef_FullName, ItemRef_FullName, QuantityToTransfer) VALUES ('Site A', 'Site B', 'Cabinets', 10)
INSERT INTO TransferInventoryLineItems#TEMP (FromInventorySiteRef_FullName, ToInventorySiteRef_FullName, ItemRef_FullName, QuantityToTransfer) VALUES ('Site A', 'Site B', 'Door Knobs', 12)
INSERT INTO TransferInventoryLineItems (FromInventorySiteRef_FullName, ToInventorySiteRef_FullName, ItemRef_FullName, QuantityToTransfer ) SELECT FromInventorySiteRef_FullName, ToInventorySiteRef_FullName, ItemRef_FullName, QuantityToTransfer FROM TransferInventoryLineItems#TEMP

Columns

Name Type ReadOnly References ColumnSize Description
ID [KEY] String True 255

The unique identifier for the transaction line item, formatted as TransferInventoryId|TransferInventoryLineRet_TxnLineID.

TransferInventoryId String False 255

The unique identifier of the parent inventory transfer transaction.

TxnDate Date False

The date when the inventory transfer occurred, formatted as YYYY-MM-DD. This field is required when inserting a transaction.

TxnNumber Integer True

A unique identifying number assigned to this transaction, typically used for tracking.

RefNumber String False 21

A user-defined reference number for the transaction, such as a document or tracking number.

FromInventorySiteRef_ListID String False

InventorySites.ID

255

The unique identifier (ListID) of the inventory site from which the inventory was transferred.

FromInventorySiteRef_FullName String False 31

The full name of the inventory site from which the inventory was transferred.

ToInventorySiteRef_ListID String False

InventorySites.ID

255

The unique identifier (ListID) of the inventory site to which the inventory was transferred.

ToInventorySiteRef_FullName String False 31

The full name of the inventory site to which the inventory was transferred.

Memo String False 5000

Optional additional notes or information about the transaction.

ExternalGUID String False

A user-defined globally unique identifier (GUID) that can be attached to this transaction for tracking purposes.

TransferInventoryLineRet_TxnLineID String True 255

The unique identifier for the transaction line item within the transfer.

TransferInventoryLineRet_ItemRef_ListID String False

Items.ID

255

The unique identifier (ListID) of the item that was transferred.

TransferInventoryLineRet_ItemRef_FullName String False

The full name of the item that was transferred.

TransferInventoryLineRet_FromInventorySiteLocationRef_ListID String False 255

The unique identifier (ListID) of the specific location within the source inventory site where the transfer originated.

TransferInventoryLineRet_FromInventorySiteLocationRef_FullName String False

The full name of the specific location within the source inventory site where the transfer originated.

TransferInventoryLineRet_ToInventorySiteLocationRef_ListID String False 255

The unique identifier (ListID) of the specific location within the destination inventory site where the transfer was sent.

TransferInventoryLineRet_ToInventorySiteLocationRef_FullName String False

The full name of the specific location within the destination inventory site where the transfer was sent.

TransferInventoryLineRet_QuantityToTransfer Double False

The quantity of items to be transferred. This value is used when creating a transfer transaction.

TransferInventoryLineRet_QuantityTransferred Double True

The quantity of items that were actually transferred. This value is returned in the response.

TransferInventoryLineRet_SerialNumber String False 5000

The serial number of the transferred item, if applicable.

TransferInventoryLineRet_LotNumber String False 40

The lot number associated with the transferred item, if applicable.

TimeCreated Datetime True

The date and time when the transaction was created, formatted as YYYY-MM-DD HH:MM:SS.

TimeModified Datetime True

The date and time when the transaction was last modified, formatted as YYYY-MM-DD HH:MM:SS.

EditSequence String True 16

A unique identifier used for version control to ensure the transaction data is current.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 24.0.9175