Standard option #1: Encode the discount auto-command prefix, Access control prefix and pass number
 
Use this option when you want to use track 1 of the pass magswipe exclusively for automated discounts.
 
Make sure that the employee Pass layout includes the following field. This field encodes the pass number along with the appropriate auto-command prefix and Access Control prefix into the first track of the magswipe:
 
"~1%EP"+alltrim(str(gst_pass.pass_no,16,0))+"?"
 
~1 specifies track 1
%E is the auto-command prefix used to trigger the automated application of specials
P is the Access Control prefix for your pass numbers.
alltrim(str(gst_pass.pass_no1,16,0)) is the Pass Number field
"?" signals the end of the track
 
The sample field assumes that the Access Control prefix used to specify guest passes is the letter P. (This is configured in SysManager > Preferences > Access Control). If P is not used, then substitute whatever letter is used for guest passes for the P in the sample field or if the “blank” prefix is used for passes do not insert anything after the %E.
In order for operators to apply discounts with a swipe, they simply add all of the items to the sale and swipe the card. All appropriate discounts are applied.