Posted by
Nicolas Malin (Jira) on
May 08, 2007; 2:04pm
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-971-Rounding-error-in-invoices-tp180832p180833.html
[
https://issues.apache.org/jira/browse/OFBIZ-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494284 ]
Jonathon Wong commented on OFBIZ-971:
-------------------------------------
Suggestion:
Round up (to nearest cent) all invoices before the last. For the last invoice, subtract previous invoice amounts from the order total, and output the remaining.
First invoice: 172.33
Second invoice: 172.33 - 0.01 for "rounding adjustments".
> Rounding error in invoices
> --------------------------
>
> Key: OFBIZ-971
> URL:
https://issues.apache.org/jira/browse/OFBIZ-971> Project: OFBiz (The Open for Business Project)
> Issue Type: Bug
> Components: accounting
> Reporter: Jacopo Cappellato
>
> Here is a way to recreate a rounding error with seed data:
> 1) enter an order for DemoCustomer for 10 units of WG-1111
> 2) select no-shipping as the shipping method
> 3) split ship the order: 5 units (plus the promo item) in the first shipment; pack the shipment to get the invoice and capture
> 4) create the second shipment for the remaining 5 units; pack the shipment to get the invoice and capture
> You'll get:
> order total = 344.65
> total first invoice = 172.32
> total second invoice = 172.32
> So the total amount captured and invoiced is 344.64 instead of 344.65
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.