Beispiel #1
0
        public DeliveryReturnable(Returnable returnable, int quantity)
        {
            Id   = Guid.NewGuid();
            Kind = returnable.Kind;
            Name = returnable.Name;
            Vat  = returnable.Vat;
            UnitWholeSalePrice = returnable.WholeSalePrice;
            ReturnableId       = returnable.Id;
            Quantity           = -quantity;

            RefreshLine();
        }
Beispiel #2
0
 public void SetReturnable(Returnable returnable)
 {
     Returnable   = returnable;
     ReturnableId = returnable?.Id;
 }