Inventory Transfers tests
Action
Create an inventory transfer to a different facility for a quantity greater than the total QOH for that product in the source facility (EG if there are 10 on hand, create a transfer for 11). Return to the Inventory Transfer screen for that transfer and update the status to completed.
Results
A red error message saying Warning: This will cause QOH of product ${productId} to become negative should appear at the top of the page. Clicking the [Update] button again should result in a confirmation dialog, and clicking 'OK' should result in the transfer being completed successfully.
Action
As above, but instead of setting the transfer status manually, use the Complete Requested Transfers screen.
Results
Error message should appear as above for each selected transfer with insufficient source inventory. Clicking the [Complete] button again should result in a confirmation dialog, and clicking 'OK' should result in all the selected transfers being completed successfully.