I think the needs to be declared either global or local as an array, but @trailer[1] etc is part of an array. You have not declared it as an array of string. I will post for you again when I get home.Format & formatq are about formatting, layout.
thanks...I do understand what these do. however, my example is from the manual. I'm trying to add to the check trailer. the sim documentation for print_trailer uses format.
Below is the following that will print the trailers.
You could put this right in your event.
In our case we store a set frequency in the DB.(Also can be a simple variable in the SIM) When we print the trailer we look that frequency up, then do a mod against the check number. If the result is 0 (no remainder) we call a different sub procedure.
You can also format a string variable and just use that with out quotes
@trailer[1] = strMyVariable
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
sub print_IVR_trailer
// Just numbers to help 12345678901234567890123456789012
@trailer[1] = " NEXT TIME DESSERT IS ON US "
@trailer[2] = " Please Call r"
@trailer[3] = " 1-555-555-1212 "
@trailer[4] = " within the next three days "
@trailer[5] = " and tell us about "
@trailer[6] = " your experience at "
@trailer[7] = " MikeRose Cafe "
@trailer[8] = " Just bring back your receipt"
@trailer[9] = " with your validation code to "
@trailer[10] = " redeem your free dessert"
@trailer[11] = " VALIDATION CODE:"
@trailer[12] = " ___________________________________"
@trailer[13] = ""
@trailer[14] = ""
endsub
we have a promotions that we're going to implement as per requirements certain Tendermedia (VISA Credit Card) settlements of a certain amount (minimum amount of $ X.00) after the payment transaction done, the system will print a certain promotion on the receipt, eg. “ FREE 1 HOUR Parking “ etc.
@amznilla
If you don't already have a sim in use for the check trailer, then you would have to create one.
I would call a sim from the trailer for the credit authorization slip. The sim could scan the check for the payment method required (and amount) and then print the promotion on the authorization form.
If the guest needs to give up the receipt to redeem the offer, then you probably want to print this on a separate slip (not their credit card receipt).
I'm not sure about printing the offer on a separate slip if it is being called from the trailer, but it might be possible.
An alternative might be to use a SIM that fires off when the required tender media is used and then scan the check for the tender/amount required. This can then print a separate slip with the offer.
The issue with final_tender might be that the guest is not going to wait around for the final tender to happen. You probably want to give the guest the coupon when their credit card is authorized.
Good point. I was thinking the other direction; if you have a split tender do you want it to print up multiple free parking coupons? It would also depend on whether it's a QSR or table seating business.
@amznilla - there isn't an existing script that you call. Someone would need to write the script (SIM). Depending on how it is implemented, you may call the SIM from the trailer section (of the credit card slip) or it may be coded to happen automatically.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.