#Automation
##Automation Command
Create a button to navigate to the Kitchen Display.
##Actions
###Navigate Module Action
This Action is used to display the Kitchen Display screen.
###Update Order State Action
This Action will update the Order State called KDStatus
. This is how we will determine if the Order has been Printed, so that we don’t print the Order multiple times.
State Name: KDStatus
Current State: [:CurrentState]
State: [:NewState]
###Execute Print Job Actions
These Actions will be used to fire the Print Jobs for Food and Drink. We need to define 2 Actions, since we have 2 different Print Jobs.
Print Job Name (Food): Print Kitchen Display Tasks - Food
Print Job Name (Drink): Print Kitchen Display Tasks - Beverages
Print Ticket: True
Order State Name: KDStatus
Order State: [:state]
Copies: 1
##Rules
###Order Added to Ticket Rules
Create 2 Rules to set the initial KDStatus
State - 1 Rule for Food, and 1 Rule for Drink.
We want to keep Food and Drink States separate, so we will be using the following KDStatus
States:
Food:
FNotPrinted
FPrinting
FPrinted
Drink:
BNotPrinted
BPrinting
BPrinted
###Rules to update KDStatus State when the Ticket is Closed
Food:
Drink:
###Rule to Print Food Orders
###Rule to reset KDStatus State when Order is Voided or a Void is Canceled (Food)