Click or drag to resize

TrackingServicesStartOperation Method

Records that work on a particular Item has begun at a particular Operation. Any start actions (Condition) configured for the Operation will be performed. Entry conditions will NOT be evaluated as they are handled by the ValidateOperationStart method.

Namespace:  FactoryLogix.xTend.Production
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public StartResult StartOperation(
	Guid sessionId,
	DateTime startTime,
	Guid operationId,
	string UID,
	Guid workstationId,
	string operatorUserName
)

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.
operationId
Type: SystemGuid
The Id property of the Operation that will be performed.
UID
Type: SystemString
The UID of the Item to be started. This may also be the UID of a carrier or panel type Item containing units or materials to be tracked.
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: StartResult
A StartResult object indicating the result of the start operation.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
OperationNotFoundExceptionThrown if the operationId parameter is invalid.
ResourceNotFoundExceptionThrown if the workstation Id parameter is invalid.
ItemExceptionThrown if the UID parameter is invalid.
NonTrackingExceptionThrown if the operation is not tracked.
See Also