示例#1
0
 protected virtual void AssignCombineDetailsToCombineHistoryDetail(CombineFromDetail s, CombineHistoryDetail t)
 {
     t.CloseWhenEmpty = s.CloseWhenEmpty;
     t.CombineAllQty = s.CombineAllQty;
     t.FromContainerName = s.FromContainerName;
     t.Qty = s.Qty;
 }
示例#2
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;
 }