To ensure unambiguous identification and facilitate object and group searches within directories, each object is assigned a unique numerical code among objects of its type at the moment of creation. The code assigned to an object is obtained by adding 1 to the highest existing code among objects of the same type.

The user can manually change the object code (to a number less than 1000000000). If the code that the user assigns to the object repeats the code of a previously created active object of this type, an error message will be displayed on the screen. Saving such a code is impossible.
If the item code matches the code of the deleted item, the deleted item cannot be restored, and a corresponding error message will be displayed. Objects of different types can have the same codes.
Selecting an item at the cash register using its code is one of the fastest input methods. Proper coding simplifies memorization and usage for staff members. It is essential to carefully consider coding rules in the restaurant and adhere to them consistently. During personnel training sessions, emphasis should be placed on familiarizing employees with the codes of the main directories.
As an option for encoding, users may utilize a hierarchical or tree-based approach. With this method, an item's code consists of two components: the "group code" and the "item code within the group." It is important to note that each group (except those at the first level) itself serves as an item within a higher-level group. The “group code” component is the same for all items of one group. Groups of one level are numbered by adding 1.

  • No labels