BOMServicesImportAndPublishBOM Method |
Validates and Imports a Bill of Materials (BOM) into the specified assembly revision
If the BOM passes validation, the BOM will also be published and merged with the
master part library. If the BOM does not pass validation, the BOM data will be saved in
an "under construction" state.
Namespace:
FactoryLogix.xTend.PartDefinition
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public BOMOperationResults ImportAndPublishBOM(
Guid sessionId,
Guid partId,
BOM bom
)
Public Function ImportAndPublishBOM (
sessionId As Guid,
partId As Guid,
bom As BOM
) As BOMOperationResults
public:
virtual BOMOperationResults^ ImportAndPublishBOM(
Guid sessionId,
Guid partId,
BOM^ bom
) sealed
abstract ImportAndPublishBOM :
sessionId : Guid *
partId : Guid *
bom : BOM -> BOMOperationResults
override ImportAndPublishBOM :
sessionId : Guid *
partId : Guid *
bom : BOM -> BOMOperationResults
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - partId
- Type: SystemGuid
The unique identifier (InternalPart Id property) of the assembly revision that the BOM should be imported against. - bom
- Type: FactoryLogix.xTend.DataObjectsBOM
An object representing the BOM to be imported.
Return Value
Type:
BOMOperationResults
A
BOMOperationResults object representing the results of the import operation.
This object will contain a list of issues that were detected by the validation, along with their severity.
If the ResultCode property of the return value is BOMOperationResultCode.Success, then the BOM was successfully imported and published.
Exceptions See Also