📜  销售人员中的顶级最佳实践 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:40.356000             🧑  作者: Mango

代码示例1
trigger accountTestTrggr on Account (before insert, before update) {
 
   List accountNames = new List{};
  
   //Loop through all records in the Trigger.new collection
   for(Account a: Trigger.new){
      //Concatenate the Name and billingState into the Description field
      a.Description = a.Name + ':' + a.BillingState
   }
    
}