Add Item to Purchase Order Tests

From Opentaps Wiki

Jump to: navigation, search

Contents

Setup

Go to Purchasing application's Order tab. Select [Create Order] and choose DemoSupplier from the list of suppliers. Continue past the agreement screen to reach the main create order screen. The form on top lets you enter a product ID. The list at the bottom shows the items in the order.

Entering a Product Id

Action Enter GZ-1000, quantity 1. Select a Ship Before Date.

Result One GZ-1000 should be added to cart with ship before date as entered.

Entering a UPC

Action Enter 043000285213, quantity 1

Result One GZ-1000 should be added to the cart.

Entering a Product Id via Lookup

Action Click on the lookup icon next to product ID input field and search for products beginning with GZ. Click on one of the products.

Result That product ID should now be in the input field.

Find Matching Products via Product Id

Action Enter GZ into the product ID field and press [Add to Order]

Result List of matching products starting with GZ should show up. This is a list of available supplier products for DemoSupplier. Each product ID should be listed three times with minimum order quantities of 0, 5 and 25. You should be able to sort the results by product ID, UPC-A, supplier product name, last price, and minimum order quantity. If there is more than one page, you should be able to navigate through the pages.

Return to Create Order from Matching Products

Action Press the [Return to Order] button in the upper right corner of the matching products screen.

Result Returns you to the create order screen.

Finding Matching Products via Product Id

Action Enter 043 into the product ID field and pres [Add to Order]

Result List of products beginning with UPC-A 043 show up, they are the three GZ-1000 products with minimum quantities 0, 5 and 25.

Finding Matching Products via Supplier Product Id

Action Enter GZ-1000-5 into the product ID field and press [Add to Order]

Result Matching products screen displays one item, GZ-1000 for minimum quantity 5.

Adding Products from Matching Products Screen

Action Enter GZ into the product ID field and press [Add to Order]. Select qty 30 of GZ-1000, qty 1 of GZ-1006 and qty 5 of GZ-2002. Select ship before dates for all products. Press [Add to Order].

Result 30 GZ-1000 should be added at the price listed for GZ-1000-25, 1 GZ-1006 at the price listed for GZ-1006-0, and 5 GZ-2002 at the price listed for GZ-2002-5. It shouldn't matter if you entered 30 in the line for the minimum quantity 0 line, the system automatically fetches the correct supplier product for the quantity. The ship before dates are as entered.

Adding a Supply

Action Enter SUPPLY-001 as the productId

Result A supplies product "Pencil" will be purchased. When the order is created, the orderview page will say "PO: Supplies (to Expense)" for this order item.

Adding a Fixed Asset

Action Enter ASSET-001 as the productId

Result A supplies product "Office Computer" will be purchased. When the order is created, the orderview page will say "PO: Fixed Asset" for this order item.



© Open Source Strategies, Inc. Development of this documentation site is sponsored by Open Source Strategies, Inc.
Help support opentaps with a subscription to this documentation site.