# CustomAttributeById: Bouw7 Custom Attribute by ID
Returns a single custom attribute based on the given ID.
Returns a single custom attribute based on the given ID.
- Catalog: `Bouw7`
- Schema: `Organization`
- Label: Custom Attribute by ID
This is a read-only table function. The Bouw7 API may not support changing the data or the Invantive UniversalSQL driver for Bouw7 does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Bouw7 API.
## Parameters of Table Function
The following parameters can be used to control the behaviour of the table function `CustomAttributeById`. 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` | `` | ☑ | | |
## Columns of Table Function
The columns of the table function `CustomAttributeById` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `createdAt` | `datetime` | Created at | ☐ | The creation time of the entity. |
| `createdBy` | `varchar2` | Created by | ☐ | The user that created the entity. |
| `fieldType` | `varchar2` | Field Type | ☐ | The I18N key of the field type. |
| `fieldTypeId` | `int64` | Field Type ID | ☐ | The ID of the field type. |
| `id` | `int64` | ID | ☐ | The ID of the custom attribute. |
| `isDisplayedOnCheckoutDocument` | `char` | Is Displayed on Checkout Document | ☐ | Whether the custom attribute is displayed on a checkout document. |
| `isDisplayedOnCompletion` | `char` | Is Displayed on Completion | ☐ | Whether the custom attribute is displayed on a completion document. |
| `isDisplayedOnContract` | `char` | Is Displayed on Contract | ☐ | Whether the custom attribute is visible on a contract. |
| `isDisplayedOnDelivery` | `char` | Is Displayed on Delivery | ☐ | Whether the custom attribute is displayed on a delivery document. |
| `isDisplayedOnExtraWork` | `char` | Is Displayed on Extra Work | ☐ | Whether the custom attribute is displayed on a extra work document. |
| `isDisplayedOnGarbage` | `char` | Is Displayed on Garbage | ☐ | Whether the custom attribute is displayed on a waste document and object. |
| `isDisplayedOnHourRegister` | `char` | Is Displayed on Hour Register | ☐ | Whether the custom attribute is displayed on a hour register document. |
| `isDisplayedOnInvoice` | `char` | Is Displayed on Invoice | ☐ | Whether the custom attribute is displayed on an invoice document. |
| `isDisplayedOnMaterial` | `char` | Is Displayed on Material | ☐ | Whether the custom attribute is displayed on a material document and object. |
| `isDisplayedOnOutsourcing` | `char` | Is Displayed on Outsourcing | ☐ | Whether the custom attribute is displayed on a outsourcing document and object. |
| `isDisplayedOnQhse` | `char` | Is Displayed on QHSE | ☐ | Whether the custom attribute is displayed on a QHSE document. |
| `isReadOnly` | `char` | Is Read-only | ☐ | Whether the custom attribute is a read-only field. |
| `isRequired` | `char` | Is Required | ☐ | Whether the custom attribute is a required field. |
| `name` | `varchar2`(256) | Name | ☐ | The name of the custom attribute. |
| `ownerType` | `varchar2` | Owner Type | ☐ | The I18N key of the owner type, 0 = project, 1 = contact, 3 = employee, 4 = property_asset, 5 = journal_report |
| `ownerTypeId` | `int64` | Owner Type ID | ☐ | The ID of the owner type. |
| `updatedAt` | `datetime` | Updated At | ☐ | The last updated time of the entity. |
| `updatedBy` | `varchar2` | Updated by | ☐ | The user that last updated the entity. |