SalesLine::canRegisterReturnQtyTrackingDim Method
Indicates whether a quantity can be returned for a given batch or serial number.
Syntax
client server public static boolean canRegisterReturnQtyTrackingDim(
TradeInventTransId _inventTransId,
InventDim _inventDim,
[InventQtyRegistered _inventQty])
Run On
Called
Parameters
- _inventTransId
Type: TradeInventTransId Extended Data Type
A TradeInventTransId data type.
- _inventDim
Type: InventDim Table
An InventDim table buffer.
- _inventQty
Type: InventQtyRegistered Extended Data Type
An InventQtyRegistered data type.
Return Value
Type: boolean
true if the quantity can be registered; otherwise, false.
Remarks
In certain scenarios the inventory transaction to be registered is already created hence no quantity should be passed.