Get-VaultChangeOrderAssociations

Returns a collection of Change Order associations.

Syntax

1Get-VaultChangeOrderAssociations -Number <String> -Type <ChangeOrderAssocType> [<CommonParameters>]

Parameters

Type

Name

Description

Optional

String

Number

Number of the Change Order

no

ChangeOrderAssocType

Type

Specifies which association type is retrieved

no

ChangeOrderAssocType

Name

Description

ItemRecords

Get the item record associations

FileRecords

Get the file record associations

Return type

Item[] / File[] ← on success
empty ← on failure

Remarks

The Cmdlet returns the exact version of the associations.

Examples

Get a Change Orders FileRecord associations

1$files = Get-VaultChangeOrderAssociations -Number "ECO-100001" -Type FileRecords

Display all Item- and File-Record associations of a Change Order in console

 1$allAssocs = @( Get-VaultChangeOrderAssociations -Number "ECO-100001" -Type FileRecords; Get-VaultChangeOrderAssociations -Number "ECO-100001" -Type ItemRecords)
 2$allAssocs | Format-Table Id, _EntityTypeID, Name, Revision, State
 3
 4<#
 5Id  _EntityTypeID  Name          Revision  State
 6--- -------------- ------------- --------- --------
 715  FILE           Valve.ipt     2         Released
 816  FILE           Pad_Lock.iam  2         Released
 922  ITEM           1000002       1         Released
10#>