Click or drag to resize

TrackingServicesRecordCapturedMaterials Method

Records a list of materials against

Namespace:  FactoryLogix.xTend.Production
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public void RecordCapturedMaterials(
	Guid sessionId,
	Guid transactionId,
	Nullable<Guid> itemId,
	RecordedMaterial[] materials
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
transactionId
Type: SystemGuid
The transaction Id returned by the TransactionId property of the StartResult.
itemId
Type: SystemNullableGuid
The optional Id of the specific parent Item (must be associated with the transaction) to which this material should be recorded. If null, the material will be recorded against all Items related to the transaction.
materials
Type: FactoryLogix.xTend.DataObjectsRecordedMaterial
A list of RecordedMaterial objects representing the details of the specifiec materials that were used and consumed by the associated transaction.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
ItemExceptionThrown if the itemId parameter is non-null and is invalid.
TransactionNotFoundExceptionThrown if the transactionId parameter is invalid.
MissingInformationExceptionThrown if any of the materials are not defined in the FactoryLogix database.
AlreadyExistsExceptionThrown if any of the materials are defined as new and already exist.
NotFoundExceptionThrown if any of the materials are defined as existing and do not exist.
See Also