Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-9163

Purchase Invoice - Sales Tax & Accounting transaction

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Release Branch 16.11, Trunk
    • Trunk
    • accounting
    • None
    • Windows 10, demo data

    Description

      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.

      Attachments

        Activity

          People

            amit.gadaley Amit Gadaley
            tywinn Tyrone Winn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: