You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Christian Carlow (JIRA)" <ji...@apache.org> on 2015/06/20 16:28:00 UTC
[jira] [Comment Edited] (OFBIZ-6100) Inconsistent tax calculation
between checkout finalize and order created screen
[ https://issues.apache.org/jira/browse/OFBIZ-6100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14594608#comment-14594608 ]
Christian Carlow edited comment on OFBIZ-6100 at 6/20/15 2:27 PM:
------------------------------------------------------------------
Hey Divesh,
OrderAdjustment.amount was manually adjusted in the database since modifications are not supported by OFBiz at this time. Once OrderAdjustment.amount precision was manually increased from 3 to 4, the created order amounts and totals correctly matched the checkout screen from which it was created.
The currency-precise field type only uses 3 decimal points but 4 were needed to preserve the original checkout amount. I'm not exactly sure how this issue should be resolved. The fixed-point field supports 6 decimals but that may be overkill for calculation purposes.
was (Author: ofbizzer):
Hey Divesh,
OrderAdjustment.amount was manually adjusted in the database since modifications are supported by OFBiz at this time. Once OrderAdjustment.amount precision was manually increased from 3 to 4, the created order amounts and totals correctly matched the checkout screen from which it was created.
The currency-precise field type only uses 3 decimal points but 4 were needed to preserve the original checkout amount. I'm not exactly sure how this issue should be resolved. The fixed-point field supports 6 decimals but that may be overkill for calculation purposes.
> 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
> Assignee: Michael Brohl
>
> 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)