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)