Trigger.isAfter; Trigger.isBefore; Trigger.isDelete; Trigger.isExecuting; Trigger.isInsert; Trigger.isUnDelete; Trigger.isUpdate; Trigger.new; Trigger.newMap; Trigger.old; Trigger.oldMap; Trigger.size;
before insertbefore updatebefore deleteafter insertafter updateafter deleteafter undelete
trigger myAccountTrigger on Account (before insert, before update) { // Your code here }
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_triggers_context_variables.htm
Trigger.isAfter;
返信削除Trigger.isBefore;
Trigger.isDelete;
Trigger.isExecuting;
Trigger.isInsert;
Trigger.isUnDelete;
Trigger.isUpdate;
Trigger.new;
Trigger.newMap;
Trigger.old;
Trigger.oldMap;
Trigger.size;
before insert
返信削除before update
before delete
after insert
after update
after delete
after undelete
trigger myAccountTrigger on Account (before insert, before update) {
返信削除// Your code here
}
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_triggers_context_variables.htm
返信削除