Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Critical
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.3.0
-
Fix Version/s: 4.3.0
-
Component/s: Accounting Integration, CiviContribute, CiviCRM API
-
Labels:None
Description
Currently this api is NOT creating all the minimally required records for a 'valid' contribution which are:
- contribution (yes)
- line_item (yes - but pretty sure that the required line_item.financial_type_id is not being populated and it should be)
- financial_item (NO)
- entity_financial_item (NO)
- financial_trxn (NO, needed if status is 'Completed').
- entity_financial_trxn (NO, needed if status is 'Completed').
We require a financial_type_id for civicrm_api3_contribution_create. This should allow us to create the minimally required financial records when a contribution is created.
NOTE: We need to discuss UPDATE handling (e.g. call to contribution_create with an ID and changes to amount, financial type, etc.).
Update workflow is mentioned here: http://wiki.civicrm.org/confluence/display/CRM/CiviAccounts+4.3+Data+Flow#CiviAccounts4.3DataFlow-Updatecontribution
Attachments
Issue Links
- blocks
-
CRM-11466 Contribution import is not creating required financial records
- Done/Fixed