Click or drag to resize

TrackingServicesChangeBatch Method

Allows a ChangeBatch for a serialized unit the same as if the task were performed manually in the Change Product feature in the Production Portal.

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 ChangeBatch(
	Guid sessionId,
	string UID,
	Guid targetBatchId,
	Nullable<Guid> targetOperationId = null,
	Nullable<Guid> exitPathwayId = null,
	string statusCode = null
)

Parameters

sessionId
Type: SystemGuid
UID
Type: SystemString
targetBatchId
Type: SystemGuid
targetOperationId (Optional)
Type: SystemNullableGuid
exitPathwayId (Optional)
Type: SystemNullableGuid
statusCode (Optional)
Type: SystemString
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
xTendServerConvertedExceptionThrown if the sessionId parameter is invalid.
ArgumentException Thrown if the UID parameter is invalid.
ItemExceptionAn Item with the specified UID cannot be found.
ArgumentException Thrown if the targetBatchId parameter is invalid.
BatchNotFoundExceptionA Batch with the specified batchId cannot be found.
OperationNotFoundExceptionThrown if the targetOperationId parameter is invalid.
PathwayExceptionThrown if the exitPathwayId parameter is not null, and is invalid.
StatusCodeExceptionThrown if the statusCode parameter is not empty, and is invalid.
ChangeBatchExceptionThrown if ChangeBatch encountered an error.
See Also