Skip to content

CountSessionResumedEvent

EventType: COUNT_SESSION_RESUMEDDomain: inventory Broker subject: progress.notification.inventory

Resumes a paused inventory count session, setting its status back to STARTED so operators can continue adding count records.

Trigger

Triggered by: POST /event (universal event dispatcher)

Dispatched via POST /event in backend/api/endpoints/traceability.py with event_type: COUNT_SESSION_RESUMED.

Preconditions

  • InventoryCountSession exists with key info.session_key
  • Session status is PAUSED

State Changes (Transaction)

Collections: InventoryCountSession

  • InventoryCountSession updated: status → STARTED

Side Effects (post_processing)

Inherits post_processing() from BaseInventoryEvent:

  • Publishes to progress.notification.inventory

InfoModel Fields

FieldTypeDescription
session_keystrArangoDB key of the inventory count session to resume

None.

Source

CountSessionResumedEvent on GitHub

Released under the Apache 2.0 License.