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

Add created_id on the financial_trxn table

    Details

    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      Add created_id on the financial_trxn table. FK to civicrm_contact.id

      • new installs
      • modify schema on upgrade (existing rows will be NULL)

      On insert of financial_trxn rows:

      • If authenticated user: set created_id to current user's contact id
      • if anonymous: set created_id to same value as contribution.contact_id

      Add unit test to verify this behavior.

      Adding this field will, among other things, allow CiviCRM to track who created and edited a transaction. This is typically done in an advanced donor management / CRM.

        Attachments

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              pkeogan Paul Keogan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: