Skip to content

MobileCRM.UI.RoutePlan.onItemCompleted

rescocrm edited this page May 15, 2023 · 2 revisions

Binds or unbinds the handler for "Item Completed" event.

Bound handler is called with the RoutePlan object as an argument.

The RoutePlan context object contains property "entity" carrying DynamicEntity object af completed visit record being removed from route plan.

Arguments

Argument Type Description
handler function(RoutePlan) The handler function that has to be bound or unbound.
bind Boolean Determines whether to bind or unbind the handler.
scope Object The scope for handler calls.
Clone this wiki locally