View source | View content page | Page history | Printable version   

Projects:Drawer Status Detection/Functional Specification

Contents

Drawer Status Detection

Overview

The purpose of this project is to have the ability to detect the status of the cash drawer (Open/Close).

Scope

Functional Requirements

Definition

The drawer needs to be a type of drawer that sends its status: Whether it is opened or closed

There are five ways to open the drawer:

The top three will have their toolbar buttons disabled if the drawer is opened, if you click them an error will be raised. They will be enabled when the user closes the cash drawer.

The last two will raise a popup that prevent the user to continue if the drawer is still opened. The popup will disappear once the drawer gets closed.

User stories

Story 1:

  1. François, the WebPOS user, is opening the till.
  2. He clicks on Open Drawer button and the drawer gets opened.
  3. He finishes the initial count and clicks Done.
  4. As the drawer is opened an error will raise on the top right of the screen warning that the drawer must be closed to complete the initial count.
  5. François closes the drawer and clicks Done again.
  6. The till is now opened.


Story 2:

  1. François, the WebPOS user, is finishing a sale.
  2. The customer gives him 20$ while the total amount is 17'5$.
  3. 2.5$ change is shown a the top.
  4. François clicks Done button.
  5. The drawer is opened, the ticket is printed and a popup is risen notifying him that the drawer is opened and that he need to return 2.5$.
  6. François deposits the 20$, picks the change and closes the drawer.
  7. The popup disappears.


Story 3:

  1. François, the WebPOS user, clicks on Open drawer button from the menu.
  2. The drawer gets opened and a popup rises.
  3. He waits too much time and WebPOS raise an alarm.
  4. François closes the drawer.
  5. The popup disappears and the alarm stops.

Configuration

Allow detection

A new preference has been created to allow this new functionality. If Web POS Close Drawer Before Continue preference is enabled WebPOS will detect the status of the drawer (open/close) and the user will be force to close the drawer before continue its labor.

Bulbgraph.png   NOTE: If the drawer has no ability to detect its status the status received will be closed.

Allow alarm

A preference needs to be configured by setting a numeric value in milliseconds. When the drawer gets open and after the value previously inserted an alarm will begin to sound. If there are no value or it is 'N', no alarm will rise.

Web POS Time Allowed Drawer Sales is configured for the events of opening the drawer from sales or menu.

Web POS Time Allowed Drawer Count is configured for the event of opening the cash drawer from Cash Up, Cash Management or Initial Count.

Bulbgraph.png   NOTE: If the drawer has no ability to detect its status the status received will be closed.

Hardware url

In order to use this functionality Hardware url MUST be configured properly on POS Terminal window.

Status Checker

Every time the cash drawer gets opened WebPOS begins the detection of its status and it will stop once the drawer gets closed. There are 2 cases:

  1. Detection on load, on click "Open Drawer" button and on payments
  2. Detection Cash up, Cash management and Initial count

On the first one a popup will rise to prevent the user to continue its labor and the second one will only disable several buttons.

Popup

The popup will show only if the drawer gets opened. There are different cases:

Load

When WebPOS gets loaded it will check the status of the drawer. If it is closed it will be transparent to the user but if it is opened the popup will rise. It will ask to close the drawer.

Open Drawer button

On click the popup will rise, it will ask to close the drawer.

Payments

There are several cases on payments (the popup will only show if the payment method is cash or it has checked Allow open drawer):

The popup will rise on click Done or Open and it will say that the exact amount has been paid.

The popup will rise on click Done or Open and it will show the change needed.

The popup will rise on click Done or Open and it will show the return needed.

The popup will rise once Ok gets clicked on Overpayment popup and it will show the change needed.

The popup will rise on click Done or Open and it will show the change needed.

The popup will rise on click Done or Open and it will say that the exact amount has been paid.

Retrieved from "http://wiki.openbravo.com/wiki/Projects:Drawer_Status_Detection/Functional_Specification"

This page has been accessed 1,779 times. This page was last modified on 7 April 2014, at 15:06. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.