Activity import: source_record_id field not importable
Overview
During activity import (Contacts >> Import Activities) Source Record ID field cannot be mapped and imported. In my understanding that is because this field is not marked as importable. If I add the import => TRUE
to the relevant DAO, source_record_id
can be mapped and imported successfully.
I haven't found any references except for this unresolved StackExchange question (https://civicrm.stackexchange.com/questions/33639/importing-signatures-into-petition) and a related issue (#1380) where the OP wants to import petition signatures into Civi.
I checked the oldest available version of Civi on GitHub and this field wasn't marked as importable even then. So this seems quite historical.
I wonder, is there any reasons why this field can't be imported?
Example use-case
Importing petition signatures from other systems to CiviCRM.
Current behaviour
Not possible to import source_record_id
for activities.
Proposed behaviour
Possible to import source_record_id
for activities.
Comments
I'm happy to open a PR if it gets approved.