Click or drag to resize

BatchServicesRemoveBatchFromOrder Method

Disassociates an existing Batch from an existing WorkOrder. If the specified Batch is not currently associated with the specified WorkOrder, no changes will be made, and no exceptions are thrown.

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 RemoveBatchFromOrder(
	Guid sessionId,
	Guid orderId,
	Guid batchId
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
orderId
Type: SystemGuid
The 128-bit unique identifier of the WorkOrder (Id property) from which the Batch should be removed.
batchId
Type: SystemGuid
The 128-bit unique identifier of the Batch (Id property) to be removed.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
BatchNotFoundExceptionA Batch matching the specified batchId parameter was not found in the system or is not associated to the work order.
WorkOrderNotFoundExceptionA WorkOrder matching the specified batchId parameter was not found in the system.
See Also