One of the main concepts in the system is the concept of a Trade Group.
A Trade Group is a collection of diverse trade objects created for use in specific conditions.
In other words, a Trade Group is a set that contains the following items for use in specific conditions: menu items, discounts, modifiers, commission agents, order types, and currencies. A trade group operates within a package, under the conditions that existed at the time the package was created.
Different trade groups include different sets of trade objects. At any given moment, the availability of trade objects at each individual station depends on the active trade group. The conditions that determine the operation of trade groups are specified in the Usage of Trade Groups directory.
With a standard initial installation of the application, the trade group directory contains one trade group, which includes all trade objects, and is called "Default". Unless you add other trade groups and rules for their use, this trade group will always be used. If it is necessary to isolate any groups of objects, other trade groups are created and the rules for their use are determined.
For example, you can prohibit the use of certain dishes or menu categories during the "Morning" period, or prohibit the use of any discounts/markups, as well as certain types of currencies for acceptance in the summer cafe.
Trade groups regulate access to the following objects:
Consumators (Commission Agents);
Order Types;
Currencies and types of currencies;
Discounts/Markups and Types of Discounts/Markups;
Menu items and menu categories;
Modifiers and modifier groups.
The properties of these objects determine their membership in trade groups (property group Trade Groups).
An important property of trade groups is inheritance.
Inheritance can be of two types:
- Inheritance throughout trade groups means that if a trade group owns (does not own) an object or group of objects, then the child trade group will also own (do not own) that object or group.
Example. In the diagram below, under number (1), the parent trade group Morning Menu is represented, and under number (2), the child trade group Evening. At the time of creation, the elemental composition of the child trading group is the same as that of the parent trading group.
Next, the composition of the subsidiary trade group was changed: the “Kid's” element was added and the “Adult” element was removed. These actions are performed on the Included and Excluded pages. The Child Trade Group Contents page contains a set of elements.
- Inheritance within the object hierarchy means that if a group of elements belongs/does not belong to a trade group, then any element of this group also belongs/does not belong to this trade group (e.g. element – modifier, group – modifier group; element – currency, group – currency type, etc.).
Example. The figures show inheritance by object hierarchy. The figure below shows the modifier group "Fillings", which is part of the trade group "Evening".
The modifier group includes the modifiers from the figure below. The contents of the trade group match the list of modifiers.