[
https://issues.apache.org/jira/browse/OFBIZ-6100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14333834#comment-14333834 ]
Christian Carlow edited comment on OFBIZ-6100 at 2/23/15 9:37 PM:
------------------------------------------------------------------
I vaguely remember encountering this issue earlier. Setting salestax.calc.decimals = 4 allows for correct cart calculation but because OrderAdjustment.amount has a max precision of 3, rounding upon order creation occurs causing the inconsistency. I remember community members advising against increasing OrderAdjustment.amount precision higher than 3.
was (Author: ofbizzer):
I vaguely remember encountering this issue earlier. Setting salestax.calc.decimals = 4 allows for correct cart calculation but because OrderAdjustment.amount has a max precision of 3 so rounding upon order creation for causes the inconsistency. I remember community members advising against increasing OrderAdjustment.amount precision higher than 3.
> Inconsistent tax calculation between checkout finalize and order created screen
> -------------------------------------------------------------------------------
>
> Key: OFBIZ-6100
> URL:
https://issues.apache.org/jira/browse/OFBIZ-6100> Project: OFBiz
> Issue Type: Bug
> Components: order
> Affects Versions: Trunk
> Reporter: Christian Carlow
>
> I changed arithmetic.properties salestax.calc.decimals = 4 instead of 3 because my purchase order tax was 1 cent less than the receipt. After accounting for 4 decimals, the tax was correctly calculated at the checkout finalize page, but once the order was created, the tax was 1 cent less than its previously calculated value.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)