Won't Fix
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Unassigned
UnassignedReporter
Mary Jo Kochendorfer
Mary Jo Kochendorfer(Deactivated)Labels
Components
Priority
Time Assistant
Created April 21, 2016 at 8:20 PM
Updated February 8, 2023 at 1:29 PM
Resolved February 28, 2017 at 11:20 PM
As a warehouse manager, I want an order domain (and file) to be generated (when I convert to order) so that the system can transfer via FTP or local folder (depending on the settings) so that the fulfillment warehouse knows what to send each facility.
This ticket specifically relates to adding missing logic to the 'convert to order' step already implemented in OLMIS-226.
Transferring the file is addressed separately in https://openlmis.atlassian.net/browse/OLMIS-1369#icft=OLMIS-1369 and OLMIS-350. Local folder support is also a separate ticket (https://openlmis.atlassian.net/browse/OLMIS-349#icft=OLMIS-349). And the settings for FTP servers or local folders is also a separate ticket (https://openlmis.atlassian.net/browse/OLMIS-829#icft=OLMIS-829).
Acceptance Criteria
Verify that:
ability to select one or many approved requisitions to be converted
ability to 'convert' approved requisitions to orders
The order file template is used to generate the order entity (which uses the order number template to create the Order ID)
error handing if there aren't supply lines defined (we believe there is already validation of the warehouse)
use the supervisory node and program to deduce the warehouse (we will want to select the warehouse in the future OLMIS-227)
endpoints (assuming this means the convert to order endpoint)
fulfillment permissions enforced, users without permissions cannot
Order Number must be generated as defined in OLMIS-401 and Order date should be generated based on the date, given the local time zone, when the order is released (please check this with 2.0 to see if this is how it is implemented). All other attributes come from the order file template.
mandatory choice of supply depots https://openlmis.atlassian.net/browse/OLMIS-227#icft=OLMIS-227