This feature can be activated with the module Merchandise system.
You get to this menu topic via Articles/Edit statistic-area. This is where you can set if the statistics query should be included in the cash register payment process. So if you want to activate this query enter the check mark and define the required statistic areas. The describing names are freely definable. The picture shows a few examples:
When the query is activated you can include the statistics areas in your evaluation via Accounts/Print…Statistic. Then go to the tab Filter and select one or more Statistic areas.