External business events provide partners and customers a mechanism for notifying and triggering their external systems from the Business Central application, so their systems can react and perform actions in response. For example, they can use Power Automate to subscribe to events on Business Central and react on other Dynamics 365 and partner (non-Microsoft) applications.

Clever Shipment management adds the following business events.

  • RouteStatusChanged
  • RouteCompleted
  • RouteSendNotifications
  • DropETAChanged

RouteStatusChanged

This event is fired when the status code of a shipment management route has changed. The event has the following parameters.

Name Type Size Description
RouteRecordID Record ID The record ID of the Shipment Management Route. This can be used to retrieve the Shipment Route record using the APIs.
OldStatusCode Code 20 The Status code before the change.
NewStatusCode Code 20 The Status code after the change.


RouteCompleted

This event is fired when a shipment management route has been completed. The event has the following parameters.

Name Type Size Description
RouteRecordID Record ID The record ID of the Shipment Management Route. This can be used to retrieve the Shipment Route record using the APIs.
PostedRouteRecordID Record ID The record ID of the Posted Shipment Management Route. 

RouteSendNotifications

This event is fired when a shipment management route reach the status of 'Send Notifications', typically when a vehicle has been loaded. The event has the following parameters.

Name

Type Size Description
RouteRecordID Record ID The record ID of the Shipment Management Route. This can be used to retrieve the Shipment Route record using the APIs.

Note: In order to use this event the 'Send Notifications' status code must be present in the status list used for the route.

DropETAChanged

This event is fired when a estimated time of arrival (ETA) of a drop is updated, typically when a vehicle has been loaded. The event has the following parameters.

Name Type Size Description
DropRecordID Record ID The record ID of the Shipment Management Drop. This can be used to retrieve the Shipment Route Drop record using the APIs.
NewETA DateTime The new Estimated Time of Arrival for the drop.

Note: In order to use this event the PODFather integration must be enabled.