RIDDL Specification For improving.app
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

DeliveredOrderHandler: Handler

ItemValue
BrieflyBrief description missing.
Definition PathImprovingApp.OrderContext.Order.Delivered.DeliveredOrderHandler
View Source LinkOrder.riddl(224:15)

OnMessageClause command CreateOrder

Statements

\nerror "Order has already been created."\n

OnMessageClause command UpdateOrderInfo

Statements

\nerror "Delivered Orders may not be modified."\n

OnMessageClause command SetToPendingOrder

Statements

\nerror "Pending orders may not transition to the Pending state"\n

OnMessageClause command SetToInProcessOrder

Statements

\nerror "Draft orders may not transition to the InProcess state"\n

OnMessageClause command SetToReadyOrder

Statements

\nerror "Pending orders may not transition to the Ready state"\n

OnMessageClause command DeliverOrder

Statements

\nmorph entity Order to state Order.Delivered with record Order.DeliveredState"adjust meta fields to reflect change set""yield OrderDelivered event"\n

OnMessageClause command CancelOrder

Statements

\nerror "Delivered Orders may not be cancelled."\n

OnMessageClause query GetOrderInfo

Statements

\n"yield OrderInfoResult message"\n

Used By None

Uses Nothing