public void AddToStockAdjustDetails(StockAdjustDetail stockAdjustDetail) { base.AddObject("StockAdjustDetails", stockAdjustDetail); }
public static StockAdjustDetail CreateStockAdjustDetail(int ID, int stockAdjustDetail_Location, int stockAdjust_Product, string lotNo, double currentQuantity, double newQuantity, int stockAdjustDetail_StockAdjust, byte[] rowVersion) { StockAdjustDetail stockAdjustDetail = new StockAdjustDetail(); stockAdjustDetail.Id = ID; stockAdjustDetail.StockAdjustDetail_Location = stockAdjustDetail_Location; stockAdjustDetail.StockAdjust_Product = stockAdjust_Product; stockAdjustDetail.LotNo = lotNo; stockAdjustDetail.CurrentQuantity = currentQuantity; stockAdjustDetail.NewQuantity = newQuantity; stockAdjustDetail.StockAdjustDetail_StockAdjust = stockAdjustDetail_StockAdjust; stockAdjustDetail.RowVersion = rowVersion; return stockAdjustDetail; }