Click or drag to resize

BOMServicesGetBOM Method

Retrieves a Bill of Materials (BOM) for a particular assembly revision, as identified by an InternalPart object.

Namespace:  FactoryLogix.xTend.PartDefinition
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public BOM GetBOM(
	Guid sessionId,
	Guid partId
)

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 whose BOM is being retrieved.

Return Value

Type: BOM
A BOM object representing the Bill of Materials for the specified assembly revision
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionAn existing part with matching Id property was not found in the system.
See Also