private void FillProperties(SQLTable m_tbl,long ID)
        {
            this.m_BankName = null;
            object oBankName = m_tbl.Value("OrganisationAccount_$_bankacc_$_bank_$_org_$$Name");
            if (oBankName is TangentaTableClass.Name)
            {
                if (((TangentaTableClass.Name)oBankName).defined)
                {
                    this.m_BankName = ((TangentaTableClass.Name)oBankName).val;
                }
            }
            object oBank_Tax_ID = m_tbl.Value("OrganisationAccount_$_bankacc_$_bank_$_org_$$Tax_ID");
            if (oBank_Tax_ID is TangentaTableClass.Tax_ID)
            {
                if (((TangentaTableClass.Tax_ID)oBank_Tax_ID).defined)
                {
                    this.m_Bank_Tax_ID = ((TangentaTableClass.Tax_ID)oBank_Tax_ID).val;
                }
            }

            object oBank_Registration_ID = m_tbl.Value("OrganisationAccount_$_bankacc_$_bank_$_org_$$Registration_ID");
            if (oBank_Registration_ID is TangentaTableClass.Registration_ID)
            {
                if (((TangentaTableClass.Registration_ID)oBank_Registration_ID).defined)
                {
                    this.m_Bank_Registration_ID = ((TangentaTableClass.Registration_ID)oBank_Registration_ID).val;
                }
            }

            object oTRR = m_tbl.Value("OrganisationAccount_$_bankacc_$$TRR");
            this.m_TRR = null;
            if (oTRR is TangentaTableClass.TRR)
            {
                if (((TangentaTableClass.TRR)oTRR).defined)
                {
                    this.m_TRR = ((TangentaTableClass.TRR)oTRR).val;
                }
            }

            object oBankAccount_ID = m_tbl.Value("OrganisationAccount_$_bankacc_$$ID");
            if (oBankAccount_ID is ID)
            {
                if (((ID)oBankAccount_ID).defined)
                {
                    this.m_BankAccount_ID = ((ID)oBankAccount_ID).val;
                }
            }
        }
 private void FillProperties(SQLTable m_tbl, long ID)
 {
     this.m_TermsOfPayment_ID = ID;
     this.m_Description = null;
     object oDescription = m_tbl.Value("Description");
     if (oDescription is TangentaTableClass.Description)
     {
         if (((TangentaTableClass.Description)oDescription).defined)
         {
             this.m_Description = ((TangentaTableClass.Description)oDescription).val;
         }
     }
 }