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

FinAccountHelper.getBalance attempts to filter withdrawl transactions by currency

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Trunk
    • Trunk
    • order
    • None

    Description

      The getBalance method sets up two entity condition lists; one for increases and one for decreases. The decrease list has a condition on the currencyUomId against the "FinAccountTransSum" view-entity. This entity does not have a currency (in fact currency is set on the financial acocunt itself, and not the transactions which must be in that currency. I have simply removed the offending line and cleaned up the method a little bit (generics violations, un-used variables).

      Attachments

        Activity

          People

            lektran Scott Gray
            bmorley Bob Morley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: