TrackingServicesChangeActivityStatus Method |
Changes the status of the activity to either complete or incomplete.
Namespace:
FactoryLogix.xTend.Production
Assembly:
FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax public ActivityResult ChangeActivityStatus(
Guid sessionId,
Guid transactionId,
Guid activityId,
ActivityStatus activityStatus,
string userName,
string password
)
Public Function ChangeActivityStatus (
sessionId As Guid,
transactionId As Guid,
activityId As Guid,
activityStatus As ActivityStatus,
userName As String,
password As String
) As ActivityResult
public:
virtual ActivityResult^ ChangeActivityStatus(
Guid sessionId,
Guid transactionId,
Guid activityId,
ActivityStatus activityStatus,
String^ userName,
String^ password
) sealed
abstract ChangeActivityStatus :
sessionId : Guid *
transactionId : Guid *
activityId : Guid *
activityStatus : ActivityStatus *
userName : string *
password : string -> ActivityResult
override ChangeActivityStatus :
sessionId : Guid *
transactionId : Guid *
activityId : Guid *
activityStatus : ActivityStatus *
userName : string *
password : string -> ActivityResult
Parameters
- sessionId
- Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method. - transactionId
- Type: SystemGuid
A transaction Id returned by the TransactionId property of the StartResult. - activityId
- Type: SystemGuid
The Id of the TrackingActivity being changed. - activityStatus
- Type: FactoryLogix.xTend.DataObjectsActivityStatus
An enumeration indicating the completion status that the activity should be changed to. - userName
- Type: SystemString
An optional username of the FactoryLogix user account acknowledging the activity status change. - password
- Type: SystemString
The optional password associated with the user account being utilized for acknowledgement.
Return Value
Type:
ActivityResultAn
ActivityResult object indicating the result of the status change.
Exceptions See Also