Done
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Hongwei Peng
Hongwei PengReporter
Kevin Cussen
Kevin Cussen(Deactivated)Labels
Story Points
3
Components
Sprint
Add sprint
Fix versions
Priority
Time Assistant
Time Assistant
Created May 17, 2016 at 7:36 PM
Updated December 22, 2017 at 11:17 PM
Resolved May 11, 2017 at 11:24 PM
As a storeroom manager I want to be able to perform an ad hoc issue to issue stock that was not requested through the system, so that I can issue the stock and keep my electronic inventory up to date
Acceptance criteria
User selects destination of ad hoc issue from dropdown list (configured by implementer/admin)
User selects reason for ad hoc issue from dropdown list (configured by implementer/admin)
While most stock cards have destination for ad hoc issue as a column, they don’t have reason as commonly indicated. So can be pushed to a lower priority if needed. Tie in with OLMIS-630
User selects the product(s) from the Facility’s product list
List of products + their SOHs are displayed for the user to select from or add issuing quantities to
Products with SOH = 0 should be greyed out
User enters issued quantity for each product
User should not be able to issue more than the stock on hand
User also enters the following information:
*Date of movement (pre-populated as the current date)
*Document number (only if selected by the implementor in OLMIS-706)
*Signature (only if selected by the implementor in OLMIS-706)
Quantities issued are reflected in the products’ stock on hand (subtracted from SOH) and as an activity on the products' electronic stock card
If lot management is “on”, ad hoc issue will require a lot number specified as well
*Once product(s) are selected, user enters lot number(s) issued for each product
*Rest of the process remains the same (enter quantities for each lot, reflect in products’ SOH)
Add extension point(s) to add attachments (such as picture of a paper requisition)
Acceptance Criteria:
Given I am on the 'New Issue' page, I can find three required fields: product, Issue to and date.
Given I am on the 'New Issue' page, I can leave the page by clicking the options in the breadcrum;
Given I am on the 'New Issue' page when I leave these required blank and click the Add button then the blank required fields are highlighted;
Given I am on the 'New Issue' page when all the products in the approved product list are not included lot information then the lot code field does not exist nor the lot code, expiry date column exist in the table.
Given I am on the 'New Issue' page when I type in keywords in the search textbox and click 'Search' button then all items in the table match the keywords will be displayed;
Given I am on the 'New Issue' page, the default value of date field is current date and I can only change it to a past date;
Given I am on the 'New Issue' page when I click the Issue to field then the dropdown list will pop up all facilities, organizations assigned to the program I selected and my home facility combination;
Given I am on the 'New Issue' page when I click the reason field then there will be a dropdown list with all transfer category and debit type reasons.
Given I am on the 'New Issue' page within all required fields not blank when I click Add button then a new item is added to the table with the information I choose.
Given I am on the 'New Issue' page when I choose a source allows free text then there will be a text box next to the Issue to field allows me to input description;
Given I am on the 'New Issue' page when I choose a product has lot belong to it then I can find those lot if I click the lot code field dropdown list;
Given I am on the 'New Issue' page when I choose a product has lot belong to it but I do not choose a lot for the lot code field and click the 'Add' button then a new item is added to the table and its lot code value is 'No lot defined', its expiry date is empty;
Given I am on the 'New Issue' page within a chosen lot when I click the 'Add' button then a new item is added in the table and the expiry date of this selected lot is displayed in the table expiry date cell;
Given I am on the 'New Issue' page, each page would display 20 products maximum;
Given I am on the 'New Issue' page if there are more than 20 products added to the table then there would be more than one page and I can go to different page to locate different products;
Given I am on the 'New Issue' page, I can update Issue to, reason, date fields in the table;
Given I am on the 'New Issue' page when I click the 'Remove' button of an item in the table then that item is removed from the table;
Given I am on the 'New Issue' page when I click the 'Clear' button then there will pop up a modal asking me whether I want to clear the whole table;
Given I am on the 'Clear' pop-up modal when I click 'yes' then the whole table becomes empty;
Given I am on the 'Clear' pop-up modal when I click 'no' then the modal disappear and I stay the previous 'New' Issue' page;
Given I am on the 'New Issue' page when I click the Submit button then there will pop up a confirmation modal. Refer to the confirmation mockup.
Given I am on the 'New Issue' page and some rows' SOH is negative when I click the Submit button then I stay the New receive page within negative SOH field highlighted;
Given I am on confirmation modal when I click 'Confirm' then I will be navigated to the SOH summary page displaying all products under the same program chosen for the Issue stock event;
Given I am on confirmation modal when I click 'Cancel' then the modal disappear and I stay at the New Issue page without any changes;