Autodesk Vault ProfessionalVault API

UpdateItemBOMAssociations Method

Autodesk.Connectivity.WebServicesItemService

Updates the associations for an Item's BOM.

Required Permissions

ItemEdit

Syntax

public ItemBOM UpdateItemBOMAssociations(
   System.long parentItemId,
   ItemAssocParam[] assocParams,
   BOMViewEditOptions options
)
Public Function UpdateItemBOMAssociations( _
   ByVal parentItemId As System.Long, _
   ByVal assocParams() As ItemAssocParam, _
   ByVal options As BOMViewEditOptions _
) As ItemBOM

Parameters

NameDescription
parentItemIdThe parent Item ID.
assocParamsCollection of Item association parameters to use for the update
optionsOptions for viewing and editing BOMs.

Return Value

The updated BOM.

Remarks

Prior to calling this function, EditItem should be called to lock the parent Item for editing. After the BOM has been reordered, call a commit function, such as UpdateAndCommitItems, to finalize the changes.

See Also