PUT piece and POST check in should be run sequentially for quick receive
Description
Description:
When user select Quick receive option in Edit piece form for cancelled order, “The piece was successfully saved” success toast message appears before clicking "Continue" button in "Order closed" confirmation popup
Preconditions:
One-time order in "Open" status with one PO line exists
PO line has the following settings:
"Receiving workflow" is "Synchronized order and receipt quantity"
"Quantity" = 1
"Create inventory" is "Instance, Holding, Item"
Created order should be cancelled after opening
Steps to reproduce:
Go to “Receiving” app on piece details pane related to created POL
Click on the record in "Expected" accordion
Expand the dropdown next to "Save & close" button and select "Quick receive" option
Click "Continue" button in "Order closed" confirmation popup
Expected result: “The piece was successfully saved” toast message should appear after clicking "Continue" button in "Order closed" confirmation popup
Actual result: “The piece was successfully saved” toast message appears before clicking "Continue" button in "Order closed" confirmation popup
Description:
When user select Quick receive option in Edit piece form for cancelled order, “The piece was successfully saved” success toast message appears before clicking "Continue" button in "Order closed" confirmation popup
Preconditions:
One-time order in "Open" status with one PO line exists
PO line has the following settings:
"Receiving workflow" is "Synchronized order and receipt quantity"
"Quantity" = 1
"Create inventory" is "Instance, Holding, Item"
Created order should be cancelled after opening
Steps to reproduce:
Go to “Receiving” app on piece details pane related to created POL
Click on the record in "Expected" accordion
Expand the dropdown next to "Save & close" button and select "Quick receive" option
Click "Continue" button in "Order closed" confirmation popup
Expected result: “The piece was successfully saved” toast message should appear after clicking "Continue" button in "Order closed" confirmation popup
Actual result: “The piece was successfully saved” toast message appears before clicking "Continue" button in "Order closed" confirmation popup