Esempio n. 1
0
        protected override bool RecordServiceHistory()
        {
            ComponentRemoveHistory h = new ComponentRemoveHistory();

            AssignToComponentRemoveHistory(h);
            foreach (RemoveDetail sd in Details)
            {
                ComponentRemoveHistoryDetail hd = new ComponentRemoveHistoryDetail();
                AssignDetailsToHistoryDetail(sd, hd);
                hd.ServiceHistorySummary = h;
                ObjScope.Add(hd);
            }
            ObjScope.Add(h);
            return(true);
        }
Esempio n. 2
0
 protected virtual void AssignToComponentRemoveHistory(ComponentRemoveHistory t)
 {
     t.HistoryMainLine     = this.HistoryMainLine;
     t.ComponentRemoveDate = this.HistoryMainLine.TxnDate;
 }