Click or drag to resize

TrackingServicesAddAliasUID 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.242.0.0 (8.242.0.0)
Syntax
public void AddAliasUID(
	Guid sessionId,
	Guid itemId,
	string aliasUID
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
itemId
Type: SystemGuid
The Id of the Item.
aliasUID
Type: SystemString
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