Skip to content

PositionConfirmedEmptyEvent ​

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

Records that an operator explicitly confirmed a storage position is empty during a count session. Inserts an inventory_count_position_complete record without a count quantity, distinguishing a confirmed-empty from a counted-zero.

Trigger ​

Triggered by: POST /event (universal event dispatcher)

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

Preconditions ​

  • InventoryCountSession exists with key info.session_key
  • Position exists with key info.position_key

State Changes (Transaction) ​

Collections: inventory_count_position_complete

  • inventory_count_position_complete record inserted: session_key, position_key, confirmed_empty → true, optional notes

Side Effects (post_processing) ​

Inherits post_processing() from BaseInventoryEvent:

  • Publishes to progress.notification.inventory

InfoModel Fields ​

FieldTypeDescription
session_keystrArangoDB key of the count session
position_keystrArangoDB key of the position confirmed empty
notesstr | NoneOperator notes

None.

Source ​

PositionConfirmedEmptyEvent on GitHub

Released under the Apache 2.0 License.