User might add product ID (identifier) when creating PO Line:
At the moment product_id_type.json defines enum of limited product id types. And UI uses these values as well.
However in scope of
UIOR-228 UI have to populate product IDs in the PO Line if user creates it based on existing instance record. This means UI have to use existing identifier types from the inventory storage and most likely some of the types will not match to those which are defined in enum.
acq-models: change product id type to be not a string with limited predefined values but uuid.
mod-orders: do not search identifier type record by name but just provided uuid to create instance record
mod-orders-storage: update all sample data to use valid identifier types from inventory reference data
- The schemas and examples are updated
- Sample data is updated
- Unit tests are updated
- API tests are updated