예제 #1
0
 public virtual void AddLine(WaybillLine line)
 {
     if (Status == DocStatus.Posted)
     {
         return;
     }
     line.Waybill = this;
     Lines.Add(line);
     Recalculate();
 }
예제 #2
0
 public virtual void RemoveLine(WaybillLine line)
 {
     if (Status == DocStatus.Posted)
     {
         return;
     }
     line.Waybill = null;
     Lines.Remove(line);
     Recalculate();
 }