Beispiel #1
0
 public void CopyTo(MaterealLock 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.LockReason   = this.LockReason;
     obj.MEMO         = this.MEMO;
     obj.CreatedDate  = this.CreatedDate;
     obj.UpdatedDate  = this.UpdatedDate;
     obj.UpdatedBy    = this.UpdatedBy;
 }
Beispiel #2
0
        public Object Clone()
        {
            MaterealLock obj = new MaterealLock();

            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.LockReason   = this.LockReason;
            obj.MEMO         = this.MEMO;
            obj.CreatedDate  = this.CreatedDate;
            obj.UpdatedDate  = this.UpdatedDate;
            obj.UpdatedBy    = this.UpdatedBy;

            return(obj);
        }