ProjectsById |
Catalog: Autotask
Schema: Projects
This is a read-only table function. The Autotask API may not support changing the data or the Invantive UniversalSQL driver for Autotask does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Autotask API.
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function ProjectsById. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
Name |
Data Type |
Required |
Default Value |
Documentation |
---|---|---|---|---|
id |
int64 |
☑ |
|
|
Columns of Table Function
The columns of the table function ProjectsById are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
actualBilledHours |
double |
Actual Billed Hours |
☐ |
|
actualHours |
double |
Actual Hours |
☐ |
|
changeOrdersBudget |
double |
Change Orders Budget |
☐ |
|
changeOrdersRevenue |
double |
Change Orders Revenue |
☐ |
|
companyID |
int32 |
Company ID |
☐ |
|
companyOwnerResourceID |
int32 |
Company-owner Resource ID |
☐ |
|
completedDateTime |
datetime |
Completed |
☐ |
|
completedPercentage |
int32 |
Completed Percentage |
☐ |
|
contractID |
int32 |
Contract ID |
☐ |
|
createDateTime |
datetime |
Created |
☐ |
|
creatorResourceID |
int32 |
Creator Resource ID |
☐ |
|
department |
int32 |
Department |
☐ |
|
description |
string |
Description |
☐ |
|
duration |
int32 |
Duration |
☐ |
|
endDateTime |
datetime |
End Date/Time |
☐ |
|
estimatedSalesCost |
double |
Estimated Sales Cost |
☐ |
|
estimatedTime |
double |
Estimated Time |
☐ |
|
extProjectNumber |
string |
External Project Number |
☐ |
|
extProjectType |
int32 |
External Project Type |
☐ |
|
id |
int64 |
ID |
☐ |
|
impersonatorCreatorResourceID |
int32 |
Imperonsator Creator Resource ID |
☐ |
|
laborEstimatedCosts |
double |
Labor Estimated Costs |
☐ |
|
laborEstimatedMarginPercentage |
double |
Labor Estimated Margin Percentage |
☐ |
|
laborEstimatedRevenue |
double |
Labor Estimated Revenue |
☐ |
|
lastActivityDateTime |
datetime |
Last Activity Date/Time |
☐ |
|
lastActivityPersonType |
int32 |
Last Acitvity Person Type |
☐ |
|
lastActivityResourceID |
int32 |
Last Activity Resource ID |
☐ |
|
opportunityID |
int32 |
Opportunity ID |
☐ |
|
organizationalLevelAssociationID |
int32 |
Organizational Level Association ID |
☐ |
|
originalEstimatedRevenue |
double |
Original Estimated Revenue |
☐ |
|
projectCostEstimatedMarginPercentage |
double |
Project Cost Estimated Margin Percentage |
☐ |
|
projectCostsBudget |
double |
Project Costs Budget |
☐ |
|
projectCostsRevenue |
double |
Project Costs Revenue |
☐ |
|
projectLeadResourceID |
int32 |
Project Lead Resource ID |
☐ |
|
projectName |
string |
Project Name |
☐ |
|
projectNumber |
string |
Project Number |
☐ |
|
projectType |
int32 |
Project Type |
☐ |
|
purchaseOrderNumber |
string |
Purchase Order Number |
☐ |
|
sgda |
double |
SGDA |
☐ |
|
startDateTime |
datetime |
Start Date/Time |
☐ |
|
status |
int32 |
Status |
☐ |
|
statusDateTime |
datetime |
Status Date/Time |
☐ |
|
statusDetail |
string |
Status Detail |
☐ |
|
10-06-2024 18:39 Version 24.1.3-BETA+4689