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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invoke an event when closing a Check 1

Status
Not open for further replies.

manelandrea

Programmer
Jul 10, 2017
34
PH
Hi,

Is there a way to invoke a sim script event for example that will send the whole check details to a third party system upon closing a check? For example, if the waiter click the Cash button for closing, it will call an event that will submit all the check details thru txmsg?
 
There is a SIM event that fires during final tender:

Code:
event final_tender
... do something here...
endevent

If you want to loop through all the details of a check you'd do something like:

Code:
var i : n9
for i = 1 to @numdtlt
[indent].. access whatever @dtl_ variables your third party system needs here ..[/indent]
endfor

There is no one SIM function that does it all for you, but there are various events and system variables you can use to do this. Check C:\micros\documentation\help\simhelp.chm for details.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top