Click or drag to resize

TrackingServicesValidateStartOperationQuantity Method

Validates that a particular quanity of production units or materials may be started at the specified Operation. This method is only applicable to non-serialized (batch-tracked) Batches. Batch-tracked route validation ensures that the number of units started at a given Operation does not exceed the completed count of the previous Operation. This method will also validate station material setup and operator certifications if the workstationId and/or operatorUserName parameters are supplied. If specified, any entry conditions (Condition) configured for the Operation will be evaluated or performed, and the validation will fail if any of the conditions are violated.

Namespace:  FactoryLogix.xTend.Production
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public StartValidationResult ValidateStartOperationQuantity(
	Guid sessionId,
	Guid operationId,
	int quantity,
	Guid batchId,
	bool evaluateConditions,
	Nullable<Guid> workstationId,
	string operatorUserName
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
operationId
Type: SystemGuid
The Id property of the Operation that the validation will be performed against.
quantity
Type: SystemInt32
The quantity of units or materials to be validated.
batchId
Type: SystemGuid
The 128-bit unique identifier (Id property) of the Batch.
evaluateConditions
Type: SystemBoolean
A boolean value indicating whether or not configured entry conditions should be evaluated.
workstationId
Type: SystemNullableGuid
The optional 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: StartValidationResult
A StartValidationResult object describing the results of the validation request.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
OperationNotFoundExceptionThrown if the operationId parameter is invalid.
ResourceNotFoundExceptionThrown if the workstationId parameter is not null and is invalid.
UserNotFoundExceptionThrown if the operatorUserName parameter is not null or empty, and the specified User cannot be found in the system.
MaterialSetupRequiredExceptionThrown if meterial setup is not complete.
NonTrackingExceptionThrown if the operation is not tracked.
ResourceRequiredExceptionThrown if the operation has material setup and the worstationId is not supplied.
See Also