Sometimes, there is a need to display the results based on a certain classification or limit the information display by setting a classification framework.
In the simplest case, you should just edit a cash report layout, adding the necessary fields into the respective band grouping. Or just add a filter condition when only a part of the information needs to be displayed.
In a more complicated case, the band could turn out to lack the necessary fields for grouping. Then, it is necessary to edit the respective cube or its copy (if it is a preset cube) by adding the required field.
Let's take a look at a specific case of using the groupings.
Fig. 3 – A copy of the preset report
This is how the layout's copy looks like (see Fig. 4):
Fig. 4 – Layout copy of Overall Dish Consumption
This layout lacks information on dish categories. In order to add it you need to change the cube's composition (see Item 2.1).
Export the layout by pressing the Export button (see Fig. 5).
Fig. 5 – Exporting the existing layout
Create the Overall Dish Consumption_Categoriesin the User Reports section in the Settings > Print > Documents and Layouts menu. Create a new layout in the Print Layouts tab. Import the layout exported in Item 2.2 (see Fig. 6) in the Layout zone in the created layout's properties.
Fig. 6 – Importing the existing layout
Fig. 7 – Importing the existing layout
In order to change the layout select the newly created cube in the Data Source band property and indicate the category code's system name CATEGCODE (see Fig. 8) in the Grouping property.
Fig. 8 – Changing the layout's data source
Enter the classification code to be applied to the report in the existing formula in the Filter property (see the classification code in the respective classification's properties (see Fig. 9)).
Fig. 9 – Classification code
The cash register report is shown in Fig. 10
Fig. 10 – A drafted report