Exemple #1
0
 public static void AddSLA(crmSLAView SelectedSLA)
 {
     sla_timer newCat = new sla_timer();
     newCat.sla_name = SelectedSLA.Name;
     newCat.code = SelectedSLA.code;
     newCat.pre_escalate = SelectedSLA.Pre_escalate;
     newCat.escalate = SelectedSLA.Escalated;
     newCat.owner = AppData.CurrentUser.id;
     newCat.created_at = DateTime.Now;
     Database.CRM.sla_timers.InsertOnSubmit(newCat);
     Database.CRM.SubmitChanges();
 }
Exemple #2
0
 partial void Deletesla_timer(sla_timer instance);
Exemple #3
0
 partial void Updatesla_timer(sla_timer instance);
Exemple #4
0
 partial void Insertsla_timer(sla_timer instance);