StandardTerms
Create, update, delete, and query QuickBooks Standard Terms.
Table Specific 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.
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 StandardTerms records are Id, TimeModified, Name, and IsActive. TimeModified may be used with the >, >=, <, <=, or = conditions and may be used twice to specify a range. Name may be used with the = or LIKE conditions to establish a starts-with, ends-with, or contains syntax. For example:
SELECT * FROM StandardTerms WHERE TimeModified > '1/1/2011' AND TimeModified < '2/1/2011' AND Name LIKE '%12345%'
Insert
To insert a StandardTerm, specify the Name column.Columns
Name | Type | ReadOnly | References | ColumnSize | Description |
ID [KEY] | String | True | 255 |
The Id of the standard term. | |
Name | String | False | 100 |
The name of the standard term. | |
IsActive | Boolean | False |
Boolean indicating if the standard term is active. | ||
StdDueDays | Integer | False |
The number of days until payment is due. | ||
StdDiscountDays | Integer | False |
If payment is received within StdDiscountDays number of the days, then DiscountPct will apply to the payment. | ||
DiscountPct | Double | False |
If payment is received within StdDiscountDays number of days, then this discount will apply to the payment. DiscountPct must be between 0 and 100. | ||
EditSequence | String | True | 16 |
A string indicating the revision of the standard term. | |
TimeCreated | Datetime | True |
The time the standard term was created. | ||
TimeModified | Datetime | True |
The time the standard term was modified. |
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 |
MaxResults | String |
Maximum number of results to return. |