Fields for a sample pass program
 
Characteristics of a pass program:
A pass program allows access to the venue by scanning a barcode via a Symbol unit or gate scanner.
A pass program also offers discounts on various items by swiping a pass in Sales.
The Access Control prefix used for pass numbers is P
 
The program above would require adding the following two fields to the pass layout for the barcode and magswipe:
 
1. Barcode: Access Control prefix followed by an encrypted pass number. This creates a barcode that is scanned by a Symbol unit or gate scanner:
 
BC_CODE128('PXX'+dec2baseXX(gst_pass.pass_no))
 
2. Magswipe: Sales auto-command prefix for discounts followed by the Access Control prefix followed by an unencrypted pass number. This is swiped in Sales:
 
"~1%EP"+alltrim(str(gst_pass.pass_no,16,0))+"?"
 
Note: There is a Sales32c.INI [Preferences] setting that allows the same encrypted access control barcode to be scanned with a remote scanner (Symbol unit or GateKeeper scanner) for lift/venue access and also be scanned with a salespoint scanner in order to trigger the %E Sales auto-command functionality. This particular setting helps in situations where encoding magswipes in order to implement the %E auto command discounting is not an option. The setting is: EncryptedAutoCommand=TRUE. See Non-standard: Scanning encrypted access control barcodes for automated discount programs for details.