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

Line Items should be created for all Membership Signup/Renewal and Participant Registration transactions

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.5
    • Component/s: None
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      Starting in 4.5 - we always want to create an associated line_item for every new membership, participant, and contribution transaction. The line_item will link to the membership, participant or contribution record via entity_table / entity_id. The line_item MAY also link to the associated contribution (payment) record if a payment was recorded.

      For back-office membership sign-up/renewal and participant registrations, if the admin chooses NOT to record payment, then line_item.contribution_id should be NULL. For zero-dollar back-office AND front-end transaction - a zero-dollar contribution will be created and linked to the line_item UNLESS admin has decided NOT to record a payment.

      — original post —
      When a participant is created via an offline registration, without recording a payment, the corresponding line items are created for the participant. However, a contribution is not recorded. The question then arises as to why the line items would need to be created at all when a contribution isn't being recorded? Is there a particular use case in which this would be a valid process?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pradeep.nayak Pradeep Nayak
                Reporter:
                pradeep.nayak Pradeep Nayak
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day, 5 hours
                  1d 5h
                  Remaining:
                  Remaining Estimate - 1 day, 5 hours
                  1d 5h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified