Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040788Retail ModulesWeb POSpublic2019-05-06 14:502019-05-31 15:33
ngarcia 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR19Q3 
marvintm
No
0040788: Wrong taxable amount when invoicing a sales order with summary tax rates
Wrong taxable amount when invoicing a sales order with summary tax rates
In the backend:
   Create a parent tax rate
   Add three taxes to it and set the previous tax as parent tax rate for them:
      Tax 1: 19%
      Tax 2: 0.4%
      Tax 3: -0.4%

   Set a price list that includes taxes. Set a price of 5372 to all the products
   The tax previously created should be applied for all the products except the last one

In the POS:
   Create the following order:
      6 units of product 1
      6 units of product 2
      12 units of product 3
      7 units of product 4
      12 units of product 5 (3 units in one storage bin, 9 units in other one)
      12 units of product 6 (3 units in one storage bin, 9 units in other one)
      12 units of product 7
      12 units of product 8
      12 units of product 9
      24 units of product 10
      36 units of product 11 (2 units in one storage bin, 34 in other one)
      36 units of product 12 (2 units in one storage bin, 34 in other one)
      1 units of product 13 (price 40, tax exempt)

   Invoice this receipt
   Pay it

   Check the Taxable Amount in Sales Order is 844,171.43
   Check the Taxable Amount in Sales Invoice is 844,171.44 that do not match neither the Total Net Amount nor the sum of the line net amount of the invoice lines
   If the Suspense Balancing Use is not set in the General Ledger, the following error will be obtained when trying to post the invoice:
      NotBalanced

   If the Suspense Balancing Use is set, an amount of 0.01 will be posted to the Suspense Balancing Account

Note: Attached the created invoice
No tags attached.
pdf Sales_Invoice_PS1000005.20190506-142631.pdf (53,855) 2019-05-06 14:50
https://issues.openbravo.com/file_download.php?file_id=12921&type=bug
Issue History
2019-05-06 14:50ngarciaNew Issue
2019-05-06 14:50ngarciaAssigned To => Retail
2019-05-06 14:50ngarciaFile Added: Sales_Invoice_PS1000005.20190506-142631.pdf
2019-05-06 14:50ngarciaResolution time => 1558908000
2019-05-06 14:50ngarciaTriggers an Emergency Pack => No
2019-05-06 18:57ngarciaIssue Monitored: networkb
2019-05-20 15:07ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-05-20 15:07ranjith_qualiantech_comStatusnew => scheduled
2019-05-30 07:59hgbotCheckin
2019-05-30 07:59hgbotNote Added: 0112253
2019-05-30 07:59hgbotStatusscheduled => resolved
2019-05-30 07:59hgbotResolutionopen => fixed
2019-05-30 07:59hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ff1e4d43d7482af8ec0cc5bda96e6d73d0299cd3 [^]
2019-05-31 15:33marvintmReview Assigned To => marvintm
2019-05-31 15:33marvintmStatusresolved => closed
2019-05-31 15:33marvintmFixed in Version => RR19Q3

Notes
(0112253)
hgbot   
2019-05-30 07:59   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: ff1e4d43d7482af8ec0cc5bda96e6d73d0299cd3
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu May 30 11:28:46 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/ff1e4d43d7482af8ec0cc5bda96e6d73d0299cd3 [^]

Fixed issue 40788 : Invoice tax should not be updated in Backoffice if multiple shipments present

* If the Order has multiple shipments, invoice tax should be same as Order Tax

---
M src/org/openbravo/retail/posterminal/utility/InvoiceUtils.java
---