public void AddToStockTakeVarianceLineItem(StockTakeVarianceLineItem stockTakeVarianceLineItem) { base.AddObject("StockTakeVarianceLineItem", stockTakeVarianceLineItem); }
public static StockTakeVarianceLineItem CreateStockTakeVarianceLineItem(int stockTakeVarianceLineItemID, bool withRunners, bool isCasting) { StockTakeVarianceLineItem stockTakeVarianceLineItem = new StockTakeVarianceLineItem(); stockTakeVarianceLineItem.StockTakeVarianceLineItemID = stockTakeVarianceLineItemID; stockTakeVarianceLineItem.WithRunners = withRunners; stockTakeVarianceLineItem.IsCasting = isCasting; return stockTakeVarianceLineItem; }