Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Master trigger for processing Opportunities during DML operations
- */
- trigger ProcessOpportunities on Opportunity (
- before insert, after insert,
- before update, after update,
- before delete, after delete
- ) {
- // Process records before an after an insert operation
- if (Trigger.isInsert) {
- if (Trigger.isBefore) {
- }
- if (Trigger.isAfter) {
- }
- } // if (Trigger.isInsert)
- // Process records before an after an update operation
- if (Trigger.isUpdate) {
- if (Trigger.isBefore) {
- }
- if (Trigger.isAfter) {
- }
- } // if (Trigger.isUpdate)
- // Process records before an after a delete operation
- if (Trigger.isDelete) {
- if (Trigger.isBefore) {
- }
- if (Trigger.isAfter) {
- }
- } // if (Trigger.isDelete)
- // Process records before an after an undelete operation
- if (Trigger.isUndelete) {
- if (Trigger.isBefore) {
- }
- if (Trigger.isAfter) {
- }
- } // if (Trigger.isUndelete)
- } // trigger ProcessOpportunities
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement