Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the left pane of the window, the directory contains the price types used in the system. The Properties page contains information about the price type.

Image RemovedImage Added

Properties Page:

...

Info

If the "Percent in Consummation" flag is not set, then consumption is considered as a fixed amount.

Image RemovedImage Added

Image RemovedImage Added

If the "Percent in Consummation" flag is set, then consummation is calculated as a percentage of the main price of the menu item.

Image RemovedImage Added

In addition, it becomes possible to set the default consummation percentage value.

Image RemovedImage Added

Default bonus (%) – the value substituted when creating a new menu item in the Bonus (%) property of this price type. The property is available only in the Without Calculation Rules mode and when the Percent in Bonus flag is set.

...

If the price for a given price type is set as "not set" and the "Allow Overridings" flag is enabled, it is possible to modify this price type manually at the point during data export from the central directory to the local reporting server. However, if a price has been defined for this price type in the central directory, regardless of the status of the "Allow Overridings" flag, the price will be strictly loaded onto the local reporting server and cannot be changed manually (this feature ensures that prices for certain menu items cannot be altered at different locations).

Image RemovedImage Added

Properties of Calculation Rules

...

Properties of Calculation Rules:

Image RemovedImage Added

The calculation rules for the price type selected in the left pane of the window, arranged in order of priority, are presented on the pages of the reference book Menu Items, Combo Elements, Modifiers, Consummation, Bonuses. The property group, Main in the Inspector area provides information about the scope of the calculation rule.

The price value corresponding to the calculation rule can be specified directly (in the Value property) or calculated using the Formula (formula editor).
If the percent in combo, percent in bonus, percent in consumption, percent in low limit flags are set in the price type properties, then additional options appear in the properties of the bonus calculation rule, combo items, consummation, low limits:

Image RemovedImage Added

Clear Price is the price excluding the cost of modifiers, discounts and markups.
Discounts/Markups – determines whether the amount of discounts (markups) should be included in the cost of the menu item to calculate the consummation price or bonus.
If the flag is set, then discounts and markups will be taken into account when calculating the consummation amount. If the flag is not set, then the full amount without discounts and markups will be used for the calculation.
If this flag is set, the “Discount/Markup” designation is displayed in the Menu directory in the “Consummation price value” (bonus, combo item) property of the menu item.

...

Formula Editor

Formula Editor: 

Image RemovedImage Added

In the left section of the window, a formula for calculating the price is displayed. Below it, there is an area designated for displaying potential error messages during the compilation of the formula. Compilation is performed using the menu item Script, Compile, the hot key combination Ctrl + F9, or by pressing the "OK" button. In the right section of the window, you will find the tabs labeled Prices, Constants, and Functions. Between the right and left sections of the window are buttons for adding mathematical operations to expressions: "+", "-", "*", "/". The button Image Removed Image Added is activated when a price, constant or function is selected in the right area of ​​the window, and is used to transfer the selected element to the expression, to the position where the cursor is located.

The formula editor can work in a mode extended to the Pascal language. In this case, you can write a program in Pascal to determine the value of an expression using cycles and conditional operators or in a mode in which the formula value is calculated using a single expression. Switching the editor's operating mode is carried out using the flag in the Script, Extended editor menu item.

The Functions page provides a list of functions that you can use in a formula:
Image RemovedImage Added

Max – maximum;
Min – minimum;
Power – raising to a power;
Round – round off a number;
Trunc – do not take into account the fractional part of the number.
The Constants page lists the constants entered in the constants directory.
The Prices page lists the price types that exist in the system. The values ​​of the price types can be used as formula components. Price types can be displayed in two modes:

...