Click or drag to resize

TrackingServicesStartOperationQuantity Method

Records that work on a particular quantity of production units or materials has begun at a particular Operation. This method is only applicable to non-serialized (batch-tracked) Batches. Entry conditions will NOT be evaluated as they are handled by the ValidateOperationStart method.

Namespace:  FactoryLogix.xTend.Production
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public StartResult StartOperationQuantity(
	Guid sessionId,
	DateTime startTime,
	Guid operationId,
	Guid batchId,
	int quantity,
	Guid workstationId,
	string operatorUserName
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
startTime
Type: SystemDateTime
The date/time when work began on these units or materials.
operationId
Type: SystemGuid
The Id property of the Operation that will be performed.
batchId
Type: SystemGuid
The 128-bit unique identifier (Id property) of the Batch.
quantity
Type: SystemInt32
The quantity of units or materials to be started.
workstationId
Type: SystemGuid
The Id of the Workstation where the Operation will be performed.
operatorUserName
Type: SystemString
The optional user name of the operator (User) who will perform the Operation.

Return Value

Type: StartResult
A StartResult object indicating the result of the start operation.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
OperationNotFoundExceptionThrown if the operationId parameter is invalid.
ResourceNotFoundExceptionThrown if the workstation Id parameter is invalid.
NonTrackingExceptionThrown if the operation is not tracked.
See Also