示例#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();
 }