Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Converts the value to the unit that is based on the item and the module.
Syntax
public Qty unitConvert(
ItemId _itemId,
ModuleInventPurchSales module,
UnitOfMeasureSymbol unitFrom,
[Qty valueFrom])
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
The item ID with which to look up the target unit.
- module
Type: ModuleInventPurchSales Enumeration
The module ID with which to look up the target unit.
- unitFrom
Type: UnitOfMeasureSymbol Extended Data Type
The original unit.
- valueFrom
Type: Qty Extended Data Type
The original value.
Return Value
Type: Qty Extended Data Type
The value in the new unit.