# EmployeeHourLogs: Bouw7 Employee Hour Logs Returns a list of employee hour logs associated with your organization. Returns a list of employee hour logs associated with your organization. - Catalog: `Bouw7` - Schema: `HourLog` - Label: Employee Hour Logs 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 `EmployeeHourLogs`. 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 | |---|:---:|:---:|:---:|---| | `q` | `` | ☐ | | A [Heimdall Query Language](https://heimdall.bouw7.nl/docs/query-language) string | ## Columns of Table Function The columns of the table function `EmployeeHourLogs` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `approvedAt` | `datetime` | Approved at | ☐ | The time this hour log entry was approved at. | | `approvedBy_id` | `int64` | Approved by ID | ☐ | The ID of the user. | | `approvedBy_username` | `varchar2` | Approved by User Name | ☐ | The username. The e-mail address the user uses to sign in. | | `bookingStatus` | `int64` | Booking Status | ☐ | The booking status of this entry. 0 = Registered, 1 = Invoiced, 2 = Not billable, 3 = Credited. | | `comment` | `varchar2` | Comment | ☐ | The remark added to this entry. | | `createdAt` | `datetime` | Created at | ☐ | The creation date of the object in ATOM/ISO-8601 format | | `createdBy_id` | `int64` | Created by ID | ☐ | The ID of the user. | | `createdBy_username` | `varchar2` | Created by User Name | ☐ | The username of the user. | | `employee_departmentId` | `int64` | Employee Department ID | ☐ | The ID of the department this employee is enrolled in. | | `employee_exactSalaryFrequency` | `int64` | Employee Exact Salary Frequency | ☐ | The exact salary frequency of this employee. | | `employee_firstName` | `varchar2` | Employee First Name | ☐ | The given name of this employee. | | `employee_id` | `int64` | Employee ID | ☐ | The ID of the employee. | | `employee_lastName` | `varchar2` | Employee Last Name | ☐ | The family name of this employee. | | `endTime` | `varchar2` | End Time | ☐ | The end time of the workday. Only available if enabled for your organization. | | `exactUpdatedAt` | `varchar2` | | ☐ | The last time the entity was updated in Exact Online in ATOM format. | | `hourlyRate` | `varchar2` | Hourly Rate | ☐ | The hourly rate. | | `hours` | `varchar2` | Hours | ☐ | The amount of hours logged to this entry. | | `id` | `int64` | ID | ☐ | The ID of the hour log. | | `invoicedAmount` | `varchar2` | Invoiced Amount | ☐ | The amount to invoice for this hour log entry. | | `invoiceLine_id` | `int64` | Invoice Line ID | ☐ | The ID of the invoice line. | | `invoiceLine_invoiceId` | `int64` | | ☐ | The ID of the invoice this invoice line belongs to. | | `invoiceLine_invoiceStatusId` | `int64` | | ☐ | The ID of the status of the invoice this line belongs to. | | `isApproved` | `char` | Is Approved | ☐ | Whether this hour log entry has been approved for processing. | | `isExternal` | `char` | Is External | ☐ | Whether the employee associated with this hour log entry is external. | | `isMutable` | `char` | | ☐ | Whether the booked item is mutable. | | `isPaidOff` | `char` | Is Paid Off | ☐ | Whether this price of this hour log entry has been paid off. | | `isScabPaidOff` | `char` | Is Scab Paid Off | ☐ | Whether this price of this hour log entry has been paid off for scab users. | | `logDate` | `datetime` | Log Date | ☐ | The log date of this entry. ATOM format. | | `project_branchId` | `int64` | Project Branch ID | ☐ | The ID of the branch of this project. | | `project_categoryId` | `int64` | Project Category ID | ☐ | The ID of the category of this project. | | `project_contactName` | `varchar2` | Project Contact Name | ☐ | The name of the contact associated with this project. | | `project_executorName` | `varchar2` | Project Executor Name | ☐ | The full name of the executor associated with this project. | | `project_id` | `int64` | Project ID | ☐ | The ID of the project. | | `project_name` | `varchar2` | Project Name | ☐ | The name of the project. | | `project_number` | `varchar2` | Project Number | ☐ | The number of the project. | | `project_projectLeaderName` | `varchar2` | Project Project Leader Name | ☐ | The full name of the project leader associated with this project. | | `project_status` | `varchar2` | Project Status | ☐ | The name of the current status of this project. | | `project_statusId` | `int64` | Project Status ID | ☐ | The ID of the status of this project. | | `project_workPlannerName` | `varchar2` | Project Work Planner Name | ☐ | The full name of the work planner associated with this project. | | `projectSecurityLink_code` | `varchar2` | Project Security Link Code | ☐ | The security code. | | `projectSecurityLink_costType` | `int64` | | ☐ | The name of the cost type. | | `projectSecurityLink_id` | `int64` | Project Security Link ID | ☐ | The ID of the project security link. | | `projectSecurityLink_name` | `varchar2` | Project Security Link Name | ☐ | The name of the project security link. | | `projectSecurityLink_parentName` | `varchar2` | | ☐ | The name of the security code. | | `projectSecurityLink_projectId` | `int64` | Project Security Link Project ID | ☐ | The ID of the project associated with this security code. | | `projectSecurityLink_status` | `int64` | Project Security Link Status | ☐ | The status of the project security link. | | `startTime` | `varchar2` | Start Time | ☐ | The start time of the workday. Only available if enabled for your organization. | | `type_id` | `int64` | Type ID | ☐ | The ID of the hour type. | | `type_name` | `varchar2` | Type Name | ☐ | The name of the hour type. | | `updatedAt` | `datetime` | Updated At | ☐ | The creation date of the object in ATOM/ISO-8601 format | | `updatedBy_id` | `int64` | Updated by ID | ☐ | The ID of the user. | | `updatedBy_username` | `varchar2` | Updated by User Name | ☐ | The username of the user. |