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

Cancelling a line-item by changing fee selection of event, leads to incorrect financial records

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.19
    • Fix Version/s: 4.7.21
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      Yes

      Description

      Steps to replicate:

      1. Register for a event either via backoffice or online event registration form
      2. Go to the created participant record and edit the form by changing the fee selected to lesser or higher price fee option.
      3. Then pay the refunded or owed amount via 'Record Payment' form. 

      In DB, financial_item table has an incorrect list of records due to the mentioned use-case. Please check the screenshot of financial_item records where a event fee is changed from $1000 to $800 and this leads to two extra records with amount -200.00 and 0.00 with no currency and financial_account_id information

        Attachments

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              monish.deb Monish Deb
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: