Introduction

The Online Balances report makes it possible to record balances taking into account current sales in r_keeper 7. R_keeper 7 sales data is taken from the SQL database which needs to be configured in advance.

To correctly record the balances you need the following:

Report Workflow

  1. A list of Enterprises is selected from the Online  Balnces report filter for compiling the report
  2. QushSvc that will address r_keeper 7 SQL databases are determined based on the Enterprises attributes
  3. The Sh5 Database + SQL RK7 Database pair is defined based on the links settings
  4. Sales data for the current computer date are selected from r_keeper 7 SQL database
  5. The list of used ingredients is defined based on the dish sales in r_keeper 7
  6. The current sales based on ingredients (for each department) are deducted from the StoreHouse 5 current balances
  7. The Online balances is formed.

Required System Settings

Recording of current r_keeper sales into r_keeper cumulative SQL base(s):

Settings of links for references and sales import to QushMan.exe.

For the Enterprises reference, parameters of connection to QushSvc.exe should be filled in in the Qush IP-address:port attribute for each enterprise.

The Qush IP-address:port attribute will be created automatically when a clean database is created in Store House 5 version 5.24.118 and later.

If the StoreHouse database was created by an earlier version of StoreHouse 5, the attribute should be added manually:

  1. Launch the SDBMan.exe app
  2. Go to Maintenance > Statistics
  3. In the opened window's left-hand part, select the Binary object fields — aDivisions_AttrsEx
  4. Right-click in the lower right-hand part and select Add attribute...
  5. The attribute should have the following values:
  6. After the attribute is created, it can be filled in the Enterprises reference.

Report Filters

The Online Balances report filter is shown in the figure below:

The report is generated for the current moment, so it is impossible to specify the date.

 After clicking this button, the list of departments will appear. Select the required departments by checking the corresponding boxes. You may also right-click in the window and select the required action.

If a user is limited in using departments filters for departments group reports, the list of departments filters will display only those departments that are available for this user.

If the user is limited in using department filters for department group reports, the user will only be able to view the allowed legal entities in the legal entities filters. User access is determined by the access to the information about the departments.

If the user is limited in using department filters for department group reports, the list of enterprises filters will display only those enterprises that are available for this user. User access is determined by the access to the information about the departments.

After filling in the filters, click Apply to view the Online Balances.

A query to r_keeper will be generated at this moment to get sales.

The report contains a list of goods from the goods group set in the filter and the calculated balances for the current moment based on r_keeper sales.

Additional report groupings can be set in the filter.

Report Sample

An Online Balances report is given below.

The report window is divided into two parts:

If there are records with errors in the bottom part of the report, generated report cannot be considered as fully accurate. All errors should be corrected. A description of the columns:

Possible errors