Autodesk Vault ProfessionalVault API

AddItemNumbers Method

Autodesk.Connectivity.WebServicesItemService

Creates new item numbers.

Required Permissions

ItemChangeItemNumber

Syntax

public ItemNum[] AddItemNumbers(
   System.long[] itemMasterIds,
   System.long[] numberingSchemeIds,
   StringArray[] fieldInputs,
   out ProductRestric[] restrictions
)
Public Function AddItemNumbers( _
   ByVal itemMasterIds() As System.Long, _
   ByVal numberingSchemeIds() As System.Long, _
   ByVal fieldInputs() As StringArray, _
   ByRef restrictions() As ProductRestric _
) As ItemNum()

Parameters

NameDescription
itemMasterIdsThe Item master IDs that the new numbers apply to. All input arrays must be the same size.
numberingSchemeIdsThe numbering scheme to use for each master ID. All input arrays must be the same size.
fieldInputsThe values required for each numbering scheme. The top level array must be the same size as the other input arrays.
restrictionsOutput restrictions that indicate why reserving some item number failed.

Return Value

An array of records of the created item numbers.

See Also