Create "OrdersPostProcessingEventHandler" for mod-orders

CSP Request Details

None

CSP Rejection Details

None

CSP Approved

None

Description

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.

 

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

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
TestRail: Cases
TestRail: Runs

Flag notifications