Files
This table contains a list of file objects.
Table Specific Information
Select
The add-in uses 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 and UploadByUserIds fields support the =, IN operators.
- ActiveStatus filter supports the = operator.
- LastModified field supports the <=, <, >=, >, = operators.
For example, the following queries are processed server-side:
SELECT * FROM Files WHERE Name IN ('IMG_20181004_214839.png', 'healthy.jpg')
SELECT * FROM Files WHERE LastModified = '2019-01-01 15:30' AND ActiveStatus = 'both'
Update
When executing UPDATE queries, specify the Id in the WHERE clause.
For example:
UPDATE Files SET FileDescription = 'test' WHERE Id = '3688644'
Delete
When executing DELETE queries, specify the Id in the WHERE clause.
For example:
DELETE FROM Files WHERE Id = '3688644'
Columns
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | True |
Id of this file. |
| Name | String | False |
Name of this file. |
| UploadByUserId | Int | True |
Id of the user that uploaded this file. |
| Active | Boolean | True |
If false, this file is considered deleted. |
| Size | Int | True |
Size of the file in bytes. |
| Created | Datetime | True |
Date/time when this customfield was created |
| LastModified | Datetime | True |
Date/time when this customfield was last modified. |
| FileDescription | String | False |
Description of this file. |
| ImageRotation | Int | False |
Original image orientation in degrees. Accepted values are: 0 (top), 90 (right), 180 (bottom), 270 (left). |
| LinkedObjects | String | True |
This is a key/value map of all the objects linked to this file and the corresponding object ids. |
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 |
| ActiveStatus | String |
Filter column for whether to fetch only active records, only archived records, or both. By default, only active records are fetched. Possible values are: yes, no, both |