EstimateItems
Create, Update and Query the Estimate Item in TSheets.
Table Specific Information
Select
Query the EstimateItems table. The add-in will use the QuickBooks Time API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the add-in.
- Id supports the '=,IN'
- EstimateId supports the '=,IN'
- Active supports the '='
- LastModified supports the '<,<=,>,>='
- SupplementalData supports the '='
For example, the following queries are processed server side:
SELECT * FROM EstimateItems SELECT * FROM EstimateItems WHERE Id = '11531340'
Insert
Insert can be executed by specifying EstimateId, Type and TypeId column. The columns that are not required can be inserted optionally. Following is an example of how to insert into this table
INSERT INTO EstimateItems (EstimateId, Type, TypeId) VALUES (47482, 'tag_clouds', 15011650)
Update
Update can be executed by specifying the Id in the WHERE Clause. The columns that are not read-only can be Updated.
For example:
UPDATE EstimateItems SET EstimatedSeconds = 2 WHERE Id = '11531340'
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | Integer | True |
Id of the Estimate item. |
EstimateId | Integer | False |
The estimate this estimate item belongs to. |
EstimatedSeconds | Integer | False |
The estimated number of seconds. |
Active | Boolean | False |
Boolean value. If false, this estimate is considered deleted. |
Created | Datetime | True |
Date/time when this estimate was created. |
LastModified | Datetime | True |
Date/time when this estimate was last modified. |
Type | String | False |
The estimate item type. One of 'none' or 'tag_clouds'. NOTE: A type of 'tag_clouds' should be 'customfields' instead. This will be corrected soon. |
TypeId | Integer | False |
The customfield item id if type is 'tag_clouds'. |
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 |
SupplementalData | Boolean |
Default value is 'yes'. Indicates whether supplemental data should be specified. |