Esempio n. 1
0
 public StockDetail(NewStock form)
 {
     // StockId = form.StockId;
     InitialQuantity  = form.InitialQuantity;
     RemainingBalance = form.InitialQuantity;
     ReorderBalance   = form.ReorderBalance;
     GRN_Number       = form.GRN_Number;
 }
Esempio n. 2
0
 public Stock(NewStock form)
 {
     ProductId        = form.ProductId;
     UnitePrice       = form.UnitePrice;
     InitialQuantity  = form.InitialQuantity;
     RemainingBalance = form.InitialQuantity;
     ReorderBalance   = form.ReorderBalance;
     GRN_Number       = form.GRN_Number;
 }