Beispiel #1
0
 public static void EmailOutActEntry(this ActEntryTemplatePolicyExpression dsl)
 {
     dsl.ActEntry(3400).DisplayName("Sent email")
     .GetRelatedRecord("act_entry2email_log")
     .WithFields("message", "recipient", "cc_list")
     .UpdateActivityDTOWith(emailLogUpdater);
 }
Beispiel #2
0
 public static void TimeAndExpenseLoggedDeletedActEntry(this ActEntryTemplatePolicyExpression dsl)
 {
     dsl.ActEntry(10600).DisplayName("Time and expense log deleted")
     .GetRelatedRecord("act_entry2onsite_log")
     .WithFields("total_time", "total_exp", "notes", "internal_note")
     .UpdateActivityDTOWith(timeAndExpensesUpdater);
 }
Beispiel #3
0
 public static void StatusChangedActEntry(this ActEntryTemplatePolicyExpression dsl)
 {
     dsl.ActEntry(300).DisplayName("Status changed")
     .GetRelatedRecord("act_entry2status_chg")
     .WithFields("notes")
     .UpdateActivityDTOWith(statusChangeUpdater);
 }
Beispiel #4
0
 public static void NoteActEntry(this ActEntryTemplatePolicyExpression dsl)
 {
     dsl.ActEntry(1700).DisplayName("Note logged")
     .GetRelatedRecord("act_entry2notes_log").WithFields("description", "internal")
     .UpdateActivityDTOWith((record, dto) =>
     {
         dto.Detail   = record["description"].ToString();
         dto.Internal = record["internal"].ToString();
     });
 }
Beispiel #5
0
 public static void PhoneLogActEntry(this ActEntryTemplatePolicyExpression dsl)
 {
     dsl.ActEntry(500).DisplayName("Phone log added")
     .GetRelatedRecord("act_entry2phone_log")
     .WithFields("notes", "internal")
     .UpdateActivityDTOWith((row, dto) =>
     {
         dto.Detail   = row["notes"].ToString();
         dto.Internal = row["internal"].ToString();
     });
 }
Beispiel #6
0
 public static void TimeAndExpenseEdittedActEntry(this ActEntryTemplatePolicyExpression dsl)
 {
     dsl.ActEntry(8700).DisplayName("Time and expenses edited");
 }