diff --git a/text/0025-purchase-order.md b/text/0025-purchase-order.md index c42bb15..341a442 100644 --- a/text/0025-purchase-order.md +++ b/text/0025-purchase-order.md @@ -430,6 +430,8 @@ IDs included in the `PurchaseOrder` should refer to the same organizations. - `uid` - Unique identifier for Purchase Order - `workflow_status` - Workflow status. Values are defined by the smart contract workflows +- `workflow_type` - Workflow type. The name of the workflow that the Purchase +Order will proceed through. - `buyer_org_id` - Grid Pike organization ID associated with the buying organization defined by the XML in the purchase order's `order_xml_v3_4` field. - `seller_org_id` - Grid Pike organization ID associated with the selling @@ -444,12 +446,13 @@ accepted message PurchaseOrder { required string uid = 1; required string workflow_status = 2; - string buyer_org_id = 3; - string seller_org_id = 4; - repeated PurchaseOrderVersion versions = 5; - string accepted_version_number = 6; - uint64 created_at = 7; - bool is_closed = 8; + required string workflow_type = 3; + string buyer_org_id = 4; + string seller_org_id = 5; + repeated PurchaseOrderVersion versions = 6; + string accepted_version_number = 7; + uint64 created_at = 8; + bool is_closed = 9; } ```