The Web.config file configuration must be performed on the computer where it is planned to work with the Sweethearting report. After making any changes in the Web.config file, it is necessary to restart the Cassini Service utility. |
The Sweethearting detection module generates 2 events for each product: the alarm start - alarmStartTime and the alarm end - alarmFinishTime. If the event of adding an item to the document is not in the time period between the alarm start and alarm end, then the theft event is generated, which is included in the report. In order to increase the time period during which the product adding event should occur, it is necessary to change the value of the SweatheartingAddTimeoutMs key:

For example, if the time period between the alarm start alarmStartTime and the alarm end alarmFinishTime is 1000 milliseconds, and the SweatheartingAddTimeoutMs key is set to 500 milliseconds, then the theft event will be generated if the event of adding an item to the document does not occur within 1500 milliseconds from the moment of the alarm start alarmStartTime event. |