Estimates
Create, Update and Query the Estimates in TSheets.
Table Specific Information
Select
Query the Estimates table. The connector 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 connector.
- Id supports the '=,IN'
- Active supports the '='
- LastModified supports the '<,<=,>,>='
- SupplementalData supports the '='
For example, the following queries are processed server side:
SELECT * FROM Estimates SELECT * FROM Estimates WHERE Id = '11531340'
Insert
Insert can be executed by specifying ProjectId and EstimatedBy column. The columns that are not required can be inserted optionally. Following is an example of how to insert into this table
INSERT INTO Estimates (ProjectId, EstimatedBy) VALUES (2064876, 'none')
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 Estimates SET Active = true WHERE Id = '11531340'
Columns
Name | Type | ReadOnly | Description |
Id [KEY] | Integer | True |
Id of the Estimate. |
ProjectId | Integer | True |
Id of the associated Project. |
EstimatedBy | String | False |
The estimate type. Values are one of 'none' or 'customfields'. |
EstimateById | Integer | True |
The customfield id if estimate_by value is 'customfields'. |
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. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
SupplementalData | Boolean |
Default value is 'yes'. Indicates whether supplemental data should be specified. |