TrackingServicesTrackQuantityThroughOperation Method |
Records that a particular quantity of units or materials has been processed through a particular
Operation
(non-serialized, unit movement only batch-tracking). Both a "start" and "finish" operation will be performed at once.
Any entry and/or exit actions (
Condition) configured for the
Operation will be performed.
Entry conditions will NOT be evaluated as they are handled by the ValidateStartOperationQuantity method. However, exit conditions
WILL be evaluated.
Namespace:
FactoryLogix.xTend.Production
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public TrackingResult TrackQuantityThroughOperation(
Guid sessionId,
DateTime startTime,
DateTime finishTime,
Guid operationId,
int quantity,
Guid batchId,
bool proceedOnConditionFailures,
string statusCode,
Nullable<Guid> exitPathwayId,
Guid workstationId,
string operatorUserName
)
Public Function TrackQuantityThroughOperation (
sessionId As Guid,
startTime As DateTime,
finishTime As DateTime,
operationId As Guid,
quantity As Integer,
batchId As Guid,
proceedOnConditionFailures As Boolean,
statusCode As String,
exitPathwayId As Nullable(Of Guid),
workstationId As Guid,
operatorUserName As String
) As TrackingResult
public:
virtual TrackingResult^ TrackQuantityThroughOperation(
Guid sessionId,
DateTime startTime,
DateTime finishTime,
Guid operationId,
int quantity,
Guid batchId,
bool proceedOnConditionFailures,
String^ statusCode,
Nullable<Guid> exitPathwayId,
Guid workstationId,
String^ operatorUserName
) sealed
abstract TrackQuantityThroughOperation :
sessionId : Guid *
startTime : DateTime *
finishTime : DateTime *
operationId : Guid *
quantity : int *
batchId : Guid *
proceedOnConditionFailures : bool *
statusCode : string *
exitPathwayId : Nullable<Guid> *
workstationId : Guid *
operatorUserName : string -> TrackingResult
override TrackQuantityThroughOperation :
sessionId : Guid *
startTime : DateTime *
finishTime : DateTime *
operationId : Guid *
quantity : int *
batchId : Guid *
proceedOnConditionFailures : bool *
statusCode : string *
exitPathwayId : Nullable<Guid> *
workstationId : Guid *
operatorUserName : string -> TrackingResult
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 the Item. - finishTime
- Type: SystemDateTime
The date/time when work completed on the Item. - operationId
- Type: SystemGuid
The Id property of the Operation to be performed. - quantity
- Type: SystemInt32
The quantity of units or materials to be processed. - batchId
- Type: SystemGuid
The 128-bit unique identifier (Id property) of the Batch. - proceedOnConditionFailures
- Type: SystemBoolean
If true, the transaction will be finished even if one or more configured exit conditions fail for the unit.
This may be necessary in certain "unattended" environment where a human operator is not available to respond to the condition failure, and
it is desired that the tracking transaction be recorded and concluded under all circumstances. - statusCode
- Type: SystemString
The resulting status code for the transaction. May be "PASSED", "FAILED", "SCRAPPED", or the name of a custom status code defined in FactoryLogix. - exitPathwayId
- Type: SystemNullableGuid
The exit pathway that the Item should now follow. If null, the "normal" exit pathway is assumed. - 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:
TrackingResultA
TrackingResult object indicating the result of the operation.
Exceptions See Also