|
Hi,
Hi,
If there is any adjustments in the given order it will calculate the tax and put it into te table "OrderAdjustment". Here itself the tax amount is rounded off and store into the table. The problem is, When storing the adjustments tax into the invoice item, some other calculations are going there. i.e.
amount=baseAdjAmount.multiply(multiplier).divide(divisor, decimals, rounding)
So the tax value will be 0.72 after rounding off in the "OrderAdjustment" table, but the same value will be stored as 0.74 in "invoiceitem" table. Is the above calcuation is necessary otherwise we simply round off the amount and store the value into the table.
Help me out.
Thanks.
Chitrakala.R
|