Removing Operations

These operations take some Goods as inputs, and have no outcomes.

Of course, since Anyblok / Wms Base keeps the full history, technically, the incoming Goods are not removed from the database. Rather, their state field is being set to past during execution.

Model.Wms.Operation.Departure

class anyblok_wms_base.core.operation.departure.Departure[source]

Operation to represent goods physically leaving the system.

Downstream libraries and applications can enhance this model with additional information (e.g., a shipping address) if needed, although it’s probably a better design for rich shipment representation to issue separate Models and relation tables.

TYPE = 'wms_departure'
after_insert()[source]

Either finish right away, or represent the future decrease.

cancel_single()[source]
depart()[source]

Common logic for final departure step.

execute_planned()[source]
id = <anyblok.column.Integer object>
obliviate_single()[source]