Triggers
Apex class name | Description | Object(s) | After delete | After insert | After undelete | After update | Before delete | Before insert | Before update |
---|---|---|---|---|---|---|---|---|---|
MED_AccountContactInfoSync | Trigger handler used to keep contact information in sync with account data. | Account | X | X | X | ||||
MED_AccountSalutationSync | MedInfo has a salutation field used on custom pages driven by country but standard salutation cannot be removed from layouts. This trigger ensures that the account salutation fields stay in sync regardless of the one that is updated. | Account | X | X | |||||
MED_AEChildObjectsUpdate | Update AE children with information from the AE | Adverse Event | X | ||||||
MED_AssignAccountsForEmailToCase | If the case came from email, try to find and automatically assign the account. | Case | X | ||||||
MED_CalculateBusinessHours | Calculates business hours owned for Ownership history records | Ownership Tracking | X | ||||||
MED_CaseChildObjectChanges | Updates the Case with roll up information from its children | Adverse Event, Fulfillment, Product Quality Complaint, Request | X | X | |||||
MED_CaseCopyContactInformationDetails | Stamp contact information onto the case | Case | X | X | |||||
MED_CaseManageChildren | Copies information like country down to child records | Case | X | ||||||
MED_CaseSetContactInformation | Keeps Contact Information in sync with the account | Case | X | X | |||||
mvn.MED_CaseSetEmailToken | Stamps the Salesforce Lightning Threading Token into the mvn__MED_Email_Thread_Token__c field | Case | X | ||||||
MED_CaseSetFollowUpToken | Creates a follow up token for the case | Case | X | X | |||||
MED_ContactInformationUpdatePrimary | Ensures there is exactly one Primary contact information record of each type for an account | Contact Information | X | X | |||||
MED_ContentDocumentLinkHdlr | Updates share type on document links to inherited if possible | Content Document Link | X | ||||||
MED_ContentRequestReportHdlr | Reports content usage on requests to the history logs for the content | Request | X | ||||||
mvn.MED_CountrySummaryHdlr | Updates the country summary field for the account record whenever a relevant country field changes. | Account, Contact Information | X | X | X | ||||
MED_CreateInteractionQARecords | Creates Interaction QA records | Case | X | ||||||
MED_CreateRequestsForInboundForms | Creates Requests (and cases) for new Inbound forms | Inbound Form | X | X | |||||
MED_DataTranslationHdlr | Translates field data based on translation rules | Adverse Event, Case, Fulfillment, Product Quality Complaint, Request | X | ||||||
MED_DCRMergeOnComplete | Merges accounts after DCR completion | Data Change Request | X | ||||||
MED_DCRTriggerHdlr | Creates DCRs for Account changes | Account, Contact Information | X | ||||||
MED_DCRTriggerHdlr | Creates DCRs for Account and Contact Information changes | Account, Contact Information | X | X | |||||
MED_EmailCaseStamping | Stamps info like source email address onto the case for new email-to-case cases. | Email Message | X | ||||||
MED_EmailMessageUpdateRelatedTo | Updates the custom lookups on email message | Email Message | X | ||||||
MED_EscalationHdlr | Sets escalation status | Case, Request | X | ||||||
MED_FieldAuditTrailHdlr | Field Audit Tracking to store field changes to Field_Update_Audit_Log__b big object | All sObjects | X | ||||||
MED_FulfillmentCloseCleanup |
| Fulfillment | X | ||||||
MED_FulfillmentDefaultsSetter | Sets fulfillment defaults by copying information from the Case | Fulfillment | X | X | |||||
MED_InboundFormCheckForSignature | Checks for signature presence and sets a flag on MED_Inbound_Form__c. Allows for a null check from locations where signature field is not available such as a Formula Field | Inbound Form | X | ||||||
mvn.MED_LockRecordHdlr | Handles locking and unlocking the override lock field | All sObjects | X | X | X | ||||
mvn.MED_LockRelatedRecordsHdlr | Locks records related to locked/closed Cases/Request/Fulfillments/AE/PQC | All sObjects | X | X | X | ||||
MED_NetworkCustomKeysHdlr | This trigger ensures that Accounts have been pulled down from OpenData and custom keys created in Veeva Network. | Account | X | ||||||
MED_OwnershipHistoryTracker | Creates/Updates ownership history | Adverse Event, Case, Fulfillment, Product Quality Complaint, Request | X | X | |||||
MED_PostSignatureToChatter | Post a link to display the Signature on a related Inbound Form | Request | X | ||||||
MED_PublishInquiryRoutingEvent | Async routes cases based on Inquiry Routing settings | Case, Request | X | X | |||||
MED_RecordAuditTrailHdlr | Logs delete audit records | All sObjects | X | X | |||||
MED_RequestAnonymize | Populate Anonymize flag to related Inbound Form when set to True. | Request | X | ||||||
MED_RequestDocDeleteHndlr | Deletes the corresponding Request Document when an attachment is deleted. | Attachment, Content Document | X | ||||||
MED_RequestDocumentViewerLinkHdlr | Populates the external Vault viewer link on a related request request when a Request Document record is created, but only when configured to do so in custom settings. | Request Document | X | ||||||
MED_RequestFulfillmentsCreator | Creates request fulfillment junction objects on Fulfillment create | Fulfillment | X | X | |||||
MED_RequestManageInboundForm | Ensure associated inbound forms are closed/cancelled when request is closed/cancelled | Request | X | ||||||
MED_SetAccountDefaults | Sets default values on newly created accounts. | Account | X | ||||||
MED_SetBusinessHours | Sets business hours on the case using local settings | Case | X | X | |||||
MED_SetCaseDefaults | Set Case defaults like Country | Case | X | ||||||
MED_SetDueDate | Set the Due Date based on open time and business hours | Adverse Event, Product Quality Complaint, Request | X | X | |||||
MED_SetRequestDefaults | Sets request defaults by copying information from the Case | Request | X | ||||||
MED_StampToPrimarySource | Creates an AE primary source automatically | Adverse Event | X |