EditChangeOrder

EventNames:

  • EditChangeOrder_Restrictions

  • EditChangeOrder_Pre

  • EditChangeOrder_Post

Parameters

Type

Name

Description

ChangeOrder

changeOrder

The Change Order which should get / is in edit mode.

bool

successful

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

Unexpected Behaviour

EditChangeOrder event is raised when selecting a Change Order within the Vault Client and cliching on Edit.

Examples:
EditChangeOrder_Restrictions:

Register-VaultEvent -EventName EditChangeOrder_Restrictions -Action 'RestrictEditChangeOrder'

function RestrictEditChangeOrder($changeOrder) {
	#Write event code here
}

EditChangeOrder_Pre:

Register-VaultEvent -EventName EditChangeOrder_Pre -Action 'PreEditChangeOrder'

function PreEditChangeOrder($changeOrder) {
	#Write event code here
}

EditChangeOrder_Post:

Register-VaultEvent -EventName EditChangeOrder_Post -Action 'PostEditChangeOrder'

function PostEditChangeOrder($changeOrder, $successful) {
	#Write event code here
}