# EmployeeCustomAttributeValuesByEmployeeId: Bouw7 Employee Custom Attribute Values by Employee ID
Returns a single employee based on the given ID.
Returns a single employee based on the given ID.
- Catalog: `Bouw7`
- Schema: `Organization`
- Label: Employee Custom Attribute Values by Employee 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 `EmployeeCustomAttributeValuesByEmployeeId`. 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 `EmployeeCustomAttributeValuesByEmployeeId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `address` | `varchar2` | Address | ☐ | The address of the employee. |
| `afasWarehouse` | `varchar2` | AFAS Warehouse | ☐ | The warehouse material bookings of an employee will be booked on. Only applicable for AFAS. |
| `avatarFileHash` | `varchar2` | Avatar File Hash | ☐ | The hash of the avatar/profile picture of this employee. |
| `birthDate` | `datetime` | Birth Date | ☐ | The birth date of the employee. |
| `bsn` | `varchar2` | SSN | ☐ | The BSN of the employee. |
| `city` | `varchar2` | City | ☐ | The city of the employee. |
| `createdAt` | `datetime` | Created at | ☐ | The creation time of the entity. |
| `createdBy` | `varchar2` | Created by | ☐ | The user that created the entity. |
| `customAttribute_fieldType` | `varchar2` | Custom Attribute Field Type | ☐ | The I18N key of the field type. |
| `customAttribute_fieldTypeId` | `int64` | Custom Attribute Field Type ID | ☐ | The ID of the field type. |
| `customAttribute_id` | `int64` | Custom Attribute ID | ☐ | The ID of the custom attribute. |
| `customAttribute_isDisplayedOnCompletion` | `char` | Custom Attribute Is Displayed on Completion | ☐ | Whether the custom attribute is displayed on a completion document. |
| `customAttribute_isDisplayedOnInvoice` | `char` | Custom Attribute Is Displayed on Invoice | ☐ | Whether the custom attribute is displayed on an invoice document. |
| `customAttribute_isReadOnly` | `char` | Custom Attribute Is Read-only | ☐ | Whether the custom attribute is a read-only field. |
| `customAttribute_isRequired` | `char` | Custom Attribute Is Required | ☐ | Whether the custom attribute is a required field. |
| `customAttribute_name` | `varchar2` | Custom Attribute Name | ☐ | The name of the custom attribute. |
| `dateOfEmployment` | `varchar2` | Date of Employment | ☐ | The date of employment of the employee in Y-m-d format. |
| `dateOfResignation` | `varchar2` | Date of Resignation | ☐ | The date of resignation of the employee in Y-m-d format. |
| `department_id` | `int64` | Department ID | ☐ | ID of the department. |
| `department_name` | `varchar2` | Department Name | ☐ | Name of the department. |
| `employeeMail` | `varchar2` | Employee Mail | ☐ | The email of the employee. |
| `external` | `char` | External | ☐ | Whether the employee is external. |
| `firstName` | `varchar2` | First Name | ☐ | The first name of the employee. |
| `function` | `varchar2` | Function | ☐ | The function of the employee. |
| `hourlyRate` | `varchar2` | Hourly Rate | ☐ | The hourly rate |
| `id` | `int64` | ID | ☐ | The ID of the employee. |
| `lastName` | `varchar2` | Last Name | ☐ | The last name of the employee. |
| `payrollDivision_description` | `varchar2` | Payroll Division Description | ☐ | The description of the division. |
| `payrollDivision_exactDivisionId` | `varchar2` | Payroll Division Exact Division ID | ☐ | The division ID of an Exact Online environment. |
| `payrollDivision_glAccountCode` | `varchar2` | Payroll Division GL Account Code | ☐ | A default general ledger account code to use for sales related items. |
| `payrollDivision_glAccountCodePurchase` | `varchar2` | Payroll Division GL Account Code Purchase | ☐ | A default general ledger account code to use for purchase related items. |
| `payrollDivision_id` | `int64` | Payroll Division ID | ☐ | The ID of the division. |
| `payrollDivision_journalCode` | `varchar2` | Payroll Division Journal Code | ☐ | A default journal code to use for sales related items. |
| `payrollDivision_journalCodePurchase` | `varchar2` | Payroll Division Journal Code Purchase | ☐ | A default journal code to use for purchase related items. |
| `payrollDivision_salesInvoiceNumberPrefix` | `varchar2`(3) | Payroll Division Sales Invoice Number Prefix | ☐ | The prefix (3 digits) used to generate invoice number range per division. |
| `phoneNumber` | `varchar2` | Phone Number | ☐ | The phone number of the employee. |
| `scabEmployeeId` | `varchar2` | SCAB Employee ID | ☐ | The internal ID of the Scab employee associated with this employee. |
| `sellingHourlyRate` | `varchar2` | Selling Hourly Rate | ☐ | The selling hourly rate |
| `signatureFileHash` | `varchar2` | Signature File Hash | ☐ | The hash of the signature file of this employee. |
| `updatedAt` | `datetime` | Updated At | ☐ | The last updated time of the entity. |
| `updatedBy` | `varchar2` | Updated by | ☐ | The user that last updated the entity. |
| `userActivatedAt` | `varchar2` | User Activated at | ☐ | The activation date of the user in ATOM/ISO-8601 format. |
| `userInvitationSentAt` | `varchar2` | User Invitation Sent at | ☐ | The invitation date of the user in ATOM/ISO-8601 format, for as long as the user has not accepted the invitation to this organization, NULL otherwise. |
| `username` | `varchar2` | User Name | ☐ | The username of the user associated with this employee. |
| `userType` | `int64` | User Type | ☐ | The type of user associated with this employee. 0 = None, 1 = Admin, 2 = Basic, 3 = Platform. |
| `value` | `varchar2` | Value | ☐ | The value of the custom attribute. |
| `workhoursFriday` | `varchar2` | Work Hours Friday | ☐ | The standard amount of workhours on a friday. |
| `workhoursMonday` | `varchar2` | Work Hours Monday | ☐ | The standard amount of workhours on a monday. |
| `workhoursSaturday` | `varchar2` | Work Hours Saturday | ☐ | The standard amount of workhours on a saturday. |
| `workhoursSunday` | `varchar2` | Work Hours Sunday | ☐ | The standard amount of workhours on a sunday. |
| `workhoursThursday` | `varchar2` | Work Hours Thursday | ☐ | The standard amount of workhours on a thursday. |
| `workhoursTuesday` | `varchar2` | Work Hours Tuesday | ☐ | The standard amount of workhours on a tuesday. |
| `workhoursWednesday` | `varchar2` | Work Hours Wednesday | ☐ | The standard amount of workhours on a wednesday. |
| `workload` | `varchar2` | Work Load | ☐ | The workload of the employee, this value is ignored when the workhour fields contain a value. |
| `zipCode` | `varchar2` | ZIP Code | ☐ | ZIP code of the address. |