TrackingServicesFinishOperation Method |
Completes an open tracking transaction.
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 FinishOperation(
Guid sessionId,
DateTime finishTime,
Guid transactionId,
bool proceedOnConditionFailures,
string statusCode,
Nullable<Guid> exitPathwayId
)
Public Function FinishOperation (
sessionId As Guid,
finishTime As DateTime,
transactionId As Guid,
proceedOnConditionFailures As Boolean,
statusCode As String,
exitPathwayId As Nullable(Of Guid)
) As FinishResult
public:
virtual FinishResult^ FinishOperation(
Guid sessionId,
DateTime finishTime,
Guid transactionId,
bool proceedOnConditionFailures,
String^ statusCode,
Nullable<Guid> exitPathwayId
) sealed
abstract FinishOperation :
sessionId : Guid *
finishTime : DateTime *
transactionId : Guid *
proceedOnConditionFailures : bool *
statusCode : string *
exitPathwayId : Nullable<Guid> -> FinishResult
override FinishOperation :
sessionId : Guid *
finishTime : DateTime *
transactionId : Guid *
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. - 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 an empty string (PASSED assumed), "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