Difference between revisions of "Add Item to Created Order Tests"

From Opentaps Wiki
Jump to navigationJump to search
m (Adding to Created Order)
m (Adding to Created Order)
Line 29: Line 29:
 
Pack and ship both orders using the Warehouse application.
 
Pack and ship both orders using the Warehouse application.
  
''Results'''
+
'''Results'''
  
 
Both orders should show the GZ-1001 item as being in the Completed status.
 
Both orders should show the GZ-1001 item as being in the Completed status.

Revision as of 00:04, 9 October 2007

Unless noted, these tests assume that there is sufficient QOH and ATP for the orders. To increase them, go to Warehouse > Inventory > Receive an Item. Use this form to add products directly to the inventory

Status Tests

Because the logic is very heavily status dependent, there are some basic status changes that are required in order for things to work smoothly. These tests are designed to ensure that adding an item to an order marks the status of the item and the order correctly.

Adding to Created Order

Action

Create an order for DemoCustomer with product GZ-1000. Use Offline Payment for the payment method. The order must be in the Created state. Click on the [Edit or Add Item] to get the add form. At the bottom, add GZ-1001 to the order.

Results

A new row for GZ-1001 is added to the order with status Approved.


Action

Repeat the test, but approve the order first before adding the item.


Results

A new row for GZ-1001 is added to the order with status Approved.

Action

Pack and ship both orders using the Warehouse application.

Results

Both orders should show the GZ-1001 item as being in the Completed status.