Base Stock Management Approved Products from Product Model structure

Description

As an Administrator, when I approve products (eg add a product to the FTAP list), I intend that in Stock Management any Products which may "Fulfill For" that approved product, are also automatically approved.

This ticket has some history:

  • In the beginning, SM service used FTAP directly.

  • As part of OLMIS-3819, we wanted to ensure we're using the Product Model correctly, this caused bug OLMIS-3874.
    -OLMIS-3874 took the short term approach to allow any product to be used in SM. This allowed OLMIS-3874, and to be complete and our model's ability to be exercised.

  • However our end-goal isn't to allow any product to be available in SM, rather, just the approved products, and all their Fullfill For brethern. And that's why this ticket must be done.

AC:

  1. Limit the allowed Orderables that Stock Management may use (physical inventory, issue, adjustment, etc) to those in FTAP.

  2. Also include in the allowed Orderables those that are in the canFulfillForMe list of

    1 /api/orderableFulfills

    () of any Orderable in AC #1

  3. wouldn't be re-oppened

  4. Not all Orderables in the system would be available in Stock Management.

  5. Add searching Lots by multiple tradeItemId params, this endpoint will be used on UI

  6. Remove old stock card summaries files from Stock Management UI

Status

Assignee

Paweł Albecki

Reporter

Josh Zamor

Labels

None

Story Points

5

Time tracking

48h

Components

Sprint

None

Fix versions

Priority

Critical
Configure