Difference between revisions of "Add Item to Created Order Tests"
LeonTorres (talk | contribs) m (→Adding to Created Order) |
LeonTorres (talk | contribs) m |
||
Line 5: | Line 5: | ||
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. | ||
− | == | + | == Item Status Tests == |
'''Action''' | '''Action''' |
Revision as of 00:06, 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.
Item Status Tests
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.