Table
CustBankAccount
Customer bank accounts
Holds bank accounts that belong to customers. Each record is identified by the customer account together with a bank account ID. It stores bank details such as account number, IBAN, SWIFT code and contact information. It also has country-specific fields for Russia, Lithuania, Mexico and Switzerland.
- Table name
CustBankAccount- Module
Accounts receivable- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
AccountIdx- Replacement key
AccountIdx- Key fields
CustAccount, AccountID- Model
Foundation
Fields (53)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustAccountCustomer who owns this bank account. Points to the customer record. | String (20)CustAccount | Yes | CustTable.AccountNum | CustomerBankAccountEntityCustBankAccountCDREntity |
AccountIDIdentifier of the bank account for this customer. | StringCustBankAccountId | Yes | CustomerBankAccountEntityCustBankAccountCDREntity | |
AccountNumThe bank account number. | String (48)BankAccount | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
BankAccountTypeType of bank account, such as checking, savings or payroll. | EnumBankAccountType (enum) | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
BankCINOne-character CIN code linked to the bank account. | String (1)BankCIN | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
BankCodeTypeType of routing number used for the bank. | EnumBankCodeType (enum) | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
BankConstantSymbolPoints to a constant symbol record for the bank account. | Int64RefRecId | No | BankConstantSymbol.RecId | CustBankAccountCDREntity |
BankContractAccountESR contract account number for the bank account. | String (11)GiroContractAccount | No | CustomerBankAccountEntityCustomerBankAccountEntityCustBankAccountCDREntity | |
BankGroupIdBank group that the bank belongs to. | StringBankGroupId | No | BankGroup.BankGroupId | CustomerBankAccountEntityCustBankAccountCDREntity |
BankIBANInternational Bank Account Number (IBAN) of the account. | String (48)BankIBAN | No | CustomerBankAccountEntityCustBankAccountCDREntityBusinessDocumentSalesInvoiceBaseEntity | |
BankSortCode_RUBank sort code, used for Russia. | StringBankSortCode | No | CustBankAccountCDREntity | |
CellularPhoneMobile phone number of the bank contact. | String (20)PhoneMobile | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
ContactPersonName of the contact person at the bank. | String (60)PersonName | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
CorrAccount_WCorrespondent bank account number. | String (48)BankCorrAccount_W | No | CustBankAccountCDREntity | |
CorrespondentBankAccount_LTAccount number at the correspondent bank, used for Lithuania. | String (48)LtCorrespondentBankAccount | No | CustBankAccountCDREntity | |
CorrespondentBankAddress_LTAddress of the correspondent bank, used for Lithuania. | String (250)LtCorrespondentBankAddress | No | CustBankAccountCDREntity | |
CorrespondentBankName_LTName of the correspondent bank, used for Lithuania. | String (60)LtCorrespondentBankName | No | CustBankAccountCDREntity | |
CorrespondentBankSWIFT_LTSWIFT code of the correspondent bank, used for Lithuania. | String (20)LtCorrespondentBankSWIFT | No | CustBankAccountCDREntity | |
CurrencyCodeCurrency of the bank account. Points to a currency record. | String (3)CurrencyCode | No | Currency.CurrencyCode | CustomerBankAccountEntityCustBankAccountCDREntity |
CustPaymentTextCodeText code used for customer payments on this account. | StringCustPaymTextCode | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | CustBankAccountCDREntity | |
EmailEmail address of the bank contact. | String (80)Email | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
ExchRateCross exchange rate stored for the account. | RealCrossExchRate | No | CustBankAccountCDREntity | |
ExchRateRefReference for the exchange rate. | String (11)ExchRateRef | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
ForeignAccount_RUForeign bank account number, used for Russia. | String (48)BankAccount | No | CustBankAccountCDREntity | |
ForeignBank_RUBank group of the foreign bank, used for Russia. | StringBankGroupId | No | BankGroup.BankGroupId | CustBankAccountCDREntity |
ForeignSWIFT_RUSWIFT code of the foreign bank, used for Russia. | String (20)SWIFTNo | No | CustBankAccountCDREntity | |
IntermediateBankAccount_LTAccount number at the intermediary bank, used for Lithuania. | String (48)LtIntermediateBankAccount | No | CustBankAccountCDREntity | |
IntermediateBankAddress_LTAddress of the intermediary bank, used for Lithuania. | String (250)LtIntermediateBankAddress | No | CustBankAccountCDREntity | |
IntermediateBankName_LTName of the intermediary bank, used for Lithuania. | String (60)LtIntermediateBankName | No | CustBankAccountCDREntity | |
IntermediateBankSWIFT_LTSWIFT code of the intermediary bank, used for Lithuania. | String (20)LtIntermediateBankSWIFT | No | CustBankAccountCDREntity | |
LocationAddress location linked to this bank account. Points to a location record. | Int64LogisticsLocationRecId | No | LogisticsLocation.RecId | CustomerBankAccountEntityCustBankAccountCDREntity |
LvDefaultBankYes/no flag that marks the default bank account. | EnumLVDefaultBankNoYes (enum) | No | CustBankAccountCDREntity | |
MsgToBankFree-text message addressed to the bank. | String (255)BankMsgToBank | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
NameName of the bank account. | String (60)Name | No | CustomerBankAccountEntityCustBankAccountCDREntityBusinessDocumentSalesInvoiceBaseEntity | |
PagerPager number of the bank contact. | String (20)Pager | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PayeeNameLegal name of the payee that the bank holds for the IBAN. | String (60)PayeeName | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
PhoneTelephone number of the bank contact. | String (20)Phone | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
PhoneLocalTelephone extension of the bank contact. | StringPhoneLocal | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
QRIBAN_CHQR-IBAN of the account, used for Switzerland. | String (48)QRIBAN_CH | No | CustomerBankAccountEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | CustBankAccountCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RegistrationNumRouting number of the bank. | String (12)BankRegNum | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
Rfc_MXMexican RFC tax registration number linked to the bank, used for Mexico. | String (13)Rfc_MX | No | CustBankAccountCDREntity | |
SMSNumber or address used for text messages to the bank contact. | String (80)SMS | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
SpecificSymbolSpecific symbol code stored with the bank account. | String (20)SpecificSymbol | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
SWIFTNoSWIFT code of the bank. | String (20)SWIFTNo | No | CustomerBankAccountEntityCustBankAccountCDREntityBusinessDocumentSalesInvoiceBaseEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TeleFaxFax number of the bank contact. | String (20)TeleFax | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
TelexTelex number of the bank contact. | String (20)Telex | No | CustomerBankAccountEntityCustBankAccountCDREntity | |
URLWebsite address of the bank. | String (255)URL | No | CustomerBankAccountEntityCustBankAccountCDREntity |
Indexes (2)
AccountIdxPrimary indexReplacement keyUnique, alternate key.
BankConstantSymbolIdxNot unique.
Relations (7)
Each relation joins CustBankAccount to another table on the fields shown.
BankConstantSymbol→BankConstantSymbolJoin on
BankConstantSymbol = BankConstantSymbol.RecIdZero or one CustBankAccount record → exactly one BankConstantSymbol record
BankGroup→BankGroupJoin on
BankGroupId = BankGroup.BankGroupIdMany CustBankAccount records → zero or one BankGroup record
BankGroupForeign_RU→BankGroupJoin on
BankGroup.BankType_RU = BankType_RU::Foreign,ForeignBank_RU = BankGroup.BankGroupIdMany CustBankAccount records → zero or one BankGroup record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany CustBankAccount records → zero or one Currency record
CustBankAccount→CustBankAccountJoin on
AccountID = CustBankAccount.AccountID,CustAccount = CustBankAccount.CustAccountCardinality not set in the metadata.
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany CustBankAccount records → exactly one CustTable record
Location_FK→LogisticsLocationJoin on
Location = LogisticsLocation.RecIdMany CustBankAccount records → zero or one LogisticsLocation record
Get this data out
Tables are not exposed directly. These public entities read from CustBankAccount; use one of them in Power BI, Power Platform or a data management project.
CustomerBankAccountEntity· 31 fields from this tableCustBankAccountCDREntity· 48 fields from this tableBusinessDocumentSalesInvoiceBaseEntity· 3 fields from this table
Need help with CustBankAccount in a report, an integration or a migration? Talk to Dr Dynamics.