Go to documentation repository
Page History
...
You can filter the sweethearting events in order to build the Sweethearting report only by the events which occured while the receipt was check was open.
To filter the sweethearting events, do the following:
- Open the POS database in the SQL Server Management Studio software (1).
- Open the dbo.FuncDic table (2).
Copy to the clipboard or memorize the function numbers in the FunctionNumber column (3) which will indicate the beginning start and the end of the receiptcheck.
Info title Note For example, the Document start function with the corresponding function number 2000 can be used as the receipt beginning check start, and the Result function with the corresponding function number 2022 can be used as the receipt check end.
- Go to the <Intellect installation directory>\Modules\Wt2.
- Open the Web.config file for editing.
- For the SweatheartingBeginReceiptPosFunctionNumber key (1) specify the value corresponding to the function number used as the receipt beginning check start (3).
- For the SweatheartingEndReceiptPosFunctionNumber key (2) specify the value corresponding to the function number used as the receipt end check end (3).
- To enable filtering, specify the 1 value for the SweatheartingFilterByReceiptIntervals key (3). The default key value is 0 (filtering is disabled).
Save the changes in the Web.config file.
Info title Note As a result, only the events which occured while the receipt check was open will be displayed in the Sweethearting report. If the sweethearting event occured when the receipt check was closed, such event will not be displayed in the report.
Info title Note The receipts checks which do not have their beginning start and end specified in the Web.config file will be considered incorrect and will not be processed. Meanwhile, the receipt check with several beginnings starts and ends specified will be processed.