# ManagerMarginProblemsByDishTypeID: Horeko Margin Problems by Dish Type ID (Manager) Returns Dishes with Margin Problems 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: `Statistics` - Label: Margin Problems by Dish Type ID (Manager) ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `dishTypeId` | `int32` | ☐ | | Dish Type Id \| when set to -1 will return dishes from all dish types | ## Columns The columns of the table `ManagerMarginProblemsByDishTypeID` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `Id` | `int32` | ID | ☐ | | | `ImagePath` | `string` | Image Path | ☐ | | | `MenuPrice` | `double` | Menu Price | ☐ | | | `Name` | `string` | Name | ☐ | | | `ProfitDiff` | `double` | Profit Difference | ☐ | | | `ProfitPercentage` | `double` | Profit Percentage | ☐ | | | `ProfitPercentageDiff` | `double` | Profit Percentage Difference | ☐ | | | `RealisedMarginPercentage` | `double` | | ☐ | | | `SalesIncludingTax` | `double` | Sales including Tax | ☐ | |