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.
Validates that units of measure are compatible.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
server public static boolean validateUnitOfMeasure(
UnitOfMeasure _unitFrom,
UnitOfMeasure _unitTo,
[boolean _showInfo])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static boolean validateUnitOfMeasure(
UnitOfMeasure _unitFrom,
UnitOfMeasure _unitTo,
[boolean _showInfo])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static boolean validateUnitOfMeasure(
UnitOfMeasure _unitFrom,
UnitOfMeasure _unitTo,
[boolean _showInfo])
Run On
Server
Parameters
- _unitFrom
Type: UnitOfMeasure Table
A UnitOfMeasure record that specifies the source unit of measure.
- _unitTo
Type: UnitOfMeasure Table
A UnitOfMeasure record that specifies the target unit of measure.
- _showInfo
Type: boolean
A Boolean value that indicates whether to display the information log.
Return Value
Type: boolean
true if validation succeeded; otherwise, false.