Skip to content
Snippets Groups Projects
Unverified Commit 73d8f0a6 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 8471a5d2
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ of the line item that has been paid by that payment.
If the line items change then the items financial items have to be updated. Generally the rule is to alter the zero out the
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
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`.
This means that if a line item with no `price_field_values` (i.e: a text / enter quantity line item) is altered it is not possible
......
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