Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17467

contribution detail report: total amount duplicated when contrib has double entry

    Details

    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      If you run the contribution detail report and include contributions that have a double entry, the contribution total will be double the actual total.

      We ran into this when doing batch processing with credit card transactions that have a revenue transaction and an expense transaction for the fee. What seems to be happening is that the query pulls the transaction line items, connects them to the contribution, and then totals on the contribution value (thus duplicating everything).

      See the attached screenshot. Although there are only 3 rows in the result set, the contribution count is 6 and the total is double what it should be.

        Attachments

        1. 2640_batchReport.png
          46 kB
          Brian Shaughnessy
        2. Screen Shot 2015-10-30 at 9.45.49 AM.PNG
          283 kB
          David Greenberg

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              lcdweb Brian Shaughnessy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: