# HourLogs: Bouw7 Hour Logs Returns a list of hour logs associated with the given project. Returns a list of hour logs associated with the given project. - Catalog: `Bouw7` - Schema: `HourLog` - Label: 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 `HourLogs`. 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 | |---|:---:|:---:|:---:|---| | `project` | `` | ☑ | | Project ID | | `q` | `` | ☐ | | Filter collections with the [Heimdall Query Language](https://heimdall.bouw7.nl/docs/query-language) | ## Columns of Table Function The columns of the table function `HourLogs` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `approved` | `char` | Approved | ☐ | Whether this hour log has been approved. | | `comments` | `varchar2` | Comments | ☐ | The comments for this hour log. | | `contact_email` | `varchar2` | Contact Email | ☐ | The email address. | | `contact_id` | `int64` | Contact ID | ☐ | ID of contact. | | `contact_isVatShifted` | `char` | Contact Is VAT Shifted | ☐ | Whether VAT is shifted for the contact. | | `contact_name` | `varchar2` | Contact Name | ☐ | Name of contact. | | `contact_phoneNumber` | `varchar2` | Contact Phone Number | ☐ | The phone number of the contact. | | `createdAt` | `datetime` | Created at | ☐ | The creation time of the entity. | | `createdBy` | `varchar2` | Created by | ☐ | The user that created the entity. | | `employee_firstName` | `varchar2` | Employee First Name | ☐ | First name of the employee. | | `employee_id` | `int64` | Employee ID | ☐ | ID of the employee. | | `employee_lastName` | `varchar2` | Employee Last Name | ☐ | Last name of the 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. | | `hourType_id` | `int64` | Hour Type ID | ☐ | The ID of HourType. | | `hourType_name` | `varchar2` | Hour Type Name | ☐ | The name of the HourType. | | `id` | `int64` | ID | ☐ | The ID of the hour log. | | `invoiceAmount` | `varchar2` | Invoice Amount | ☐ | The amount that will be shown on the invoice. | | `isEditable` | `char` | | ☐ | Whether this hour log is editable and deletable. | | `isMutable` | `char` | | ☐ | Whether the hour log booking is mutable. Applicable only if this hour log belongs to a employee, otherwise null. | | `logDate` | `datetime` | Log Date | ☐ | The date for which the hours were logged. | | `logHours` | `varchar2` | Log Hours | ☐ | The amount of hours logged. | | `paidOff` | `char` | Paid Off | ☐ | Whether this hour log has been paid off. | | `project_city` | `varchar2` | Project City | ☐ | The city of the project. | | `project_createdAt` | `datetime` | Project Created at | ☐ | The creation time of the entity. | | `project_createdBy` | `varchar2` | Project Created by | ☐ | The user that created the entity. | | `project_deliveryDate` | `datetime` | Project Delivery Date | ☐ | Delivery date for the project. | | `project_endDate` | `datetime` | Project End Date | ☐ | End date for the project. | | `project_fullProjectNumber` | `varchar2` | Project Full Project Number | ☐ | The full project number including year. | | `project_houseNumber` | `varchar2` | Project House Number | ☐ | The house number for the project. | | `project_id` | `int64` | Project ID | ☐ | The ID of the project. | | `project_information` | `varchar2` | Project Information | ☐ | The information of the project. | | `project_name` | `varchar2` | Project Name | ☐ | The name of the project. | | `project_projectNumber` | `varchar2` | Project Project Number | ☐ | The project number. | | `project_reference` | `varchar2` | Project Reference | ☐ | The reference of the project. | | `project_startDate` | `datetime` | Project Start Date | ☐ | Start date for the project. | | `project_streetName` | `varchar2` | Project Street Name | ☐ | The street name for the project. | | `project_updatedAt` | `datetime` | Project Updated at | ☐ | The last updated time of the entity. | | `project_updatedBy` | `varchar2` | Project Updated by | ☐ | The user that last updated the entity. | | `project_zipCode` | `varchar2` | Project ZIP Code | ☐ | The zip code for the project. | | `projectSecurityLink_code` | `varchar2` | Project Security Link Code | ☐ | The code of the security code. | | `projectSecurityLink_id` | `int64` | Project Security Link ID | ☐ | The unique identifier of the project security link. | | `projectSecurityLink_name` | `varchar2` | Project Security Link Name | ☐ | The name of the project security link. | | `startTime` | `varchar2` | Start Time | ☐ | The start time of the workday. Only available if enabled for your organization. | | `updatedAt` | `datetime` | Updated At | ☐ | The last updated time of the entity. | | `updatedBy` | `varchar2` | Updated by | ☐ | The user that last updated the entity. |