TrackingServicesValidateStartOperation Method |
Validates that a production unit or material (
Item) is ready to begin
the specified
Operation. A variety of checks are performed, including route validation,
workstation material setup validation, operator certification checks, and
Batch
status validation. If any of these checks fail, the validation will return details.
The workstationId parameter is optional, but material setup validation will only be performed
if a valid workstationId is specified. The operatorUserName parameter is also optional, but operator
certification validation will only be performed if a valid operatorUserName is 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 ValidateStartOperation(
Guid sessionId,
Guid operationId,
string UID,
Nullable<Guid> batchId,
bool evaluateConditions,
Nullable<Guid> workstationId,
string operatorUserName
)
Public Function ValidateStartOperation (
sessionId As Guid,
operationId As Guid,
UID As String,
batchId As Nullable(Of Guid),
evaluateConditions As Boolean,
workstationId As Nullable(Of Guid),
operatorUserName As String
) As StartValidationResult
public:
virtual StartValidationResult^ ValidateStartOperation(
Guid sessionId,
Guid operationId,
String^ UID,
Nullable<Guid> batchId,
bool evaluateConditions,
Nullable<Guid> workstationId,
String^ operatorUserName
) sealed
abstract ValidateStartOperation :
sessionId : Guid *
operationId : Guid *
UID : string *
batchId : Nullable<Guid> *
evaluateConditions : bool *
workstationId : Nullable<Guid> *
operatorUserName : string -> StartValidationResult
override ValidateStartOperation :
sessionId : Guid *
operationId : Guid *
UID : string *
batchId : Nullable<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. - UID
- Type: SystemString
The UID of the Item to be validated. This may also be the UID of a carrier or panel type Item containing units or materials to be tracked. - batchId
- Type: SystemNullableGuid
The optional 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. This is required to validate material setup when it exists. - 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