PriceDiscSmartRounding.roundByGroupRecId Method [AX 2012]

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

private Amount roundByGroupRecId(Amount _amount, RefRecId _groupRecId)

Run On

Called

Parameters

_amount
Type: Amount Extended Data Type
The amount to round.
_groupRecId
Type: RefRecId Extended Data Type
The smart round group received ID.

Return Value

Type: Amount Extended Data Type
The rounded amount.

ExceptionCondition
Error

The rounding rule is invalid.

Community Additions

ADD
Show: