Show TOC

Object documentationAuto Generate Reference: General

 

These options allow you to define how you want to automatically generate a specific reference number. This includes the method plus your check digit and encryption parameters. Your generation method can be either:

  • A custom reference number that includes the pattern, reference, and sequence characteristics

  • A randomly generated number where you define just the length

Structure

Generation Method: Custom Reference Number Options

Screen Element

Description

Custom Reference Number

Allows you to define the characteristics of the reference number. When you click Custom Reference Number you see the remaining screen elements in this table.

Customer # Used as a Reference #

Allows you to use the customer number from the customer database profile as the reference number

Sequence # Generated by Server

Allows you to generate the sequence number from the server. Generating the sequence number from the server ensures that the number is unique within the store. When deselected, the sequence number is generated from the POS terminal.

Layaway Number

Not used in the code

Mask

Allows you to define the elements you want to use to generate the reference number; the order represents how you want the reference number to appear on the receipt or tender. Either key in or click a symbol in the ID column to define the mask for this reference number. The symbols you use to build the mask represent the following information:

  • ! — Sequence number

  • ^ — Amount

  • & — Store number

  • * — Terminal number

For example, a mask for a Store Credit might appear as &!^ indicating that the system generates the reference number from the store number, the sequence number, and the amount. In this case, the terminal number is not used.

Sequence Num

Allows you to include the sequence number in the mask. The sequence number is the number of times that this item or transaction has been entered at the POS terminal. It increases by 1 every time the cashier enters this item or transaction type at the POS terminal. Enter the following information for the sequence number:

  • Length — This is the number of digits that can be used for the sequence number. If you enter 1, the sequence number can only be 1 to 9. If you enter 3, the sequence number can be 1 to 999.

  • Start Value — This is the minimum sequence number value.

  • End Value — This is maximum sequence number value.

For example, can have a length of 5 with a start value of 40000 and an end value of 99999.

Amount

Allows you to include the amount in the reference number. If used, enter the length to define the maximum number of digits that can be used for the amount. The number of digits includes the cents. For example, in Canadian currency, a length of 6 represents an amount that can be displayed as $$$$¢¢.

Store Number

Allows you to use the store number in the reference number; if used, the maximum length of the store number is 4 digits

Terminal Number

Allows you to use the terminal number in the reference number; if used the maximum length of the terminal number is 2 digits

Generation Method: Randomly Generated Number Options

Screen Element

Description

Randomly Generated

Allows you to have the system generate the reference number randomly

Length

Allows you to define the length of the reference number

Check Digit Options

Screen Element

Description

Check Digit

Allows you to use a check digit scheme for this auto generate reference number, choose the predefined method from the dropdown list. Use the next two fields to define the part of the reference number upon which the check digit is calculated. For more information, see Check Digit Setup.

Start Position

Allows you to define the first position within the reference number upon which the check digit is calculated.

End Position

Allows you to define the last position within the reference number upon which the check digit is calculated.

Encryption Options

Screen Element

Description

Encryption

Allows you to encrypt the auto generate reference number; choose the predefined method from the dropdown list. For more information, see Encryption.

Training Mode Number

Number used when the POS application generates an automatic reference number when in training mode. The training mode is to ensure valid reference numbers are not used up.

Cancel Transaction Number

Defines the characters to print on a receipt to indicate that the transaction was canceled when the Auto Generate Reference function is triggered.

The Auto Generate Reference function links a sales invoice number to the regular sales transaction allowing the sales invoice number to be printed on the receipt. If the Auto Generate Reference function is triggered and the transaction is canceled, the POS automatically prints this value to the receipt. Any characters or text such as CANCELED can be entered in this field.