Table
VendBankAccount
Vendor bank accounts
Holds the bank accounts of vendors. Each record is identified by the vendor account together with a bank account ID. It links to the vendor, bank group, currency, location and DUNS number. It also has many country-specific fields for bank details.
- Table name
VendBankAccount- Module
Accounts payable- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
AccountIdx- Replacement key
None- Key fields
VendAccount, AccountID- Model
Foundation
Fields (73)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
VendAccountThe vendor that owns this bank account. | String (20)VendAccount | Yes | VendTable.AccountNum | VendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntityand 1 more |
AccountIDCode that identifies the bank account within one vendor. | StringVendBankAccountId | Yes | VendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntityand 1 more | |
AccountNumThe account number at the bank. | String (48)BankAccount | No | VendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity | |
ActiveDateDate and time from which the bank account can be used. | UtcDateTimeVendBankAccountActiveDate | No | VendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity | |
BankAccountNameKana_JPAccount name written in kana characters, used for Japan. | String (40)BankAccountNameKana_JP | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
BankAccountTypeType of account, such as checking, savings or payroll. | EnumBankAccountType (enum) | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
BankCINSingle-character CIN code for the bank account. | String (1)BankCIN | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
BankCodeTypeType of routing number used for the bank, chosen from a fixed list of codes. | EnumBankCodeType (enum) | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
BankConstantSymbolPoints to a bank constant symbol record. | Int64RefRecId | No | BankConstantSymbol.RecId | VendBankAccountCDREntity |
BankContractAccountESR contract account number for the bank account, a payment slip reference used in Switzerland. | String (11)GiroContractAccount | No | VendBankAccountCDREntity | |
BankGroupIDThe bank group this account belongs to. | StringBankGroupId | No | BankGroup.BankGroupId | VendVendorBankAccountEntityVendBankAccountCDREntity |
BankIBANInternational Bank Account Number (IBAN) of the account. | String (48)BankIBAN | No | VendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity | |
BankInformationOriginShows whether the bank information came from a customer or a vendor. | EnumBankInformationOrigin (enum) | No | VendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity | |
CellularPhoneMobile phone number of the bank contact. | String (20)PhoneMobile | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
CommentsShort free text note about the bank account. | String (60)Description | No | VendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity | |
ContactPersonName of the contact person for this bank account. | String (60)PersonName | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
CorrAccount_WAccount number at the correspondent bank. | String (48)BankCorrAccount_W | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
CorrespBank_EECorrespondent bank, taken from the bank groups. Used for Estonia. | StringBankGroupId | No | BankGroup.BankGroupId | VendVendorBankAccountEntityVendBankAccountCDREntity |
CorrespondentBankAccount_LTAccount number at the correspondent bank. Used for Lithuania. | String (48)LtCorrespondentBankAccount | No | None | |
CorrespondentBankAddress_LTAddress of the correspondent bank. Used for Lithuania. | String (250)LtCorrespondentBankAddress | No | None | |
CorrespondentBankName_LTName of the correspondent bank. Used for Lithuania. | String (60)LtCorrespondentBankName | No | None | |
CorrespondentBankSWIFT_LTSWIFT code of the correspondent bank. Used for Lithuania. | String (20)LtCorrespondentBankSWIFT | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | VendBankAccountCDREntity | |
CurrencyCodeCurrency of the bank account. | String (3)CurrencyCode | No | Currency.CurrencyCode | VendVendorBankAccountEntityVendBankAccountCDREntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | VendBankAccountCDREntity | |
DirDunsNumberPoints to the DUNS number record linked to this bank account. | Int64LogisticsDunsNumberRecId | No | DirDunsNumber.RecId | VendBankAccountCDREntity |
EmailEmail address for the bank contact. | String (80)Email | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
ExchRateCross exchange rate stored with the bank account. | RealCrossExchRate | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
ExchRateRefReference text for the exchange rate. | String (11)ExchRateRef | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
ExpiryDateDate and time after which the bank account is no longer valid. | UtcDateTimeVendBankAccountExpiryDate | No | VendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity | |
FICreditorID_DKFI creditor ID used for payments. Used for Denmark. | String (8)FICreditorID_DK | No | VendBankAccountCDREntity | |
ForeignAccount_RUAccount number at a foreign bank. Used for Russia. | String (48)BankAccount | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
ForeignBank_RUForeign bank, taken from the bank groups. Used for Russia. | StringBankGroupId | No | BankGroup.BankGroupId | VendVendorBankAccountEntityVendBankAccountCDREntity |
ForeignSWIFT_RUSWIFT code of the foreign bank. Used for Russia. | String (20)SWIFTNo | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
IntermAccount_EEAccount number at the interim bank. Used for Estonia. | String (48)BankAccount | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
IntermBank_EEInterim bank, taken from the bank groups. Used for Estonia. | StringBankGroupId | No | BankGroup.BankGroupId | VendVendorBankAccountEntityVendBankAccountCDREntity |
IntermBankAccountIdAnother vendor bank account that acts as the intermediate bank account. | StringVendBankAccountId | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
IntermediateBankAccount_LTAccount number at the intermediate bank. Used for Lithuania. | String (48)LtIntermediateBankAccount | No | None | |
IntermediateBankAddress_LTAddress of the intermediate bank. Used for Lithuania. | String (250)LtIntermediateBankAddress | No | None | |
IntermediateBankName_LTName of the intermediary bank. Used for Lithuania. | String (60)LtIntermediateBankName | No | None | |
IntermediateBankSWIFT_LTAppears to hold the SWIFT code of the intermediate bank, used for Lithuania. The label and data type point to a declaration identifier, so the meaning is unclear.low confidence | String (20)LtIntrastatDeclarationId | No | None | |
LocationPoints to a location record linked to the bank account. | Int64LogisticsLocationRecId | No | LogisticsLocation.RecId | VendVendorBankAccountEntityVendBankAccountCDREntity |
LogisticsLocationPoints to the location record, such as the bank address, linked to the account. | Int64LogisticsLocationRecId | No | LogisticsLocation.RecId | VendBankAccountCDREntity |
LvDefaultBankYes/No flag showing whether this is the default account. Used for Latvia. | EnumLVDefaultBankNoYes (enum) | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | VendBankAccountCDREntity | |
MsgToBankFree text message to include for the bank. | String (255)BankMsgToBank | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
NameName of the bank account. | String (60)Name | No | VendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity | |
PagerPager number of the bank contact. | String (20)Pager | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
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 as the bank holds it for this IBAN. | String (60)PayeeName | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
PhoneTelephone number of the bank contact. | String (20)Phone | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
PhoneLocalTelephone extension number. | StringPhoneLocal | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
QRIBAN_CHQR-IBAN of the account. Used for Switzerland. | String (48)QRIBAN_CH | No | VendVendorBankAccountEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | VendBankAccountCDREntity | |
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 | VendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity | |
ReviewedYes/No flag. The label is empty, so the exact meaning is unclear; it may show whether the record was reviewed.low confidence | EnumNoYes (enum) | No | VendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity | |
SMSNumber or address used for text messages to the contact. | String (80)SMS | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
SpecificSymbolSpecific symbol code used with payments. | String (20)SpecificSymbol | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
SpecParameters_CHPayment specification parameter text. Used for Switzerland. | String (40)PaymSpecParameters | No | VendVendorBankAccountEntity | |
SWIFTNoSWIFT code of the bank. | String (20)SWIFTNo | No | VendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity | |
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 | VendVendorBankAccountEntityVendBankAccountCDREntity | |
TelexTelex number of the bank contact. | String (20)Telex | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
TransType_JPKind of bank transaction account, such as ordinary savings or checking. Used for Japan. | EnumVendBankTransType_JP (enum) | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
URLWeb address related to the bank account. | String (255)URL | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
VendDuns4NumberFour-character extension added to the DUNS number. | String (4)VendDUNS4Num | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
VendPaymentTextCodeText code used for payments to this account. | StringVendPaymTextCode | No | VendVendorBankAccountEntityVendBankAccountCDREntity | |
VersioningStateShows whether this version of the bank account is approved or still a draft. | EnumVendBankAccountVersioningState (enum) | No | VendBankAccountCDREntity | |
WorkflowStateStage of the approval workflow for a proposed change to the vendor bank account. | EnumVendBankAccountChangeProposalWorkflowState (enum) | No | VendBankAccountCDREntity |
Indexes (4)
AccountIdxPrimary indexUnique, alternate key.
RecIdIdxUnique, alternate key.
DirDunsNumberIdxNot unique.
BankConstantSymbolIdxNot unique.
Relations (13)
Each relation joins VendBankAccount to another table on the fields shown.
BankConstantSymbol→BankConstantSymbolJoin on
BankConstantSymbol = BankConstantSymbol.RecIdZero or one VendBankAccount record → exactly one BankConstantSymbol record
BankGroup→BankGroupJoin on
BankGroupID = BankGroup.BankGroupIdMany VendBankAccount records → zero or one BankGroup record
BankGroup_RU→BankGroupJoin on
BankGroupID = BankGroup.BankGroupIdMany VendBankAccount records → zero or one BankGroup record
BankGroupForeign_RU→BankGroupJoin on
BankGroup.BankType_RU = BankType_RU::Foreign,ForeignBank_RU = BankGroup.BankGroupIdMany VendBankAccount records → zero or one BankGroup record
CorrespBank_EE→BankGroupJoin on
CorrespBank_EE = BankGroup.BankGroupIdMany VendBankAccount records → zero or one BankGroup record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany VendBankAccount records → zero or one Currency record
DirDunsNumber→DirDunsNumberJoin on
DirDunsNumber = DirDunsNumber.RecIdMany VendBankAccount records → zero or one DirDunsNumber record
IntermBank_EE→BankGroupJoin on
IntermBank_EE = BankGroup.BankGroupIdMany VendBankAccount records → zero or one BankGroup record
IntermBankAccountId→VendBankAccountJoin on
IntermBankAccountId = VendBankAccount.AccountIDMany VendBankAccount records → zero or one VendBankAccount record
Location_FK→LogisticsLocationJoin on
Location = LogisticsLocation.RecIdMany VendBankAccount records → zero or one LogisticsLocation record
LogisticsLocation→LogisticsLocationJoin on
LogisticsLocation = LogisticsLocation.RecIdMany VendBankAccount records → zero or one LogisticsLocation record
VendBankAccount→VendBankAccountJoin on
VendAccount = VendBankAccount.VendAccount,AccountID = VendBankAccount.AccountIDCardinality not set in the metadata.
VendTable→VendTableJoin on
VendAccount = VendTable.AccountNumMany VendBankAccount records → exactly one VendTable record
Get this data out
Tables are not exposed directly. These public entities read from VendBankAccount; use one of them in Power BI, Power Platform or a data management project.
VendVendorBankAccountEntity· 48 fields from this tableVRMVendorBankAccountEntity· 12 fields from this tableVendBankAccountCDREntity· 57 fields from this tableVRMVendorBankAccountAttachmentEntity· 2 fields from this table
Need help with VendBankAccount in a report, an integration or a migration? Talk to Dr Dynamics.