The following diagram shows the states of a cash drawer:
You can create a new cash drawer in the state: Available. You can delete it immediately if you want. When a cash drawer is created, its cash trays, bins, totals, bait bills, and denominations are also created, and they are recorded in the corresponding database tables.
A cash drawer can only be assigned to one teller. When a cash drawer is assigned, its state is changed to Assigned. You can not assign two or more standard cash drawers of the same currency located in the same branch to one user.
Before you delete a cash drawer, ensure the following:
If you delete a cash drawer, all records referenced are removed from the database.
When a branch is opened, you can use the cash drawer management to reset all the totals of the drawers in the branch. This provides a faster login for other users because they do not have to reset their totals individually.
After you log in, the drawers assigned to you are initialized for a new business day. It includes:
If a new drawer is assigned to a user who is logged in, the drawer can not be used until the next login, which normally occurs on the next business day. If you want to use the drawer on the same business day, invoke the initializeCashDrawer(String branchID, String userID, Calendar date) method.
Before a cash drawer is unassigned, ensure the following:
When a cash drawer is unassigned, the state is changed to Available.