Combo groups when creating via API
[v9preview3
v9
]
In V9Preview3, the API method AddOrderCombo was modified: the IReadOnlyDictionary<Guid, IOrderCookingItemStub> comboItems argument was replaced with IReadOnlyDictionary<ComboGroupIdAndName, IOrderCookingItemStub> comboItems. Additionally, a new class ComboGroupIdAndName was introduced for this change.
This modification allows passing the desired name of the dish group of the combo in syrveFront. This is applicable when maintaining reports using the OLAP sales report for cases where several combo groups contain the same dishes (look at the Combo Name field).
A similar change was also implemented for the API method UpdateOrderComboItems
IMPORTANT
Due to these modifications, when switching to API versions V9Preview3 and higher, it is necessary to correct the application of the aforementioned methods in the plugins used. Note that in ComboGroupIdAndName, GroupName cannot have a null value. If the group name does not matter to you, simply pass an empty string.