After ending a work period then starting a new one the order numbers are continuing instead of starting from 1

Use save ticket action just before this one.

You are correct - sorry about that. I fat fingered selecting the snippet. I’ve updated the post.

As Jesse suggested, place a Save Ticket action in a rule that fires on Payment Processed and sort it so that rule executes before the one that prints on Payment Processed.

Also, looking at the screenshot from the rule debugger, it doesn’t look like anything is firing on Before Ticket Closing.

Here’s another option for you:

Have rule that fires on Payment Processed that subscribes to the Automation Command Executed event and executes the Automation Command - ON Set Custom Order Number and, as above, be sure it executes before the rule that executes the print job.

Thank you memo and jesse, I will test this later and provide my feedback.

@Jesse whenever I add the “save ticket action” it work only when exact amount.
If there is change due then this method close the payment screen and back to ticket screen with the negative balance.

To solve: Duplicate the rule in 2 different event
1 - For whenever an AMC Auto print is used

2 - For stuff that fires to the kitchen before payment is made (dinning customers)

Thank you again memo.

1 Like