Difference between revisions of "Open Requirements Tests"

From Opentaps Wiki
Jump to navigationJump to search
m (Protected "Open Requirements Tests": Sysop page [edit=sysop:move=sysop])
Line 1: Line 1:
These tests will verify that open requirements are correctly handled.
+
These tests will verify that requirements are correctly created when orders are approved.
  
  
 
'''Action'''
 
'''Action'''
  
Create an order for the product PROD_COST for the default ecommerce store.
+
Create an order for the product GZ-1005 for DemoAccount1, using "Offline Payment" and the default ecommerce store.
Run MRP by going to Purchasing > Planning >> Run MRP.  Select "WebStoreWarehouse" and run the MRP service.
 
Then go to Purchasing > Planning >> Open Requirements.  Put in "PROD_COST" in the productId field.
 
  
 
'''Result'''
 
'''Result'''
  
You should see requirements for PROD_COST, MAT_A_COST, MAT_B_COST show up.
+
No requirements are created when the order is first created.
  
 +
'''Action'''
 +
 +
Approve your Order
 +
 +
'''Result'''
 +
 +
A requirement is created for GZ-1005.
  
 
'''Action'''
 
'''Action'''
  
Now put in MAT_A_COST
+
Go to Purchasing > Planning >> Open Requirements. 
  
'''Result'''
+
'''Results'''
  
Only requirements for MAT_A_COST will show up now.
+
You should see your new Requirement there.

Revision as of 00:55, 30 November 2007

These tests will verify that requirements are correctly created when orders are approved.


Action

Create an order for the product GZ-1005 for DemoAccount1, using "Offline Payment" and the default ecommerce store.

Result

No requirements are created when the order is first created.

Action

Approve your Order

Result

A requirement is created for GZ-1005.

Action

Go to Purchasing > Planning >> Open Requirements.

Results

You should see your new Requirement there.