Click or drag to resize

TrackingServices.AddAliasUID Method

Adds an "alias" UID to an existing Item. Aliases are alternate identities that may be used throughout the factory to identify the Item in addition to its primary UID.

Namespace:  FactoryLogix.xTend.Production
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.245.0.0 (8.245.0.0)
Syntax
public void AddAliasUID(
	Guid sessionId,
	Guid itemId,
	string aliasUID
)

Parameters

sessionId
Type: System.Guid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
itemId
Type: System.Guid
The Id of the Item.
aliasUID
Type: System.String
The new alias UID for the Item.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
AlreadyExistsExceptionThe specified aliasUID already exists, and cannot be used.
ItemExceptionAn Item with the specified itemId cannot be found.
InvalidItemClassificationExceptionThe Item is not a valid classification.
Remarks
Currently only Items with a classification of Assembly or Batch can be aliased.
See Also