Skip to content

AssignmentCompletedEvent

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

Marks a count assignment as completed. A count assignment represents a portion of an inventory count session delegated to a specific operator or position. This event records the completion state of the assignment document.

Trigger

Triggered by: POST /event (universal event dispatcher)

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

Preconditions

  • Assignment exists with key info.assignment_key

State Changes (Transaction)

Collections: [] (no writes beyond event log; AssignmentCompletedEvent.get_tx_collections() returns empty list)

  • Event record stored in the event log

Side Effects (post_processing)

Inherits post_processing() from BaseInventoryEvent:

  • Publishes to progress.notification.inventory

InfoModel Fields

FieldTypeDescription
assignment_keystrArangoDB key of the count assignment

None.

Source

AssignmentCompletedEvent on GitHub

Released under the Apache 2.0 License.