Compartir a través de


WHSContainerTable::packItem Method

Packs an item into the container.

Syntax

client server public static void packItem(
    ItemId _itemId, 
    Qty _qty, 
    UnitOfMeasureSymbol _unitId, 
    WHSContainerId _containerId, 
    WHSTmpPackingLine _tmpPackingLine, 
    InventDim _inventDimCriteria)

Run On

Called

Parameters

  • _tmpPackingLine
    Type: WHSTmpPackingLine Table
    A WHSTmpPackingLine table buffer which holds the available inventory to pack.
  • _inventDimCriteria
    Type: InventDim Table
    The inventory diemnsion criteria which must be met by the inventory being packed.

Exceptions

Exception Condition
Error

The item does not exist in the WHSTmpPackingLine table buffer.

-or-

The container does not exists for this shipment.

-or-

The container is in a closed status.

-or-

You can only pack one inventory at a time if serial is being captured at packing.

-or-

The serial Id was not entered during capture.

-or-

There is not enough available inventory to be packed.

See Also

Reference

WHSContainerTable Table