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

From Opentaps Wiki
Jump to navigationJump to search
m (Protected "Add Item to Created Order Tests": Sysop page [edit=sysop:move=sysop])
m
Line 1: Line 1:
 +
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 =
 
= 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.
 
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 Approved Non-Credit Card Order ==
+
== 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'''
 
'''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'''
  
Create an order for DemoCustomer for GZ-1000 of any qty.
+
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.