I am in the process of migrating code written for the AX 2012 R2 POS to R3. In doing so I have come across a call to the GetTotalRoundedSavingsForDiscount() method on a SaleLineItem object, but this method has been removed from the SaleLineItem class in R3.
So my question is... what should I use instead? Are there any other alternatives or do I have to re-implement that functionality (which is what?) myself?