SetBomByFileId Method
Associates a BOM with an existing File Iteration
Required Permissions
"File BOM Update"Syntax
public void SetBomByFileId(
System.long fileId,
BOM bom
)Public Sub SetBomByFileId( _
ByVal fileId As System.Long, _
ByVal bom As BOM _
) Parameters
| Name | Description |
|---|---|
| fileId | Iteration Id of File |
| bom | Bom to associate to file |
Remarks
File must be a committed version ( cannot be a checked out version) - a new version will not be created. File cannot have a BOM already associated with it.