Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }