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
InventoryCountSessionexists with keyinfo.session_key- Session
statusisPAUSED
State Changes (Transaction)
Collections: InventoryCountSession
InventoryCountSessionupdated:status → STARTED
Side Effects (post_processing)
Inherits post_processing() from BaseInventoryEvent:
- Publishes to
progress.notification.inventory
InfoModel Fields
| Field | Type | Description |
|---|---|---|
session_key | str | ArangoDB key of the inventory count session to resume |
Related Events
None.