Main Terminal Setting Changed in Group

Tags:

In SyrveRms 7.5 the method for configuring the main terminal in a group has changed, so in the API starting from V7Preview5, the main terminal can be obtained directly from the group, rather than being calculated through points of sale as before.

Previously, to determine if the local terminal was the main one in the group, it was necessary to check for the presence of the main point of sale among local points of sale (GetHostTerminalPointsOfSale) (IPointOfSale.IsMain). Starting from SyrveRms 7.5, points of sale no longer have the “Main Cash Register” checkbox, and the main terminal is set directly for the group. Accordingly, starting from V7Preview5, instead of IPointOfSale.IsMain, the property ITerminalsGroup.MainTerminal has been added.

In previously released versions of the API, the old configuration scheme will be emulated where possible — the point of sale of the main terminal will be considered the main one. If the main terminal has multiple points of sale, the default point of sale will be considered the main one, and if none of the points of sale is marked as “Default,” the first one will be considered the main one (they are sorted in lexicographical order). If the main terminal has no points of sale, plugins of older versions will not be able to determine that this terminal is the main one.

Additionally, starting from V7Preview5, the following changes have occurred:

Other changes related to group and terminal settings can be found in the note about network interaction between plugins.