Combo Groups When Creating from API

Tags: v9preview3 v9

In V9Preview3, the API method AddOrderCombo has been modified: the argument IReadOnlyDictionary<Guid, IOrderCookingItemStub> comboItems has been replaced with IReadOnlyDictionary<ComboGroupIdAndName, IOrderCookingItemStub> comboItems. Additionally, a new class ComboGroupIdAndName has been introduced for this change.

This modification allows the desired name of the dish group of the combo to be passed to SyrveFront. This is applicable when generating reports using the OLAP sales report in cases where multiple combo groups contain the same dishes (see the Combo Name field).

A similar change has been made to the API method UpdateOrderComboItems.

IMPORTANT

Due to these modifications, when transitioning to API versions V9Preview3 and above, it is necessary to correct the usage of the aforementioned methods in the plugins being used. It should be noted that in ComboGroupIdAndName the GroupName cannot have a value of null. If the group name is not significant for you, simply pass an empty string.