WMSTransport.handlePalletAtToDestination Method
Ensures that a valid pallet is used if a pallet different from the transport pallet is needed at the destination location.
Syntax
public WMSPalletId handlePalletAtToDestination(WMSPalletId _wmsPalletIdTo, WMSPalletTypeId _wmsPalletTypeId)
Run On
Called
Parameters
- _wmsPalletIdTo
Type: WMSPalletId Extended Data Type
The pallet that should be used as the destination location. If left blank a new pallet is created.
- _wmsPalletTypeId
Type: WMSPalletTypeId Extended Data Type
The WMSPalletTypeId object of the new pallet.
Return Value
Type: WMSPalletId Extended Data Type
The WMSPalletId object of the pallet that should be used as the destination location.
Exceptions
Exception | Condition |
---|---|
Error | The _wmsPalletIdTo parameter specifies a pallet at a location different from the To location that is not empty. -or- If the _wmsPalletId parameter does not have a valid format. |
Remarks
If _wmsPalletIdTo parameter identifies an empty pallet at another location than the To location, the pallet is moved to the To location. This method will move or create pallets at the to location, even though the WMSLocationSum of the WMS location does not specify available space. The number of expected pallets at the to location will be decreased by one, because the original expected pallet is no longer expected.