Standard option #2: Encode the pass number and use hot keys for the required prefixes
Use this option in order to encode just the pass number. In this situation, the pass number swipe may be used for many different programs and the %E discount auto-command prefix might prevent using the pass swipe in other validation programs. Track 2 may also be used in this scenario because track 2 can only be encoded with numbers. See Common fields on pass layouts in the Salesware Layouts document for a sample Track 2 field.
Make sure that the employee Pass layout includes the following field. This field encodes the pass number into the first track of the magswipe (remember that track 2 may be used instead of track 1 when only encoding the pass number!):
"~1%"+alltrim(str(gst_pass.pass_no,16,0))+"?"
• ~1 specifies track 1
• alltrim(str(gst_pass.pass_no1,16,0)) is the Pass Number field
• "?" signals the end of the track
Next, set up a hot key at salespoints that offer employee discounts. F10, F11, or F12 may be used for this hot key configuration. To configure a hot key, modify the Sales32c.INI file at the appropriate salespoints or alternatively modify the SysManager > Preferences > Miscellaneous > Global Salespoint .INI tab, in the following manner:
[Preferences]
F11Text="%EP"
F11Track=1
F11Prompt="Swipe discount card"
• F11Text is the text that is pre-pended to the pass number swiped. The example above assumes that P is the Access Control prefix used for guest passes. If P is not used as the Access Control prefix for passes, substitute the appropriate prefix or if the “blank” prefix is used for passes do not insert anything after the %E.
• F11Track specifies what track to read within the pass swipe.
• F11Prompt is user-defined text that gives the operator instructions once she hits the F11 key.
In order for operators to apply discounts with a swipe, they simply add all of the items to the sale, hit the hot key (in this example, F11) and swipe the card. All appropriate discounts are applied.