UpdateItemLifeCycleDefinitions Method
Updates item lifecycle definitions from within the context of a change order
Required Permissions
ItemChangeLifecycleDefinitionSyntax
public override Item[] UpdateItemLifeCycleDefinitions(
System.long changeOrderId,
System.long[] itemMasterIds,
System.long[] toLCDefIds,
System.long[] toStateIds,
System.string comment
)Public Overrides NotOverridable Function UpdateItemLifeCycleDefinitions( _
ByVal changeOrderId As System.Long, _
ByVal itemMasterIds() As System.Long, _
ByVal toLCDefIds() As System.Long, _
ByVal toStateIds() As System.Long, _
ByVal comment As System.String _
) As Item()Parameters
| Name | Description |
|---|---|
| changeOrderId | The ID of the associated change order |
| itemMasterIds | the master IDs of the items to update |
| toLCDefIds | the lifecycle definition IDs to transition to |
| toStateIds | the lifecycle state IDs to transition to |
| comment | the comment for the new item iterations |
Return Value
the updated item objects
Remarks
When an item is assigned to a change order or the restrict lifecycle state changes to change orders option is enabled, item lifecycle definition changes can only be executed using the change order service.