Click or drag to resize

ReceivingServicesLabelItem Method

Creates a new UID in FactoryLogix against the labeling operation in the receiving process

Namespace:  FactoryLogix.xTend.Logistics
Assembly:  FactoryLogix.xTend.API (in FactoryLogix.xTend.API.dll) Version: 8.242.0.0 (8.242.0.0)
Syntax
public Item LabelItem(
	Guid sessionId,
	Batch batch,
	Item labelledItem
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
batch
Type: FactoryLogix.xTend.DataObjectsBatch
The GRN Batch where the labelledItem is receiving
labelledItem
Type: FactoryLogix.xTend.DataObjectsItem
The Item with based data set, which in going to be received

Return Value

Type: Item
An Item as the full record of the newly created Item, including all generated read-only fields (e.g. ID, ActiveBatchID), as it was recorded into the FactoryLogix database.
Exceptions
ExceptionCondition
ArgumentExceptionThrown if the batch or labelledItem is invalid.
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
BatchExceptionThrown if the batch is not a GRN.
InitializationExceptionThrown if the quantity not a whole number and the units is pieces.
OperationNotFoundExceptionThrown if no labeling operation was found.
MissingInformationExceptionThrown if there is some missing information at UpdateInventory
AlreadyExistsExceptionThrown if labelledItem already exist in FactoryLogix
BatchNotFoundExceptionThrown if the provided batch does not exist in FLx.
See Also