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.245.0.0 (8.245.0.0)
Syntax public StartValidationResult ValidateStartOperationQuantity(
Guid sessionId,
Guid operationId,
int quantity,
Guid batchId,
bool evaluateConditions,
Nullable<Guid> workstationId,
string operatorUserName
)
Public Function ValidateStartOperationQuantity (
sessionId As Guid,
operationId As Guid,
quantity As Integer,
batchId As Guid,
evaluateConditions As Boolean,
workstationId As Nullable(Of Guid),
operatorUserName As String
) As StartValidationResult
public:
virtual StartValidationResult^ ValidateStartOperationQuantity(
Guid sessionId,
Guid operationId,
int quantity,
Guid batchId,
bool evaluateConditions,
Nullable<Guid> workstationId,
String^ operatorUserName
) sealed
abstract ValidateStartOperationQuantity :
sessionId : Guid *
operationId : Guid *
quantity : int *
batchId : Guid *
evaluateConditions : bool *
workstationId : Nullable<Guid> *
operatorUserName : string -> StartValidationResult
override ValidateStartOperationQuantity :
sessionId : Guid *
operationId : Guid *
quantity : int *
batchId : Guid *
evaluateConditions : bool *
workstationId : Nullable<Guid> *
operatorUserName : string -> StartValidationResult
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:
StartValidationResultA
StartValidationResult object describing the results of the validation request.
Exceptions See Also