During the operation of a supermarket, the stock of the supermarket in the Nexeed Industrial Application System may differ from the physical supermarket. The stock deviation can be detected automatically or by the user. Stock deviations are corrected using troubleshooting modes and by resetting stocks.