基于历史事实的系统状态管理与处理策略
1. 订单与物流系统状态管理
在订单处理中,缺货商品会被预订(back - ordered)。预订商品可以直接发货(drop - shipped)或接收。若接收,仓库会生成新的装箱单并进行发货。商品可以从直接发货或仓库发货中退回,且不必退回整个发货批次,退回时需指定包含的商品。
商品的物流状态可通过以下函数基于历史事实确定:
logistics state (item) =
if there exists PackingSlip
if there exists Shipment
if there exists Return
then Returned
else Shipped
else Picked
else if there exists Backorder
if there exists Receipt
then Received
else if there exists DropShipment
if there exists Return
then Returned
else DropShipped
else BackOrdered
else Ordered
订单履行系统中,计费部门主要关注财务文件,运输部门处理物流事件,二者仅在协调付款与发货、退款与退货时产生交集。
2. 软件变更跟踪系统状态管理
在软件变更跟踪系统中,Bug 的状态转换有其特定规则
超级会员免费看
订阅专栏 解锁全文
4926

被折叠的 条评论
为什么被折叠?



