Click or drag to resize

ItemServicesUpdateItemPrimaryUID Method

Updates the primary UID of an Item, and create a historical record of the event

Namespace:  FactoryLogix.xTend.Logistics
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public void UpdateItemPrimaryUID(
	Guid sessionId,
	Guid itemId,
	string newUID
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
itemId
Type: SystemGuid
The 128-bit unique identifier of the Item (Id property).
newUID
Type: SystemString
The new text-based unique identifier for the Item (UID).
Exceptions
ExceptionCondition
ArgumentExceptionThrown if some of provided parameters is invalid.
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
NotFoundExceptionThrown if an Item matching the Id property of the item parameter does not exist.
AlreadyExistsExceptionThrown if an Item with the specified UID already exists in the system.
See Also