DeleteChangeOrders

EventNames:

  • DeleteChangeOrders_Restrictions

  • DeleteChangeOrders_Pre

  • DeleteChangeOrders_Post

Parameters

Type

Name

Description

ChangeOrder[]

changeOrders (deletedChangeOrders in POST)

The changeOrders which should get / are deleted.

bool

successful

Post:
The information whether the Web Service call was successful or not is only available in Post events.

Examples:
DeleteChangeOrders_Restrictions:

Register-VaultEvent -EventName DeleteChangeOrders_Restrictions -Action 'RestrictDeleteChangeOrders'

function RestrictDeleteChangeOrders($changeOrders) {
	#Write event code here
}

DeleteChangeOrders_Pre:

Register-VaultEvent -EventName DeleteChangeOrders_Pre -Action 'PreDeleteChangeOrders'

function PreDeleteChangeOrders($changeOrders) {
	#Write event code here
}

DeleteChangeOrders_Post:

Register-VaultEvent -EventName DeleteChangeOrders_Post -Action 'PostDeleteChangeOrders'

function PostDeleteChangeOrders($deletedChangeOrders, $successful) {
	#Write event code here
}