Example #1
0
 protected override bool RecordServiceHistory()
 {
     SerializeHistory h = new SerializeHistory();
     AssignToSerializeHistory(h);
     foreach (SerializeDetail d in SerializeDetails)
     {
         SerializeHistoryDetail hd = new SerializeHistoryDetail();
         AssignSerializeDetailsToSerializeHistoryDetail(d, hd);
         hd.ServiceHistorySummary = h;
         ObjScope.Add(hd);
     }
     ObjScope.Add(h);
     return true;
 }
Example #2
0
 protected virtual void AssignToSerializeHistory(SerializeHistory t)
 {
     t.HistoryMainLine = this.HistoryMainLine;
     t.ChildContainerLevel = this.ChildContainerLevel;
     t.ChildUOM = this.ChildUOM;
     t.Product = this.Product;
 }