227: Assign supplying depot to requisitions for "Convert to Order"
Test Case #:227
Pre – conditions: |
Step | Action | Expected system response | Comment |
1 | Ticket has been verified using demo-data. |
| |
2 | Find a user with assigned roles. URL: http://10.222.17.134/referencedata/api/users?access_token=d16c4429-c857-4ed6-bdc4-661257ceb692 Method: GET |
|
|
3 | List all requisitions ready for convert to order. Method: GET |
|
|
4 | Get all the facilities that the user has fulfillment rights for. Method: GET |
|
|
5 | Get all the facilities that the user supervises, by right and program. Methof: GET |
| |
6 | Retrieve all available supplying facilities for program and supervisory node. Method: GET |
|
|
7 | Conver to order the requisition. Method: GET Body: [ { "requisitionId": "c6ce0209-6caf-4f40-bea8-01ce529fdc67", "supplyingDepotId": "e6799d64-d10d-4011-b8c2-0e4d4a3f65ce" } ] |
|
|
8 | Try to convert to order the requistion when it's not APPROVED. |
|
|
9 | Try to convert the requisition to order when |
Post – conditions: |
Related content
OpenLMIS: the global initiative for powerful LMIS software