Create and manage Multi Process Sales Order
Background
brian is a factory purchaser for HYUN-JIN maline is a front admin anita is order manager at AVERY DENNISON RIS VIETNAM CO (12345) paul is order manager at AVERY DENNISON CHINA PANYU (67890) 2617745 (Industrial Process PACKAGING) is sold by AVERY DENNISON RIS VIETNAM CO on DP Hanoi 2219985 (Industrial Process ACCESSORY) is sold by AVERY DENNISON RIS VIETNAM CO and AVERY DENNISON CHINA PANYU on DP Hanoi
Order Creation
Given FP1 is placing the following order on DP1
| fg item code | quantity | cnuf |
|---|---|---|
| 2617745 | 100 | 12345 |
| 2219985 | 100 | 12345 |
| 2219985 | 100 | 67890 |
When he generates the order V1
Then 3 purchase orders are created as below
| Order | fg item code | quantity | cnuf |
|---|---|---|---|
| A1 | 2617745 | 100 | 12345 |
| A2 | 2219985 | 100 | 12345 |
| A3 | 2219985 | 100 | 67890 |
Order Validation
Given maline visualizes V1
When she validates
Then the 3 commands A1 A2 A3 are validated.
diplay order and filter after Partial Shipment
Given anita is viewing V1
And she accepts the purchase order A1
And she ships 50 pcs of 2617745
When anita, brian or maline visualizes the order V1
Then the status bar is in split shipment
When anita, brian or maline filters on split shipment
Then the V1 order appears but only for A1.
diplay order and filter complete Shipment of A1
Given anita ships the remaining qty for A1
When anita, brian or maline views the V1 order
Then the status bar is in Shipped
When anita, brian or maline filters on split shipment
Then the V1 order does not appear.
diplay order and filter after complete Shipment of A1 and A2
Given anita ships the total qty for A1 an A2
When anita, brian or maline views the V1 order
Then the status bar is in Shipped
When anita, brian or maline filters on split shipment
Then the V1 order does not appear.
diplay order and filter after complete Shipment of A1 and A2 and partial Shipment of A3
Given Paul is viewing V1
And he accepts the purchase order A3
And he ships 50 pcs of 2219985
When paul, brian or maline views the V1 order
Then the status bar is in split shipment for paul
And the status bar is in Shipped for brian and maline
When paul, brian or maline filters on split shipment
Then the V1 order appears but only for A3.
diplay order and filter after complete Shipment of A1, A2 and A3
Given Paul is viewing V1
And that he sends the rest of his order
When paul, brian or maline views the V1 order
Then the status bar is in Shipped
When paul, brian or maline filters on split shipment
Then the V1 order does not appear.