CheckExpenseItems
Create, update, delete, and query Reckon Check Expense Line Items.
Table Specific Information
Checks may be inserted, queried, or updated via the Checks, CheckExpenseItems, or CheckLineItems tables. Checks may be deleted by using the Checks table.
This table has a Custom Fields column. See the Custom Fields page for more information.
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 Checks are Id, Date, ReferenceNumber, Payee, PayeeId, Account, AccountId, and TimeModified. 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 CheckExpenseItems WHERE TimeModified > '1/1/2011' AND TimeModified < '2/1/2011' AND ReferenceNumber LIKE '%12345%' SELECT * FROM CheckExpenseItems WHERE Date >= '2020-01-07' AND Date < '2020-01-10' SELECT * FROM CheckExpenseItems WHERE [Date] = '2020-01-07'
Insert
To add a Check, specify an Account, a Date, and at least one Expense or Line Item. All Expense Line Item columns can be used for inserting multiple Expense Line Items for a new Check transaction. For example, the following will insert a new Check with two Expense Line Items:
INSERT INTO CheckExpenseItems#TEMP (Account, Date, ExpenseAccount, ExpenseAmount) VALUES ('Checking', '1/1/2011', 'Utilities:Telephone', 52.25,) INSERT INTO CheckExpenseItems#TEMP (Account, Date, ExpenseAccount, ExpenseAmount) VALUES ('Checking', '1/1/2011', 'Professional Fees:Accounting', 235.87) INSERT INTO CheckExpenseItems (Account, Date, ExpenseAccount, ExpenseAmount) SELECT Account, Date, ExpenseAccount, ExpenseAmount FROM CheckExpenseItems#TEMP
Columns
Name | Type | ReadOnly | References | Description |
ID [KEY] | String | True |
The unique identifier in the format CheckId|ExpenseLineId. | |
CheckId | String | False |
Checks.ID |
The item identifier for the check. This is obtained from the Checks table. |
ReferenceNumber | String | False |
The transaction reference number. | |
TxnNumber | Integer | True |
The transaction number. An identifying number for the transaction, different from the Reckon-generated Id. | |
Account | String | False |
Accounts.FullName |
The name of the account funds are being drawn from. |
AccountId | String | False |
Accounts.ID |
The Id of the account funds are being drawn from. |
Payee | String | False |
Vendors.Name |
The name of the payee for the check. |
PayeeId | String | False |
Vendors.ID |
The Id of the payee for the check. |
Date | Date | False |
Date of transaction. If it is set in the WHERE clause of a SELECT query, the pseudo columns StartDate and EndDate are overwritten with the value. | |
Amount | Double | True |
Amount of the transaction. | |
Memo | String | False |
A memo regarding this transaction. | |
Address | String | True |
Full address returned by Reckon. | |
Line1 | String | False |
First line of the address. | |
Line2 | String | False |
Second line of the address. | |
Line3 | String | False |
Third line of the address. | |
Line4 | String | False |
Fourth line of the address. | |
Line5 | String | False |
Fifth line of the address. | |
City | String | False |
City name for the address of the check. | |
State | String | False |
State name for the address of the check. | |
PostalCode | String | False |
Postal code for the address of the check. | |
Country | String | False |
Country for the address of the check. | |
Note | String | False |
Note for the address of the check. | |
CustomFields | String | False |
Custom fields returned from Reckon and formatted into XML. | |
ExpenseLineId | String | True |
The line item identifier. | |
ExpenseAccount | String | False |
Accounts.FullName |
The account name for this expense line. |
ExpenseAccountId | String | False |
Accounts.ID |
The account Id for this expense line. |
ExpenseAmount | Double | False |
The total amount of this expense line. | |
ExpenseBillableStatus | String | False |
The billing status of this expense line. The allowed values are EMPTY, BILLABLE, NOTBILLABLE, HASBEENBILLED. The default value is EMPTY. | |
ExpenseCustomer | String | False |
Customers.FullName |
The customer associated with this expense line. |
ExpenseCustomerId | String | False |
Customers.ID |
The customer associated with this expense line. |
ExpenseClass | String | False |
Class.FullName |
The class name of this expense. |
ExpenseClassId | String | False |
Class.ID |
The class Id of this expense. |
ExpenseTaxCode | String | False |
SalesTaxCodes.Name |
Sales tax information for this item. Available in only international editions of Reckon. |
ExpenseTaxCodeId | String | False |
Sales tax Id information for this item. Available in only international editions of Reckon. | |
ExpenseMemo | String | False |
A memo for this expense line. | |
ExpenseCustomFields | String | True |
The custom fields for this expense item. | |
IsToBePrinted | Boolean | False |
Whether this transaction is to be printed. The default value is false. | |
IsTaxIncluded | Boolean | False |
Determines if tax is included in the transaction amount. Available in only international editions of Reckon. | |
ExchangeRate | Double | False |
The market price for which this currency can be exchanged for the currency used by the Reckon company file as the home currency. | |
TimeModified | Datetime | True |
When the check was last modified. | |
TimeCreated | Datetime | True |
When the check 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 |
StartTxnDate | String |
This pseudo column is deprecated and should no longer be used. Earliest transaction date to search for. |
EndTxnDate | String |
This pseudo column is deprecated and should no longer be used. Latest transaction date to search for. |
StartModifiedDate | String |
This pseudo column is deprecated and should no longer be used. Earliest modified date to search for. |
EndModifiedDate | String |
This pseudo column is deprecated and should no longer be used. Latest modified date to search for. |
ApplyCheckToTxnId | String |
Identifies the transaction to be paid by this check. This can be used in updates and inserts. |
ApplyCheckToTxnAmount | String |
The amount of the transaction to be paid by this check. This can be used in updates and inserts. |