# WasteStatisticsByDateRange: Horeko Waste Statistics by Date Range 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: `Waste` - Label: Waste Statistics by Date Range ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `employeeName` | `string` | ☐ | | | | `endDate` | `datetime` | ☑ | 12/31/2999 00:00:00 | | | `locationId` | `int32` | ☐ | | | | `startDate` | `datetime` | ☑ | 01/01/2020 00:00:00 | | | `wasteType` | `int32` | ☐ | | 0: Dish; 1: Subrecipe; 2: Ingredient; | ## Columns The columns of the table `WasteStatisticsByDateRange` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `DUMMY` | `string(1)` | Dummy | ☑ | Default column added because the specification states that no data is returned. |