示例#1
0
        protected override bool RecordServiceHistory()
        {
            CombineHistory h = new CombineHistory();

            AssignToCombineHistory(h);
            foreach (CombineFromDetail hd in FromContainerDetails)
            {
                CombineHistoryDetail shd = new CombineHistoryDetail();
                AssignCombineDetailsToCombineHistoryDetail(hd, shd);
                shd.ServiceHistorySummary = h;
                ObjScope.Add(shd);
            }
            ObjScope.Add(h);
            return(true);
        }
示例#2
0
 protected virtual void AssignToCombineHistory(CombineHistory t)
 {
     t.HistoryMainLine = this.HistoryMainLine;
     t.CloseWhenEmpty  = this.CloseWhenEmpty;
 }