PriceDiscSmartRounding::smartRoundByGroup Method [AX 2012]

Applies smart rounding to an amount based on the rounding rules associated with a rounding group ID.

client server public static Amount smartRoundByGroup(Amount _amount, PriceDiscSmartRoundingGroupId _smartRoundingGroupId)

Run On

Called

Parameters

_amount
Type: Amount Extended Data Type
The amount to round.
_smartRoundingGroupId
Type: PriceDiscSmartRoundingGroupId Extended Data Type
The group ID of the smart rounding rules.

Return Value

Type: Amount Extended Data Type
The amount after rounding.
Show: