public Object Clone() { MaterialStockHistory obj = new MaterialStockHistory(); obj.ID = this.ID; obj.MSN = this.MSN; obj.MaterialName = this.MaterialName; obj.MaterialCode = this.MaterialCode; obj.BatchNumber = this.BatchNumber; obj.CustName = this.CustName; obj.StockHouse = this.StockHouse; obj.DOCUMENTID = this.DOCUMENTID; obj.QUANTITY = this.QUANTITY; obj.UNIT = this.UNIT; obj.STATUS = this.STATUS; obj.StatusMemo = this.StatusMemo; obj.WorkOrder = this.WorkOrder; obj.MaterialHandler = this.MaterialHandler; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; obj.Description = this.Description; return(obj); }
public void CopyTo(MaterialStockHistory obj) { obj.ID = this.ID; obj.MSN = this.MSN; obj.MaterialName = this.MaterialName; obj.MaterialCode = this.MaterialCode; obj.BatchNumber = this.BatchNumber; obj.CustName = this.CustName; obj.StockHouse = this.StockHouse; obj.DOCUMENTID = this.DOCUMENTID; obj.QUANTITY = this.QUANTITY; obj.UNIT = this.UNIT; obj.STATUS = this.STATUS; obj.StatusMemo = this.StatusMemo; obj.WorkOrder = this.WorkOrder; obj.MaterialHandler = this.MaterialHandler; obj.MEMO = this.MEMO; obj.CreatedDate = this.CreatedDate; obj.UpdatedDate = this.UpdatedDate; obj.UpdatedBy = this.UpdatedBy; obj.Description = this.Description; }