Click or drag to resize

PackoutServicesPackItem Method

Validates an Item (optional), then packs it into a packing container (box).

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 PackItem(
	Guid sessionId,
	PackingListItem listItem,
	string containerUID,
	string itemUID,
	Nullable<Guid> batchId,
	Nullable<Guid> operationId,
	Nullable<Guid> workstationId
)

Parameters

sessionId
Type: SystemGuid
The session identifier that was returned by the Connect(String, String, String, String, String) method.
listItem
Type: FactoryLogix.xTend.DataObjectsPackingListItem
An object representing the item to be packed, as well as the validation options that should be performed prior to packing.
containerUID
Type: SystemString
The text-based unique identifer (UID) of the container (represented by an Item object) into which the specified Item will be packed.
itemUID
Type: SystemString
The text-based unique identifier of the Item that will be packed into the container.
batchId
Type: SystemNullableGuid
The optional Id of the Batch against which a tracking history record (WIP record) should be recorded when packing Items that are complex assemblies associated with a ProcessFlow. If this parameter is null, no tracking history record (WIP record) will be recorded.
operationId
Type: SystemNullableGuid
The optional Id of the Operation against which a tracking history record (WIP record) should be recorded when packing Items that are complex assemblies associated with a ProcessFlow. If this parameter is null, no tracking history record (WIP record) will be recorded.
workstationId
Type: SystemNullableGuid
The optional Id of the Workstation against which a tracking history record (WIP record) should be recorded when packing Items that are complex assemblies associated with a ProcessFlow. If this parameter is null, no tracking history record (WIP record) will be recorded.
Exceptions
ExceptionCondition
InvalidSessionExceptionThrown if the sessionId parameter is invalid.
PackingExceptionThrown if anything goes wrong during the packing operation. The ErrorType property of the exception contains details on the nature of the issue.
BatchNotFoundExceptionThrown if the workstation Id parameter is invalid.
OperationNotFoundExceptionThrown if the operationId parameter is invalid.
ResourceNotFoundExceptionThrown if the workstation Id parameter is invalid.
See Also