Add configuration settings for external fill for fulfillment

Description

For fulfillment, there needs to be configuration for fulfillment to an external ERP (external fill) in order to process an Order. The Fulfillment Service would use this setting to know how to start an external fill process (with order file templates and FTP).

There is a question whether these settings would be global for the system, or per program (a program might use a local warehouse network, another program might use external logistics), or per warehouse (one warehouse fulfills in-house, another uses external), or potentially both?

For now, until we have a clearer understanding of the business requirements, we will assume that Configuration settings are per warehouse. There do seem to be some similar configuration in v2 for this (see FacilityFtpDetails and related classes), so we might be able to reuse the functionality from that.

Acceptance Criteria

  • If the system already has a way to manage configuration settings (ConfigurationSettingService?) that fulfills requirements, use it; otherwise, design a way to store and manage these settings (might potentially use the design from v2)

  • Add any bootstrap/demo data as necessary

Attachments

1

QAlity Plus - Test Management

Checklists

Activity

Show:
Paulina Borowa
December 6, 2016 at 10:14 AM

All works.
More details in test case:
https://openlmis.atlassian.net/wiki/x/DgAOBg

Paulina Borowa
December 5, 2016 at 3:59 PM
(edited)

There is only one problem in this ticket You should remove endpoint:
get /facilityFtpSettings/search it doesn't working at all and it's useless because we have this endpoint: get /facilityFtpSettings/{id} for searching.

Chongsun Ahn
November 30, 2016 at 8:27 PM

After discussing with , for 3.0, we're sticking with configuration per warehouse only. This should be the same as v2.

Mary Jo Kochendorfer
November 18, 2016 at 11:45 AM

This is a great question and one I think we'll need to discuss. Use cases we'd likely support with local fulfillment would be a 'new' facility type which is mixed use for it will have a storeroom to fulfill to lower nodes and it requisitions stock from central. I'm also hearing potentially a need for the configuration to go down to the program/product level, which may open up additional conversations... I will talk to some folks on this and come back with an opinion shortly. I would also like to discuss LOE on the various levels levels of configuration.

let me know your thoughts on what level of configuration is needed in your experience.

Chongsun Ahn
November 17, 2016 at 11:11 PM

there is a question above about how local vs. external fill is configured? By program? By warehouse? Both?

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Time tracking

3d logged

Components

Sprint

None

Fix versions

Priority

Time Assistant

Created November 17, 2016 at 10:58 PM
Updated June 22, 2017 at 9:01 PM
Resolved December 6, 2016 at 10:14 AM