Skip to content
Snippets Groups Projects
Unverified Commit 8d83b759 authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Update docs/financial/financialentities.md


Co-Authored-By: default avatarMikey O'Toole <mikey@mjco.uk>
parent 8756b259
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ If the line items change then the items financial items have to be updated. Gene
old line item, reverse the financial items and then create a new line item with new financial items. However, this is not
always possible as there are some scenarios where the schema does not permit this. The has led to
adjustment line items being created in these cases. The issue is that the civicrm_line_item table has a unique index for
entity_table + entity_id + contribution_id + price_field_value_id + price_field_id.
`entity_table + entity_id + contribution_id + price_field_value_id + price_field_id`.
This means that if a line item with no price_field_values (ie a text / enter quantity line item) is altered it is not possible
to create a reversal line and a new line within the schema. The same problem occurs when changing a line item with price_field_values
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment