[jira] [Created] (OFBIZ-9163) Purchase Invoice - Sales Tax & Accounting transaction

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-9163) Purchase Invoice - Sales Tax & Accounting transaction

Nicolas Malin (Jira)
Tyrone Winn created OFBIZ-9163:
----------------------------------

             Summary: Purchase Invoice - Sales Tax & Accounting transaction
                 Key: OFBIZ-9163
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9163
             Project: OFBiz
          Issue Type: Bug
          Components: accounting
    Affects Versions: Release Branch 16.11, Trunk
         Environment: Windows 10, demo data
            Reporter: Tyrone Winn
            Priority: Minor


When posting the accounting transactions for purchase invoices with tax the journal is suspended as does not balance. (using demo data)

The process is:
1. Create new invoice from "BigSupplier"
2. Choose product "GZ-1006-1" and add a quantity and amount
3. Click "Add Tax"
4. Status to Approved
5. Status to Ready

It would seem the creditors amount does not increase with the value of the tax.

In looking at  the service "createAcctgTransForPurchaseInvoice" in the following file: applications\accounting\minilang\ledger\GeneralLedgerServices.xml
it seems to be missing a call to the method "getInvoiceTaxTotal" when compared to the "createAcctgTransForSalesInvoice" service.

When adding this to the "createAcctgTransForPurchaseInvoice" it works as expected.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)