Voiding Sales

From LaneWiki

Revision as of 19:08, 9 February 2010; Jaybee (Talk | contribs)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
Jump to: navigation, search

L’âne supports marking sales as void. These sales remain in the system for auditing purposes, but their values are not reported as sales. This function records information about the user voiding the sale, including his/her username, connection information, and the time of the operation.

  1. Log into the register.
  2. Type the ticket number to void, then press Void by Ticket #
  3. The register will show you information about that ticket. If you want to void the ticket, press Yes.
  4. If the ticket was successfully voided, the message X voided. appears. If an error occurred, a message describing the problem will be displayed.

Auditing Information

The data is available in XML Reporter reports as:

Sale.voidAt

The timestamp of the void operation

Sale.voidBy

The username and connection information of the person who performed the void. For example jason@localhost. If performed in the register, this data will be in the form register+123@register1, where 123 is the Clerk.id of the user who performed the operation.

Sale.created

The timestamp of the creation of the sale.

Sale.createdBy

The username and connection information of the person who created the sale.

Sale.modified

The timestamp of the last modification of this sale. This value will always be the same as Sale.voidAt as void sales can not be further modified.

Sale.modifiedBy

The username and connection information of the person who last modified this sale. This value will always be the same as Sale.voidBy as void sales can not be further modified.

Configuration

SysString:Lane/Sale/Void/Voidable Time Window

The maximum voidable window. Sales earlier than this interval will not be voidable. Default: 2 weeks

SysString:Lane/Sale/Void/Earliest Voidable Timestamp

The earliest voidable timestamp. Sales earlier than this timestamp will not be voidable. Default: 1776-07-04 00:00

Locale Configuration

There is no ticket %0. : There is no ticket %0.

The message displayed if the ticket number does not exist. %0 is the ticket number.

Lane/Register/Sale/Void by ID/Confirmation : Are you sure you want to permanently void ticket %0 (%1 %2) ?\n

A confirmation message. %0 is the ticket number. %1 is the customer’s name (Customer->getName()). %2 is Sale.total.

Lane/Register/Sale/Void by ID/Success : %0 voided.

A successful void will display this message. %0 is the ticket number.
The DB error messages are not translated — This fact is a bug.
Personal tools