Skip to main content

Triggers

Apex class nameDescriptionObject(s)After deleteAfter insertAfter undeleteAfter updateBefore deleteBefore insertBefore update
MED_AccountContactInfoSyncTrigger handler used to keep contact information in sync with account data.AccountXXX
MED_AccountSalutationSyncMedInfo 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.AccountXX
MED_AEChildObjectsUpdateUpdate AE children with information from the AEAdverse EventX
MED_AssignAccountsForEmailToCaseIf the case came from email, try to find and automatically assign the account.CaseX
MED_CalculateBusinessHoursCalculates business hours owned for Ownership history recordsOwnership TrackingX
MED_CaseChildObjectChangesUpdates the Case with roll up information from its childrenAdverse Event, Fulfillment, Product Quality Complaint, RequestXX
MED_CaseCopyContactInformationDetailsStamp contact information onto the caseCaseXX
MED_CaseManageChildrenCopies information like country down to child recordsCaseX
MED_CaseSetContactInformationKeeps Contact Information in sync with the accountCaseXX
mvn.MED_CaseSetEmailTokenStamps the Salesforce Lightning Threading Token into the mvn__MED_Email_Thread_Token__c fieldCaseX
MED_CaseSetFollowUpTokenCreates a follow up token for the caseCaseXX
MED_ContactInformationUpdatePrimaryEnsures there is exactly one Primary contact information record of each type for an accountContact InformationXX
MED_ContentDocumentLinkHdlrUpdates share type on document links to inherited if possibleContent Document LinkX
MED_ContentRequestReportHdlrReports content usage on requests to the history logs for the contentRequestX
mvn.MED_CountrySummaryHdlrUpdates the country summary field for the account record whenever a relevant country field changes.Account, Contact InformationXXX
MED_CreateInteractionQARecordsCreates Interaction QA recordsCaseX
MED_CreateRequestsForInboundFormsCreates Requests (and cases) for new Inbound formsInbound FormXX
MED_DataTranslationHdlrTranslates field data based on translation rulesAdverse Event, Case, Fulfillment, Product Quality Complaint, RequestX
MED_DCRMergeOnCompleteMerges accounts after DCR completionData Change RequestX
MED_DCRTriggerHdlrCreates DCRs for Account changesAccount, Contact InformationX
MED_DCRTriggerHdlrCreates DCRs for Account and Contact Information changesAccount, Contact InformationXX
MED_EmailCaseStampingStamps info like source email address onto the case for new email-to-case cases.Email MessageX
MED_EmailMessageUpdateRelatedToUpdates the custom lookups on email messageEmail MessageX
MED_EscalationHdlrSets escalation statusCase, RequestX
MED_FieldAuditTrailHdlrField Audit Tracking to store field changes to Field_Update_Audit_Log__b big objectAll sObjectsX
MED_FulfillmentCloseCleanupClean up all DDPs and related documents. Set the request type on the related requests. Dismiss Package JobFulfillmentX
MED_FulfillmentDefaultsSetterSets fulfillment defaults by copying information from the CaseFulfillmentXX
MED_InboundFormCheckForSignatureChecks 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 FieldInbound FormX
mvn.MED_LockRecordHdlrHandles locking and unlocking the override lock fieldAll sObjectsXXX
mvn.MED_LockRelatedRecordsHdlrLocks records related to locked/closed Cases/Request/Fulfillments/AE/PQCAll sObjectsXXX
MED_NetworkCustomKeysHdlrThis trigger ensures that Accounts have been pulled down from OpenData and custom keys created in Veeva Network.AccountX
MED_OwnershipHistoryTrackerCreates/Updates ownership historyAdverse Event, Case, Fulfillment, Product Quality Complaint, RequestXX
MED_PostSignatureToChatterPost a link to display the Signature on a related Inbound FormRequestX
MED_PublishInquiryRoutingEventAsync routes cases based on Inquiry Routing settingsCase, RequestXX
MED_RecordAuditTrailHdlrLogs delete audit recordsAll sObjectsXX
MED_RequestAnonymizePopulate Anonymize flag to related Inbound Form when set to True.RequestX
MED_RequestDocDeleteHndlrDeletes the corresponding Request Document when an attachment is deleted.Attachment, Content DocumentX
MED_RequestDocumentViewerLinkHdlrPopulates 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 DocumentX
MED_RequestFulfillmentsCreatorCreates request fulfillment junction objects on Fulfillment createFulfillmentXX
MED_RequestManageInboundFormEnsure associated inbound forms are closed/cancelled when request is closed/cancelledRequestX
MED_SetAccountDefaultsSets default values on newly created accounts.AccountX
MED_SetBusinessHoursSets business hours on the case using local settingsCaseXX
MED_SetCaseDefaultsSet Case defaults like CountryCaseX
MED_SetDueDateSet the Due Date based on open time and business hoursAdverse Event, Product Quality Complaint, RequestXX
MED_SetRequestDefaultsSets request defaults by copying information from the CaseRequestX
MED_StampToPrimarySourceCreates an AE primary source automaticallyAdverse EventX