Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Micros 3700 barcode scan discount

Status
Not open for further replies.

Martsj

Technical User
Apr 30, 2014
12
US
We are looking to tie a programmed discount to a single barcode. The location that would be accepting this discount has scanners in place and connected to their Micros workstations. Our local Micros dealer programmed a SIM to allow for this location to scan/store barcodes for items we sell. In trying to tie in the discount program, we discovered the SIM installed apparently can only look for a menu item or family group. There is no option to scan a code and tie it to a discount.

Is there a way to configure Micros 3700 to do this? We want to tie this non-unique single barcode to the discount we have programmed. It will be issued as a digital file - so the idea would be a guest receives the code via email and then shows the cashier their phone so that it can be scanned at the register and automatically applied to the check.
 
How are you creating the Bar codes (what format)? What are the values of the bar codes when scanned?

You will need to be able to cut up the bar code to get a discount number (the same discount number you are using for the discounts; i.e., 15% discount is setup under discount number 15, 10% discount is 10 and so on.). This process would be called via a SIM script that reads the bar code and parses through it for the discount number.

Example Usage: Cashier creates check and adds any necessary menu items to the check. The cashier then presses a SIM key that points to the Discount Bar code isl. The cashier is then prompted to scan the bar code, the bar code is scanned and the script parses the bar code for the discount number, which is then posted to the check.

I can work out a basic SIM script for you. However it will be based on 9700 SIM scripting, which I think should work on the 3700 system. I can post it later today.
 
I intended to create a DataBar-14 barcode. I am unsure of what to encode - the manual discount I've setup in configurator is an "Item Price Substitution" that looks for a specific menu item set. In this scenario it is a specific category of sandwiches we have setup as a "Family Group."

If a guest has a sandwich or sandwiches (the discount is programmed to allow for the same discount to apply to multiple items from the same family group in a single check) in their check - the discount applies a price substitution of $2.00 for that item or items.

So a $3.29 sandwich has $1.29 deducted if this discount is applied to reflect the $2.00 discounted price. Other sandwiches in the same family group vary in cost - and if applying this discount it take away the amount to get to that discounted $2.00 price.
 
If I were you I would encode the object number of the discount somewhere in the barcode. For example, if the barcode is a 14 digit barcode, and the last 4 digits represent the discount, you could simply do:

Code:
event inq : 1
[indent]var scan_input : a14
input scan_input, "Scan barcode now"
if len(scan_input) <> 14
[indent]exitwitherror "Invalid barcode"[/indent]
endif
var discount_num : N4 = mid(scan_input,10,4)
//could consider putting some logic in here to determine if its a valid discount, otherwise RES will just respond 'discount not found'
loadkybdmacro key(5,discount_num)[/indent]
endevent
 
What Moregelen stated, is pretty much what the script I would make does. You would need to encode the discount number.

@Moregelen, thanks for posting first. ;-)
 
I greatly appreciate the follow up and help on this! This should get us to where we need to be on this scanned discount. Thank you.
 
If your barcode always start with a certain number you can put an if statement in to check the beginning digits for the specified number.

Example, if the first number of the bar code is NOT 3 then it exits the code.
Code:
if mid(data,1,1) <> 3     // If the 1st Digit is not a 3, then its not a Discount Coupon
     exitwitherror "This is NOT a Discount Coupon."

endif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top