TrackingServicesFinishOperationQuantity Method |
Completes an open tracking transaction for a non-serialized (batch-tracked)
Batch,
given a quantity of units to complete.
Any exit conditions will be evaluated and exit actions performed.
Namespace:
FactoryLogix.xTend.Production
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public FinishResult FinishOperationQuantity(
Guid sessionId,
DateTime finishTime,
Guid transactionId,
int quantity,
bool proceedOnConditionFailures,
string statusCode,
Nullable<Guid> exitPathwayId
)
Public Function FinishOperationQuantity (
sessionId As Guid,
finishTime As DateTime,
transactionId As Guid,
quantity As Integer,
proceedOnConditionFailures As Boolean,
statusCode As String,
exitPathwayId As Nullable(Of Guid)
) As FinishResult
public:
virtual FinishResult^ FinishOperationQuantity(
Guid sessionId,
DateTime finishTime,
Guid transactionId,
int quantity,
bool proceedOnConditionFailures,
String^ statusCode,
Nullable<Guid> exitPathwayId
) sealed
abstract FinishOperationQuantity :
sessionId : Guid *
finishTime : DateTime *
transactionId : Guid *
quantity : int *
proceedOnConditionFailures : bool *
statusCode : string *
exitPathwayId : Nullable<Guid> -> FinishResult
override FinishOperationQuantity :
sessionId : Guid *
finishTime : DateTime *
transactionId : Guid *
quantity : int *
proceedOnConditionFailures : bool *
statusCode : string *
exitPathwayId : Nullable<Guid> -> FinishResult
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - finishTime
- Type: SystemDateTime
The date/time when then transaction was completed. - transactionId
- Type: SystemGuid
The transaction Id returned by the TransactionId property of the StartResult. - quantity
- Type: SystemInt32
The number of units to complete. If zero (0), the entire quantity of units associated with the transaction. - 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.
Return Value
Type:
FinishResultA
FinishResult object indicating the result of the finish operation.
Exceptions See Also