Inventory Transfers tests

From Opentaps Wiki
Jump to navigationJump to search

Action

Create an inventory transfer to a different facility for a quantity equal to total QOH for that product (ie, GZ-1004 which has no initial inventory) in the source facility (EG if there are 10 on hand, create a transfer for 10). Then create an order for the same product and ship the order. 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.