Sending stock event from requisition performance

Description

Sending stock event during batch approve is taking around 40-50 seconds. Most of the time (80-90%) is taking preparation of stock event (get stock on hand from Stock, get sock adjustments from line item, ...). We should find a way to reduce this time as prepare and send event is taking ~90% of time for batch approve (after everything else is taking 4-5 seconds).

Acceptance criteria:

  • batch approve of 10 requisitions respond in less than 10 seconds.

Status

Assignee

Unassigned

Reporter

Paweł Albecki

Components

Priority

Major