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
- is supplemented by
-
CRM-15054 Editing a contribution linked to a membership record mistakenly modifies line_item entity
- Done/Fixed
-
CRM-15055 Line item for membership entity should be created even when Record Payment is not checked
- Done/Fixed
-
CRM-15195 Fix pre-4.5 membership line_item entity_table and entity_id values
- Done/Fixed