# Hours: Horeko Hours Returns list of clocked hours Returns list of clocked hours in specified date range. Max batch size is 100 records. This is a read-only table function. The Horeko API may not support modifying the data, or the Invantive UniversalSQL driver for Horeko does not support it. In the latter case, use the table NativePlatformScalarRequests to upload data to the Horeko API. - Catalog: `Horeko` - Schema: `Hours` - Label: Hours ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `from` | `datetime` | ☑ | 01/01/2020 00:00:00 | Range start | | `lastUpdatedOn` | `datetime` | ☐ | | returns clocked hours updated after this value | | `status` | `int32` | ☐ | | clocked hours status: 0-Undecided \| 1-Approved \| 2-Disapproved (Values: 0, 1, 2) | | `to` | `datetime` | ☑ | 12/31/2999 00:00:00 | Range end | ## Columns The columns of the table `Hours` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `BreakLength` | `int32` | Break Duration | ☐ | | | `ClockedInBy_EmployeeNumber` | `string` | | ☐ | | | `ClockedInBy_FirstName` | `string` | | ☐ | | | `ClockedInBy_FullName` | `string` | | ☐ | | | `ClockedInBy_Id` | `int32` | | ☐ | | | `ClockedInBy_ImagePath` | `string` | | ☐ | | | `ClockedInBy_LastName` | `string` | | ☐ | | | `ClockedInBy_MiddleName` | `string` | | ☐ | | | `ClockedOutBy_EmployeeNumber` | `string` | | ☐ | | | `ClockedOutBy_FirstName` | `string` | | ☐ | | | `ClockedOutBy_FullName` | `string` | | ☐ | | | `ClockedOutBy_Id` | `int32` | | ☐ | | | `ClockedOutBy_ImagePath` | `string` | | ☐ | | | `ClockedOutBy_LastName` | `string` | | ☐ | | | `ClockedOutBy_MiddleName` | `string` | | ☐ | | | `ClockInMethod` | `int32` | Clock-In Method | ☐ | 0 = Fingerprint \| 1 = Android app \| 2 = iOS app \| 3 = PIN \| 4 = Manager \| 5 = Web app | | `ClockOutMethod` | `int32` | Clock-Out Method | ☐ | 0 = Fingerprint \| 1 = Android app \| 2 = iOS app \| 3 = PIN \| 4 = Manager \| 5 = Web app | | `Comment` | `string` | Comment | ☐ | | | `DepartmentName` | `string` | Department Name | ☐ | | | `Employee_EmployeeNumber` | `string` | | ☐ | | | `Employee_FirstName` | `string` | | ☐ | | | `Employee_FullName` | `string` | | ☐ | | | `Employee_Id` | `int32` | Employee ID | ☐ | | | `Employee_ImagePath` | `string` | | ☐ | | | `Employee_LastName` | `string` | | ☐ | | | `Employee_MiddleName` | `string` | | ☐ | | | `End` | `datetime` | End | ☐ | | | `Id` | `int32` | ID | ☐ | | | `ManagerComment` | `string` | Manager Comment | ☐ | | | `RoundedEnd` | `datetime` | Rounded End | ☐ | | | `RoundedStart` | `datetime` | Rounded Start | ☐ | | | `Shift_Break` | `int32` | | ☐ | | | `Shift_End` | `datetime` | | ☐ | | | `Shift_Id` | `int32` | Shift ID | ☐ | | | `Shift_Name` | `string` | | ☐ | | | `Shift_Start` | `datetime` | | ☐ | | | `Start` | `datetime` | Start | ☐ | | | `Status` | `int32` | Status | ☐ | 0 = Undecided \| 1 = Approved \| 2 = Disapproved | | `StatusChangedBy_EmployeeNumber` | `string` | | ☐ | | | `StatusChangedBy_FirstName` | `string` | | ☐ | | | `StatusChangedBy_FullName` | `string` | | ☐ | | | `StatusChangedBy_Id` | `int32` | | ☐ | | | `StatusChangedBy_ImagePath` | `string` | | ☐ | | | `StatusChangedBy_LastName` | `string` | | ☐ | | | `StatusChangedBy_MiddleName` | `string` | | ☐ | | | `StatusChangedDateTime` | `datetime` | Status Changed Date/Time | ☐ | | | `TeamName` | `string` | Team Name | ☐ | | | `UndefinedClockedInLocation` | `boolean` | Undefined Clocked-In Location | ☐ | | | `UndefinedClockedOutLocation` | `boolean` | Undefined Clocked-Out Location | ☐ | | | `WorkedTimeExcludingBreaks` | `double` | Working Time excluding Breaks | ☐ | | | `WorkedTimeIncludingBreaks` | `double` | Worked Time including Breaks | ☐ | |