CRM-16748 Create civicrm_entity_financial_trxn records for partial payments

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Critical
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.6, 4.7
    • Fix Version/s: 4.7
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      4.7 head does not record civicrm_entity_financial_trxn records for partial payments. These records are necessary in order to be able to allocate amounts to the financial accounts associated with line items. Prior to partial payment work, the allocation was not an issue, and every civicrm_entity_financial_trxn.amount was for the full amount of line_item.

      As a default, it would be nice to have the amounts allocated proportionally to line items based on the proportion of the outstanding total balance that is outstanding for the line item. This isn't convenient to calculate. But even calculating the outstanding balance on a line_item is not much simpler, so we might as well as do it rather than arbitrarily choosing line items to pay fully.

        Attachments

          Activity

          [CRM-16748] Create civicrm_entity_financial_trxn records for partial payments
          Joe Murray added a comment -

          JMA will be fixing this pro bono. DaveG indicated that core team would assist with QA.

          Kurund Jalmi added a comment -

          Joe, any progress on this?

          Kurund Jalmi added a comment -

          Joe, any update on this?

          Joe Murray added a comment -

          Pradeep and I think that this was all done for 4.7 and backported to 4.6.x already. We'll check and close if it is done.

          Kurund Jalmi added a comment -

          Joe, any update on this?

          Joe Murray added a comment -

          Pradeep, could you check if the work we have done fixes this issue?

          Joe Murray added a comment -

          We've decided not to spend the 5 hours or so to backport changes from 4.7 to 4.6.

            People

            • Assignee:
              Pradeep Nayak
              Reporter:
              Joe Murray

              Dates

              • Created:
                Updated:
                Resolved: