1555:Create a POD from an Order

Test Case #:1555


Test Case Name: Create a POD from an Order

System: openLMIS

Subsystem: blue

Test case designed by: Lucyna Laska

Design Date:26.01.2017

Short description

As OpenLMIS, I want to create and persist a POD populated with the data from the Order so that I can show the POD data to any client that asks for it; for example, the 'manage the POD' screen.

Acceptance Criteria

  • When an Order (and its order file) is created, it should also create a POD, which should be persisted to the datastore (in the pods and pod line items tables)
  • The data that should be stored:
    • For the POD: full order code, supplying depot, requesting facility, program?, period?, order date?
    • For POD line items: full supply, product code, product name, product category code and name, ordered/shipped quantity, dispensing unit, packs to ship

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       

 

 

Step

Action

Expected system response

Comment

1

         Create and order and check if the POD is also created.     (tested for requisition with ID: fd575c05-c469-4bb4-b5d3-4e8937a8c1ff which was converted to order.

                                                                             

                                                                                                                            

                    The ID of POD: ead3e365-5489-4d40-ac5a-4a8131e247f0                            

2

Check if all required data are stored:

- for POD: full order code, supplying depot (supplying facility), requesting facility, program, period, order date

  • full Order Code

  • Supplying Facility (supplying Depot)

  • Requesting Facility

  • Program

  • ProcessingPeriod

  • Order Date

 

3

 

Check if all required data are stored:

- for POD LineITems: full supply, product code, product name, product category code and name, ordered/shipped quantity, dispensing unit, packs to ship

 

 

4

  

 

5

   

6

  

 

7

  

 

8

                                                 

 

 

 

Post – conditions:

OpenLMIS: the global initiative for powerful LMIS software