示例#1
0
 protected override bool RecordServiceHistory()
 {
     ComponentIssueHistory h = new ComponentIssueHistory();
     AssignToComponentIssueHistory(h);
     foreach (ComponentIssueDetail sd in Details)
     {
         ComponentIssueHistoryDetail hd = new ComponentIssueHistoryDetail();
         AssignDetailsToHistoryDetail(sd, hd);
         hd.ServiceHistorySummary = h;
         ObjScope.Add(hd);
     }
     ObjScope.Add(h);
     return true;
 }
示例#2
0
 protected virtual void AssignToComponentIssueHistory(ComponentIssueHistory t)
 {
     t.HistoryMainLine = this.HistoryMainLine;
     t.ComponentIssueDate = this.HistoryMainLine.TxnDate;
 }