Example #1
0
 public void CopyTo(MaterialStock obj)
 {
     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.BasQty       = this.BasQty;
     obj.UNIT         = this.UNIT;
     obj.STATUS       = this.STATUS;
     obj.MEMO         = this.MEMO;
     obj.CreatedDate  = this.CreatedDate;
     obj.UpdatedDate  = this.UpdatedDate;
     obj.UpdatedBy    = this.UpdatedBy;
     obj.Description  = this.Description;
 }
Example #2
0
        public Object Clone()
        {
            MaterialStock obj = new MaterialStock();

            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.BasQty       = this.BasQty;
            obj.UNIT         = this.UNIT;
            obj.STATUS       = this.STATUS;
            obj.MEMO         = this.MEMO;
            obj.CreatedDate  = this.CreatedDate;
            obj.UpdatedDate  = this.UpdatedDate;
            obj.UpdatedBy    = this.UpdatedBy;
            obj.Description  = this.Description;
            return(obj);
        }