public void LoadBankTransaction(Gl obj)
 {
     if (obj.BankTransaction != null)
     {
         _bankTransactionProperty = obj.BankTransaction.CurrentDTO;
     }
 }
        public void InitDTO()
        {
            BankTransactionDTO dt = new BankTransactionDTO();

            dt.BankTransactionID        = this.BankTransactionID;
            dt.BankAccountID            = this.BankAccountID;
            dt.TransactionDate          = this.TransactionDate;
            dt.AccountNumber            = this.AccountNumber;
            dt.AccountName              = this.AccountName;
            dt.CurrencyCode             = this.CurrencyCode;
            dt.ClosingBalanace          = this.ClosingBalanace;
            dt.TransactionAmount        = this.TransactionAmount;
            dt.TransactionCode          = this.TransactionCode;
            dt.Narrative                = this.Narrative;
            dt.SerialNumber             = this.SerialNumber;
            dt.SegmentAccountNumber     = this.SegmentAccountNumber;
            dt.PaymentTransactionID     = this.PaymentTransactionID;
            dt.InstructionID            = this.InstructionID;
            dt.ValueDate                = this.ValueDate;
            dt.TransactionDateTimeUTC   = this.TransactionDateTimeUTC;
            dt.DebtorName               = this.DebtorName;
            dt.CreditorName             = this.CreditorName;
            dt.EndToEndID               = this.EndToEndID;
            dt.RemittanceInformation1   = this.RemittanceInformation1;
            dt.RemittanceInfoformation2 = this.RemittanceInfoformation2;
            dt.PayiDType                = this.PayiDType;
            dt.PayID = this.PayID;
            dt.ReversalreasonCode    = this.ReversalreasonCode;
            dt.OriginalTransactionID = this.OriginalTransactionID;
            dt.IsActive  = this.IsActive;
            dt.CreatedBy = this.CreatedBy;
            dt.CreatedOn = this.CreatedOn;
            dt.UpdatedBy = this.UpdatedBy;
            dt.UpdatedOn = this.UpdatedOn;
            //LoadProperty(_currentDto, dt);
            this.CurrentDTO = dt;
        }