UpdatePromoteComponents Method
Begins an "update items from files" operation on a component-by-component basis.
Required Permissions
FileUpdateSyntax
public override void UpdatePromoteComponents(
System.long[] itemRevisionIds,
ItemAssignAll assignAll,
System.bool autoAssignDuplicates
)Public Overrides NotOverridable Sub UpdatePromoteComponents( _
ByVal itemRevisionIds() As System.Long, _
ByVal assignAll As ItemAssignAll, _
ByVal autoAssignDuplicates As System.Boolean _
) Parameters
| Name | Description |
|---|---|
| itemRevisionIds | A set of Item Revision ID to update. The server will query the underlying file and update the Items listed. |
| assignAll | Determines whether items are assigned for child BOM components. |
| autoAssignDuplicates | If true, duplcates are automatically assigned to existing Items. Otherwise new items are created. |
Remarks
This function reads BOM data from the file and creates a component object for each BOM component. These component objects are stored on the server for later use. See PromoteComponents for a code sample.