292 projects - 9650 developers
Openbravo ERP > Reports > Orders Awaiting Delivery report
Project Wiki
Views

Test Cases

From Wiki

Jump to: navigation, search

Contents

Orders Awaiting Delivery - Test Cases

Overview

The Orders Awaiting Delivery Report will permit to track sales orders not shipped.

Use project's bug tracker to log any issue that you may find.

Preliminary Data

Customers

Create 2 new customers.

Num Steps Comments Status
1.1
  • Create a business partner Customer 1
  • In Customer tab select:
    • Delivery Terms = Availability
    • Price List = General Sales
  • In Location tab add:
    • Location 1
    • Location 2
Successfull Executed
1.2
  • Create a business partner Customer 2
  • In Cusomer tab select:
    • Delivery Terms = Availability
    • Price List = General Sales
  • In Location tab add 1 location.
Successfull Executed

Products

Create 3 new products.

Num Steps Comments Status
2.1
  • Create a new product Product A:
    • Product category = Food
    • UOM = Bag
    • Storage Bin = ML1
    • Attribute Set = Lot and expiration
  • In Price tab select:
    • Price List Version = Sales 2006
Successfull Executed
2.2
  • Create a new product Product B:
    • Product category = Tools
    • UOM = Unit
    • Storage Bin = ML1
  • In Price tab select:
    • Price List Version = Sales 2006
Successfull Executed
2.3
  • Create a new product Product C:
    • Product category = Clothes
    • UOM = Unit
    • Storage Bin = SL2
    • Attribute Set = Color
  • In Price tab select:
    • Price List Version = Sales 2006
Successfull Executed

Stock

Create stock for products A, B and C.

Num Steps Comments Status
3.1
  • Create a new physical inventory for Main Warehouse.
  • In lines tab add:
    • Product A:
      • Storage Bin = ML1
      • Attribute Set Value = L9797
      • Quantity = 4
    • Product B:
      • Storage Bin = ML2
      • Quantity = 50
  • Process Inventory Count
Successfull Executed
3.2
  • Create a new physical inventory for Secondary Warehouse.
  • In lines tab add:
    • Product C:
      • Storage Bin = SL2
      • Attribute Set Value = Green
      • Quantity = 100
Successfull Executed

Sales Orders

Create 4 sales orders.

Num Steps Comments Status
4.1
  • Create a Warehouse Sales Order for Customer 1
    • Order Reference = 98876T
    • Price List = General Sales
    • Warehouse = Main Warehouse
    • Select a Delivery Location distinct from Partner Address
  • Add:
    • Product A with quantity 2 and select an Attribute Set
    • Product B with quantity 60
  • Complete this Sales Order: a Good Shipment is automatically generated with all the quantity of the order lines so this order should not appear in the report.
Executed Successfull
4.2
  • Create a Standard Sales Order for Customer 1
    • Order Reference = 7847R
    • Price List = General Sales
    • Warehouse = Main Warehouse
  • Add:
    • Product A with quantity 30 and select an Attribute Set
    • Product B with quantity 40
  • Complete this Sales Order.
  • Create a Good Shipment for Customer 1 and Main Warehouse.
  • Click on Copy From Lines button and select previous Sales Order
  • Select lines of product A and B and click on OK.
  • Go to lines tab and change Quantity of product B to 20.
  • Complete this Good Shipment
  • In the report, both lines should appear.
Executed Successfull
4.3
  • Create a Standard Sales Order for Customer 1
    • Order Reference = 555J
    • Price List = General Sales
    • Warehouse = Secondary Warehouse
    • Select a Delivery Location distinct from Partner Address
  • Add:
    • Product B with quantity 3
  • Complete this Sales Order.
  • Create a Good Shipment for Customer 1 and Secondary Warehouse.
  • Click on Copy From Lines button and select previous Sales Order
  • Select line of product B and click on OK.
  • Go to lines tab and change Quantity of product B to 1.
  • Complete this Good Shipment
  • In the report, quantity in stock for this product should be zero since we have product B in stock in Main Warehouse but not in Secondary Warehouse.
Executed Successfull
4.4
  • Create a Standard Sales Order for Customer 2
    • Order Reference = 999Y
    • Price List = General Sales
    • Warehouse = Secondary Warehouse
    • Empty Delivery Location
  • Add:
    • Product C with quantity 300 and Attribute Set = Black
  • Complete this Sales Order.
  • Create a Good Shipment for Customer 2 and Secondary Warehouse.
  • Click on Copy From Lines button and select previous Sales Order
  • Select line of product C and click on OK.
  • Complete this Good Shipment
  • In the report, quantity in stock for this product should be zero since we have product C in attribute green in stock but not black.
Executed Successfull

Use Cases

Case 1: Filter by business partner

Num Steps Comments Status
1.1
  • Go to Sales Management > Analysis Tools > Orders Awaiting Delivery Report.
  • Select Customer 2 in the business partner selector.
  • Click on HTML Format button.
  • Check that:
    • Delivery Location is business partner's one (since delivery locaiton was left empty).
    • Ordered Quantity = 300 Ud
    • Pending Quantity = 100 Ud
    • Quantity in Stock is Negative since we do not have this product with this attribute set in stock.
Sucessfull Executed

Case 2: Filter by order document number

Num Steps Comments Status
2.1
  • Go to Sales Management > Analysis Tools > Orders Awaiting Delivery Report.
  • The Order Document No. of Sales Order 4.3 in Order Document No. text field.
  • Click on PDF Format button.
  • Check that:
    • Lines of Sales Order 4.3 appear with Product B Pending Quantity = 2 Ud and Quantity in Stock negative since there was no Product B in Warehouse 2.
Sucessfull Executed

Case 3: Filter by order reference

Num Steps Comments Status
3.1
  • Go to Sales Management > Analysis Tools > Orders Awaiting Delivery Report.
  • Type 8 in Order Reference field.
  • Click on PDF Format button.
  • Check that:
    • Sales Order 4.1 does not appear since it was completely delivered.
    • Lines of Sales Order 4.2 appear with Product A Pending Quantity = 0 Bg and Product B Pending Quantity = 20 Ud
Sucessfull Executed


QA Test

Media:QA_OrdersPendingDelivery.pdf