Documentation

Order saving: special events

System of orders has several sets of special events that are events with postponed initiation, i. e. they are initiated in order life cycle, but are called when saving.

EventDescription and parameters
OnSaleOrderCanceled Called when saving, if saved order was cancelled.

Parameters
ENTITY Order object.
OnSaleStatusOrderChange Called when saving, if order status was modified.

Parameters
ENTITY Order object.
OnSaleOrderPaid Called when saving, if order payment status was updated.

Parameters
ENTITY Order object.
OnShipmentTrackingNumberChange Called when saving, if shipment ID was updated.

Parameters
ENTITY Order object.
OnShipmentAllowDelivery Called when saving, if shipment enabling flag was updated.

Parameters
ENTITY Order object.
OnShipmentDeducted Called when saving, если был изменен флаг отгрузки.

Parameters
ENTITY Order object.
OnSaleBeforeOrderDelete Called before deleting order.

Parameters
ENTITY Order object.


© «Bitrix24», 2001-2024
Up