选择状态机来实现此组件的原因在于:对于每个订单,用于处理该订单的步骤取决于该订单的当前状态。
We chose a state machine to implement that component because, for each order, the steps that were taken to process the order depended on the current state of the order.
图1显示了一个名为manufacturing的数据目录,来组织所有与生产相关的数据模型,诸如订单和订单状态。
Figure 1 shows a data catalog called manufacturing for organizing all manufacturing-related data models, such as orders and order status.
然而,order表则具有该客户的所有订单,而不管订单的状态如何。
The order Table, however, has all the orders for the customer, no matter what the state of the order is.
你也可能会得到一个某种类型的订单号,这样你就可以检查订单的状态。
You are also given an order ID of some kind that allows you to check the status of the order.
如果没有足够的库存来满足订单的需要,就会适当地设置订单的状态并返回一个错误。
If there is insufficient stock to fulfill the order, the order's status is set appropriately and an error is returned.
该流程将首先用订单状态更新数据库中的CRM记录,然后创建一个人工任务来显示订单。
This process first updates the CRM record in the database with the order status and then creates a human task to display the order.
这个实例接收、取消,并获得客户订单的状态,由本系列第一部分中所开发的订单方案所表示。
This is an example service that accepts, cancels, and gets the status of a customer order, represented by the order schema developed in Part One of this series.
例如,许多时候用户将比订单状态变化更快地检查订单。
For instance, many times the user will check order status sooner than any status change is realistic.
您需要将订单信息存储在变量中,以便能将其发送到状态机处理订单时调用的服务。
You need to store the order information in a variable so that you can pass it to the services that are called as the state machine processes an order.
然后将向客户发送确认,并更新订单状态,表明已经成功履行订单。
A confirmation is then sent to the customer and the order status is updated to record that it has been successfully fulfilled.
现在,业务状态机返回到BuildingOrder 状态,在这里可以更改订单金额(使用updateOrder),然后重新尝试订单操作。
Now that the business state machine is back in the Building Order state, the order amount can be changed (using updateOrder) and the order operation will try again.
如果订单一直处于这种状态代码,那么您应该视它为失败订单,不要交付产品。
If an order is sitting on this status code you should consider this to be a failed order and not deliver the product.
准时准确的完成订单的相关报告,在SWAS内部确保订单状态的高度透明;
On time complete the order information related report correctly; keep the order status transparency in SWAS internal.
订单信息管理:查看订单清单,更新订单付款,出货状态。
Orders for information management: View a list of orders, updating of payment orders, shipping status.
完成付款后,请牢记系统自动生成的订单编号以便随时查询您的订单状态。 订单状态可以在HO-HOTOWN网页上的”TRACKORDER”页面查询。
Please keep your order number after completing payment so that you can check your order status anytime. You can check your order in the "track order" page in HO-HO TOWN website.
修改被拒绝订单1。进入订单管理,点击“订单查询”按钮,找到订单状态为“已拒绝”的订单。
The modification is refused order 1. Get into an order management, click "order search" button, find out the order appearance as the order of "have already refuse".
进入订单管理,点击“订单查询”按钮,找到订单状态为“已拒绝”的订单。
Get into an order management, click "order search" button, find out the order appearance as the order of "have already refuse".
订单发货后,您会收到另一封含有查询订单状态链接的邮件。
Once the order has shipped you will receive another email with a link to track its progress.
当一个订单的所有项目都填写好后,订单的状态将变为完成状态。
When all the items on order has been fulfilled, the order will be changed to the completed state.
“,”您会收到订单确认邮件,包含详细的订单内容以及查询订单状态的链接。“
You will receive an order confirmation email with details of your order and a link to track its progress.
“,”您会收到订单确认邮件,包含详细的订单内容以及查询订单状态的链接。“
You will receive an order confirmation email with details of your order and a link to track its progress.
应用推荐