PriceDiscSmartRounding.roundByGroup Method [AX 2012]

Rounds an amount based on the smart rounding rule set that is associated with the group ID.

private Amount roundByGroup(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 smart round group ID.

Return Value

Type: Amount Extended Data Type
The rounded amount.

ExceptionCondition
Error

The rounding rule is invalid.

Community Additions

ADD
Show: