Click or drag to resize

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.242.0.0 (8.242.0.0)
Syntax
public ActivityResult ChangeActivityStatus(
	Guid sessionId,
	Guid transactionId,
	Guid activityId,
	ActivityStatus activityStatus,
	string userName,
	string password
)

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: ActivityResult
An ActivityResult object indicating the result of the status change.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
TransactionNotFoundExceptionThrown if the transactionId is invalid.
ActivityNotFoundExceptionThrown if the activityId parameter is invalid.
See Also