Unable to log in to POS if the CASHDRAWER name has changed in the RETAILSHIFTSTAGINGTABLE

Symptoms

When cashdrawer name is changed in configuration, the logon process would fail to find the cashdrawer through the saved drawer name in the open shift, so that the variable "shiftCashDrawer" would be Undefined. Later the variable "shiftCashDrawer" is accessed to fetch the drawer name. An invalid access exception is thrown here.

Resolution

Fix add a null check before access the variable "shiftCashDrawer".

More information

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained here in is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 4013434 - Last Review: 2017, ഫെബ്രു 16 - Revision: 1

ഫീഡ്‌ബാക്ക്