SSIS Components for Reckon

Build 24.0.9062

InventoryAdjustments

Create, query, and delete QuickBooks Inventory Adjustments.

Table Specific Information

InventoryAdjustments may be inserted, queried, or deleted via the InventoryAdjustments or InventoryAdjustmentLineItems tables. InventoryAdjustments may be deleted by using the InventoryAdjustments table.

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.

Reckon allows only a small subset of columns to be used in the WHERE clause of a SELECT query. These columns can typically be used with only the equals or = comparison. The available columns for InventoryAdjustments are Id, Date, TimeModified, ReferenceNumber, CustomerName, CustomerId, Account, and AccountId. TimeModified and Date may be used with the >, >=, <, <=, or = conditions and may be used twice to specify a range. ReferenceNumber may be used with the = or LIKE conditions to establish a starts-with, ends-with, or contains syntax. For example:

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

Insert

To add an InventoryAdjustment, specify an Account and at least one Line Item. To add a Line Item, either the ItemName or the ItemId is required, as well as either ItemNewQuantity, ItemNewValue, ItemQuantityDiff, or ItemValueDiff. The ItemAggregate columns may be used to specify an XML aggregate of Line Item data. The columns that may be used in these aggregates are defined in the InventoryAdjustmentLineItems tables and it starts with Item. For example, the following will insert a new InventoryAdjustment with two Line Items:

INSERT INTO InventoryAdjustments (Account, ItemAggregate) 
VALUES ('Cost of Good Sold', '<InventoryAdjustmentLineItems>
<Row><ItemName>Wood Door:Exterior</ItemName><ItemNewQuantity>100</ItemNewQuantity></Row>
<Row><ItemName>Wood Door:Interior</ItemName><ItemNewQuantity>200</ItemNewQuantity></Row>
</InventoryAdjustmentLineItems>')

To insert subitems, set the ItemName field to the FullName of the item; for example, '<Row><ItemName>Subs:Carpet</ItemName><ItemQuantity>0</ItemQuantity></Row>'

Columns

Name Type ReadOnly References Description
ID [KEY] String True

The unique identifier.

ReferenceNumber String False

The transaction reference number.

Account String False

Accounts.FullName

The account the inventory adjustment is associated with. Either Account or AccountId is required on insert.

AccountId String False

Accounts.ID

The account the inventory adjustment is associated with. Either Account or AccountId is required on insert.

Class String False

Class.FullName

A reference to the class for the inventory adjustment.

ClassId String False

Class.ID

A reference to the class for the inventory adjustment.

CustomerName String False

Customers.FullName

The name of the customer on the inventory adjustment.

CustomerId String False

Customers.ID

The Id of the customer on the inventory adjustment.

Memo String False

A memo regarding this transaction.

Date Date False

The date of the transaction.

ItemCount Integer True

The number of line items for the inventory adjustment.

ItemAggregate String False

An aggregate of the Line Item data which can be used for adding an inventory adjustment and its line item data.

EditSequence String True

An identifier used for versioning for this copy of the object.

TimeModified Datetime True

When the inventory adjustment was last modified.

TimeCreated Datetime True

When the inventory adjustment was created.

Pseudo-Columns

Pseudo Column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Item* String

All line-item-specific columns may be used in insertions or updates.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062