protected virtual void AssignSplitDetailsToSplitHistoryDetail(SplitDetail s, SplitHistoryDetail t) { t.ContainerName = s.ContainerName; t.Qty = s.Qty; }
protected override bool RecordServiceHistory() { SplitHistory h = new SplitHistory(); AssignToSplitHistory(h); foreach (SplitDetail sd in ToContainerDetails) { SplitHistoryDetail hd = new SplitHistoryDetail(); AssignSplitDetailsToSplitHistoryDetail(sd, hd); hd.ServiceHistorySummary = h; ObjScope.Add(hd); } ObjScope.Add(h); return true; }