Click or drag to resize

TrackingServicesInitializeProduct Method

Initializes a new production unit (Item) into a Batch.

Namespace:  FactoryLogix.xTend.Production
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public Item InitializeProduct(
	Guid sessionId,
	Guid batchId,
	string UID
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
batchId
Type: SystemGuid
The 128-bit unique identifier (Id property) of the Batch.
UID
Type: SystemString
A text-based unique identifier (UID) for the new Item.

Return Value

Type: Item
An Item object representing the newly created item that is now associated with the specified Batch.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
AlreadyExistsExceptionThe specified UID already exists, and cannot be created.
BatchNotFoundExceptionA Batch with the specified batchId cannot be found.
BatchIsPanelizedExceptionThe Batch is associated to a panelized assembly.
BarcodeTemplateValidationExceptionA barcode failed barcode template validation.
InitializationExceptionA validation or initialization error.
See Also