Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 3

...

You can filter the sweethearting events in order to build the Sweethearting report only by the events which occured while the check was receipt was open.

To filter the sweethearting events, do the following:

  1. Open the POS database in the SQL Server Management Studio software (1).

  2. Open the dbo.FuncDic table (2).
  3. Copy to the clipboard or memorize the function numbers in the FunctionNumber column (3) which will indicate the start beginning and the end of the checkreceipt.

    Info
    titleNote

    For example, the Document start function with the corresponding function number 2000 can be used as the check startreceipt beginning, and the Result function with the corresponding function number 2022 can be used as the check receipt end.


  4. Go to the <Intellect installation directory>\Modules\Wt2.
  5. Open the Web.config file for editing.
  6. For the SweatheartingBeginReceiptPosFunctionNumber key (1) specify the value corresponding to the function number used as the check start receipt beginning (3).
  7. For the SweatheartingEndReceiptPosFunctionNumber key (2) specify the value corresponding to the function number used as the check end receipt end (3).
  8. To enable filtering, specify the value for the SweatheartingFilterByReceiptIntervals key (3). The default key value is 0 (filtering is disabled).
  9. Save the changes in the Web.config file.

    Info
    titleNote

    As a result, only the events which occured while the check receipt was open will be displayed in the Sweethearting report. If the sweethearting event occured when the check receipt was closed, such event will not be displayed in the report.


    Info
    titleNote

    The checks receipts which do not have their start beginning and end specified in the Web.config file will be considered incorrect and will not be processed. Meanwhile, the check receipt with several starts beginnings and ends specified will be processed.