BOMServicesValidateBOM Method |
Performs BOM error checking, and validates the specified
BOM against the specified assembly revision.
ValidateBOM may be called prior to importing a new BOM into the system to ensure that the BOM meets the pre-configured error checking settings
(as defined in the FactoryLogix global system settings). If issues are detected, they will be included in the return results.
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 ValidateBOM(
Guid sessionId,
Guid partId,
BOM bom
)
Public Function ValidateBOM (
sessionId As Guid,
partId As Guid,
bom As BOM
) As BOMOperationResults
public:
virtual BOMOperationResults^ ValidateBOM(
Guid sessionId,
Guid partId,
BOM^ bom
) sealed
abstract ValidateBOM :
sessionId : Guid *
partId : Guid *
bom : BOM -> BOMOperationResults
override ValidateBOM :
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 validated against. - bom
- Type: FactoryLogix.xTend.DataObjectsBOM
An object representing the BOM to be validated.
Return Value
Type:
BOMOperationResults
A
BOMOperationResults object representing the results of the validation 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, it is possible to import and publish the specified BOM into the specified assembly revision.
Exceptions See Also