StandardTerms
Handles QuickBooks Standard Terms, allowing creation, updates, deletion, and queries for payment terms configuration.
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 |
A unique identifier for the standard payment term, used to distinguish it from others in QuickBooks. | |
Name | String | False | 100 |
The name assigned to the standard payment term, typically descriptive of the term's purpose or condition (for example, 'Net 30'). | |
IsActive | Boolean | False |
Indicates whether the payment term is currently active and available for use in transactions. | ||
StdDueDays | Integer | False |
The number of days from the transaction date that payment is expected to be received. For example, '30' means payment is due 30 days after the invoice date. | ||
StdDiscountDays | Integer | False |
The number of days within which a payment must be made to qualify for a discount. This is typically used in conjunction with the DiscountPct field. | ||
DiscountPct | Double | False |
The percentage discount offered if payment is made within the number of days specified in StdDiscountDays. The value must be between 0 and 100 (for example, '2' represents a 2% discount). | ||
EditSequence | String | True | 16 |
A system-generated identifier indicating the version or revision of this record, used for conflict detection in updates. | |
TimeCreated | Datetime | True |
The date and time when this payment term record was initially created in QuickBooks. | ||
TimeModified | Datetime | True |
The date and time when this payment term record was last updated or 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 |
Specifies the maximum number of records to retrieve in a query, allowing control over the result set size. |