# SubrecipeIngredients: Horeko Subrecept Ingrediënten Returns subrecipes Returns list of subrecipes. Available sort options: Id,Name,CreatedOn,LastModifiedOn 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: `Subrecipe` - Label: Subrecipe Ingredients ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `ingredientId` | `int32` | ☐ | | filter subrecipes that contain this ingredient | | `lastAffectedOn` | `datetime` | ☐ | | filter subrecipes that have been updated after this date (format yyyy-mm-dd hh:mm:ss) | | `lastUpdatedOn` | `datetime` | ☐ | | filter subrecipes updated after this date (format yyyy-mm-dd hh:mm:ss) | | `loadChildrenFolders` | `boolean` | ☐ | | check for subrecipes contained into subfolders of the folders in FolderIds | | `sortBy` | `string` | ☐ | | comma separated list of available options for sorting | | `sortDescending` | `boolean` | ☐ | | true = descending \| false = asceding. default is false | | `subrecipeId` | `int32` | ☐ | | filter subrecipes that contain this subrecipe | | `typeId` | `int32` | ☐ | | subrecipe type id | ## Columns The columns of the table `SubrecipeIngredients` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `Amount` | `double` | Amount | ☐ | | | `CreatedOn` | `datetime` | Created On | ☐ | | | `CustomerCategories` | `int32` | Customer Categories | ☐ | | | `Description` | `string` | Description | ☐ | | | `ExpirationDays` | `double` | Expiry (days) | ☐ | | | `Folder_Id` | `int32` | Folder ID | ☐ | | | `Folder_Name` | `string` | Folder Name | ☐ | | | `HTMLDescription` | `string` | HTML Description | ☐ | | | `Id_2` | `int32` | | ☐ | | | `Id` | `int32` | ID | ☐ | | | `IsValid` | `boolean` | Is Valid | ☐ | | | `LastModifiedOn` | `datetime` | Last Modified On | ☐ | | | `LineNumber` | `int32` | Line Number | ☐ | | | `Name_2` | `string` | | ☐ | | | `Name` | `string` | Name | ☐ | | | `Preparation` | `string` | Preparation | ☐ | | | `PreparationTime` | `string` | Preparation Time | ☐ | | | `Presentation` | `string` | Presentation | ☐ | | | `Quantity` | `double` | Quantity | ☐ | | | `Recipe` | `string` | Recipe | ☐ | | | `RecipeComments` | `string` | Recipe Remarks | ☐ | | | `Type_Id_2` | `int32` | | ☐ | | | `Type_Id` | `int32` | Type ID | ☐ | | | `Type_Name_2` | `string` | | ☐ | | | `Type_Name` | `string` | Type Name | ☐ | | | `Unit` | `int32` | Unit | ☐ | | | `UnitType_Id` | `int32` | Unit Type ID | ☐ | | | `UnitType_Name` | `string` | Unit Type Name | ☐ | | | `WashingTime` | `string` | Washing Time | ☐ | |