protected override bool RecordServiceHistory() { ResourceThruputHistory h = new ResourceThruputHistory(); AssignToResourceThruputHistory(h); ObjScope.Add(h); return(true); }
protected virtual void AssignToResourceThruputHistory(ResourceThruputHistory t) { t.HistoryMainLine = this.HistoryMainLine; t.Product = this.Product; t.MfgOrder = this.MfgOrder; t.Setup = this.Setup; t.Qty = this.Qty; t.UOM = this.UOM; t.ThruputDate = this.HistoryMainLine.TxnDate; }