CData BizTalk Adapter for QuickBooks Online 2019 - Online Help
Questions / Feedback?

VendorCreditLineItems

CData BizTalk Adapter for QuickBooks Online 2019 - Build 19.0.7354

Create, update, delete, and query QuickBooks Vendor Credit Line Items.

Table Specific Information

VendorCredits may be inserted, queried, or updated via the VendorCredits or VendorCreditLineItems tables. VendorCredits may be deleted by using the VendorCredits table.

Insert

To add a VendorCredit, specify the Vendor, TotalAmt, and at least one Line Item. All columns denoted with a # are Line Item columns and can be used for inserting multiple Line Items for a new VendorCredit transaction. For example, the following will insert a new VendorCredit with two Line Items:

INSERT INTO VendorCreditLineItems (VendorRef, Line_Amount#1, Line_DetailType#1, Line_AccountBasedExpenseLineDetail_CustomerRef#1, Line_AccountBasedExpenseLineDetail_AccountRef#1, Line_Amount#2, Line_DetailType#2, Line_AccountBasedExpenseLineDetail_CustomerRef#2, Line_AccountBasedExpenseLineDetail_AccountRef#2, TotalAmt) VALUES ('21', 0.01, 'AccountBasedExpenseLineDetail', '4', '41', 0.02, 'AccountBasedExpenseLineDetail', '4', '41', 0.03)

Columns

Name Type ReadOnly References Filterable Sortable Description
LineId [KEY] String True false true

The Id of the line item on the vendor credit.

VendorCreditId [KEY] String False

VendorCredits.Id

true false

The Id of the vendor credit.

SyncToken String False false false

The sync token. This must be specified when executing an update or delete.

MetaData_CreateTime Datetime True true true

The time the record was created.

MetaData_LastUpdatedTime Datetime True true true

The time the record was last updated.

DocNumber String False true true

The primary document number for this transaction. If it is not provided, QuickBooks business logic will assign the document number using the next-in-sequence algorithm.

TxnDate Date False true true

The date of the transaction. Often, but not required to be, this value is the date the transaction was created in the system. For posting transactions, this is the posting date that affects financial statements

PrivateNote String False false false

A private note about the transaction. This note will not appear on the transaction records by default.

DepartmentRef String False

Departments.Id

false false

The reference number for the transaction.

DepartmentRef_Name String True

Departments.Name

false false

The reference number for the transaction.

Line_Id# String False false false

The Id of the line item.

Line_Description# String False false false

The description of the line item that appears in the printed record.

Line_Amount# Decimal False false false

Total amount of the charges or discounts for the given line item. Includes the charges and allowances, but it excludes the tax amount.

Line_DetailType# String False false false

The detail type of the line item.

Line_AccountBasedExpenseLineDetail_CustomerRef# String False

Customers.Id

false false

The Id of the customer in the expense.

Line_AccountBasedExpenseLineDetail_CustomerRef_Name# String True

Customers.DisplayName

false false

The name of the customer in the expense.

Line_AccountBasedExpenseLineDetail_ClassRef# String False

Class.Id

false false

The Id of the class for the expense.

Line_AccountBasedExpenseLineDetail_ClassRef_Name# String True

Class.FullyQualifiedName

false false

The name of the class for the expense.

Line_AccountBasedExpenseLineDetail_AccountRef# String False

Accounts.Id

false false

The Id of the account associated with the expense.

Line_AccountBasedExpenseLineDetail_AccountRef_Name# String True

Accounts.Name

false false

The name of the account associated with the expense.

Line_AccountBasedExpenseLineDetail_BillableStatus# String False false false

The billable status of this type of line item.

Line_AccountBasedExpenseLineDetail_TaxCodeRef# String False

TaxCodes.Id

false false

The reference to the tax code used for this line.

Line_ItemBasedExpenseLineDetail_ItemRef# String False

Items.Id

false false

The Id of the item associated with the expense.

Line_ItemBasedExpenseLineDetail_ItemRef_Name# String True

Items.Name

false false

The name of the item associated with the expense.

Line_ItemBasedExpenseLineDetail_ClassRef# String False

Class.Id

false false

The Id of the class for the expense.

Line_ItemBasedExpenseLineDetail_ClassRef_Name# String True

Class.FullyQualifiedName

false false

The name of the class for the expense.

Line_ItemBasedExpenseLineDetail_UnitPrice# Decimal False false false

The unit price of the item for the expense.

Line_ItemBasedExpenseLineDetail_Qty# Double False false false

The number of items for the line.

Line_ItemBasedExpenseLineDetail_TaxCodeRef# String False

TaxCodes.Id

false false

The reference to the tax code used for this line.

Line_ItemBasedExpenseLineDetail_CustomerRef# String False

Customers.Id

false false

The Id of the customer in the expense.

Line_ItemBasedExpenseLineDetail_CustomerRef_Name# String True

Customers.DisplayName

false false

The name of the customer in the expense.

Line_ItemBasedExpenseLineDetail_BillableStatus# String False false false

The billable status of this type of line item.

VendorRef String False

Vendors.Id

true false

The Id of the vendor for this transaction.

VendorRef_Name String True

Vendors.DisplayName

false false

The name of the vendor for this transaction.

APAccountRef String False

Accounts.Id

true true

The accounts-payable account to which the bill is credited. If the company uses a single accounts-payable account, this account is implied. When specified, the account must be a Liability account and the subtype must be of type Payables.

APAccountRef_Name String True

Accounts.Name

false false

The accounts-payable account to which the bill is credited. This account is implied if the company uses a single accounts-payable account. When specified, the account must be a Liability account and the subtype must be of type Payables.

TotalAmt Decimal False true true

The total amount due, determined by the sum of the line item amounts. This includes all charges, allowances, taxes, and discounts.

CurrencyRef String False false false

The Id of the currency used in the transaction.

CurrencyRef_Name String True false false

The name of the currency used in the transaction.

ExchangeRate Decimal False false false

Currency exchange rate. Valid only if the company file is set up to use the multicurrency feature. In QuickBooks, exchange rates are always recorded as the number of home currency units it takes to equal one foreign currency unit. This field is available for the UK, AU, IN, and CA editions.

GlobalTaxCalculation String False false false

Method in which tax is applied. This field is valid in the UK, AU, IN, and CA editions.

The allowed values are TaxExcluded, TaxInclusive, NotApplicable.

 
 
Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 19.0.7354.0