ContactProcess
ContactProcess is intended to manage target Contact records.
API name: Contact
| Context | Method | Codename | Description |
|---|---|---|---|
After Insert[ai] |
manageReference |
manageRef |
A new CTPHARMA__Reference__c object is created for associating Contact and Account objects. |
After Update[au] |
manageReference |
manageRef |
When changing the CTPHARMA__AccountId__c field, a new CTPHARMA__Reference__c object associating Contact and Account objects is created. In the CTPHARMA__Reference__c objects where the data is stored, the value of the CTPHARMA__IsPrimary__c field changes from true to false. |
manageTargetFrequency |
manageTF |
Target Frequency logic. Check targeting fields (check box and category) for changes set in the Division Target Frequency Settings custom setting for the user division. When updating the fields, targeting creates a new Target Frequency active record for a current user. If such record already exists, it will be deactivated and the deactivation date specified. The CTPHARMA__TargetUserIds__c field update. |