Ejemplo n.º 1
0
 protected override bool RecordServiceHistory()
 {
     CollectDataHistory h = new CollectDataHistory();
     AssignToCollectDataHistory(h);
     foreach (CollectDataDetail sd in Details)
     {
         CollectDataHistoryDetail hd = new CollectDataHistoryDetail();
         AssignDetailsToHistoryDetail(sd, hd);
         hd.ServiceHistorySummary = h;
         ObjScope.Add(hd);
     }
     ObjScope.Add(h);
     return true;
 }
Ejemplo n.º 2
0
 protected virtual void AssignToCollectDataHistory(CollectDataHistory t)
 {
     t.HistoryMainLine = this.HistoryMainLine;
     t.CollectDate = this.HistoryMainLine.TxnDate;
 }