PdsCatchWeight::convertQtyToCWQty Method [AX 2012]
Converts a quantity in the specified unit to a catch weight quantity.
server public static PdsCWInventQty convertQtyToCWQty(
ItemId _itemId,
Qty _qty,
UnitOfMeasureSymbol _unitId,
[NoYes _applyRounding])
Run On
ServerParameters
- _itemId
- Type: ItemId Extended Data Type
A string value that holds the item ID.
- _qty
- Type: Qty Extended Data Type
A real value that represents a quantity to be converted.
- _unitId
- Type: UnitOfMeasureSymbol Extended Data Type
A string value that represents a unit symbol.
- _applyRounding
- Type: NoYes Enumeration
A Boolean that indicates whether rounding should be applied.
Return Value
Type: PdsCWInventQty Extended Data TypeA real value that represents a catch weight quantity.
Show: