Ejemplo n.º 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();
        }
Ejemplo n.º 2
0
 public void SetReturnable(Returnable returnable)
 {
     Returnable   = returnable;
     ReturnableId = returnable?.Id;
 }