Condition_IsRestaurantOrderState
Description
Returns whether the BaseObject customer has a restaurant order ticket in the EB1OrderState specified by S1. All real ticket states are supported through enum-name conversion rather than a state-specific branch.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Self or Target customer whose order ticket state is checked |
| S1 | EB1OrderState FName: Ordered, Cooking, Ready, Served, Eaten, or Cancelled |
| CompareType | Equal: the ticket is in S1. NotEqual: no ticket for the customer is in S1 |
Examples
IsRestaurantOrderState(BaseObject=Target, S1=Served, CompareType=Equal)
Back to Command FinderSearch and filter all 491 Script Condition documents