Done
Details
Assignee
Ruslan LavrovRuslan LavrovReporter
Volodymyr RohachVolodymyr RohachLabels
Priority
P2Story Points
5Sprint
NoneDevelopment Team
FolijetFix versions
Release
Orchid (R1 2023)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Ruslan Lavrov
Ruslan LavrovReporter
Volodymyr Rohach
Volodymyr RohachLabels
Priority
Story Points
5
Sprint
None
Development Team
Folijet
Fix versions
Release
Orchid (R1 2023)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created December 1, 2022 at 10:49 AM
Updated February 24, 2023 at 10:06 AM
Resolved February 13, 2023 at 2:32 PM
Create and register "OrdersPostProcessingEventHandler" which will create Pieces, link them to Items, trigger necessary logic in mod-finance and eventually set Order status to Open. Existing logic for creating Pieces and other functionality should be reused. DI_COMPLETED event should be issued for every POLine for which processing is finished. Add table to track processing of POLines associated with a particular Order (orderID, total POLines and a counter for POLines), once post processing event is received for each POLine in the Order, call Helper service for Order to be processed and opened, sent DI_COMPLETED event after that.
This handler should be invoked by a consumer that is subscribed to DI_ORDER_CREATED_READY_FOR_POST_PROCESSING event .
See the diagram https://folio-org.atlassian.net/wiki/display/DD/Import+Orders+in+MARC+format - this handler should cover logic specified in steps 12-18.