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 descriptionType / EDT / enumMandatoryReferencesIn public entities
VendAccountThe vendor that owns this bank account.String (20)
VendAccount
YesVendTable.AccountNumVendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntityand 1 more
AccountIDCode that identifies the bank account within one vendor.String
VendBankAccountId
YesVendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntityand 1 more
AccountNumThe account number at the bank.String (48)
BankAccount
NoVendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity
ActiveDateDate and time from which the bank account can be used.UtcDateTime
VendBankAccountActiveDate
NoVendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity
BankAccountNameKana_JPAccount name written in kana characters, used for Japan.String (40)
BankAccountNameKana_JP
NoVendVendorBankAccountEntityVendBankAccountCDREntity
BankAccountTypeType of account, such as checking, savings or payroll.Enum
BankAccountType (enum)
NoVendVendorBankAccountEntityVendBankAccountCDREntity
BankCINSingle-character CIN code for the bank account.String (1)
BankCIN
NoVendVendorBankAccountEntityVendBankAccountCDREntity
BankCodeTypeType of routing number used for the bank, chosen from a fixed list of codes.Enum
BankCodeType (enum)
NoVendVendorBankAccountEntityVendBankAccountCDREntity
BankConstantSymbolPoints to a bank constant symbol record.Int64
RefRecId
NoBankConstantSymbol.RecIdVendBankAccountCDREntity
BankContractAccountESR contract account number for the bank account, a payment slip reference used in Switzerland.String (11)
GiroContractAccount
NoVendBankAccountCDREntity
BankGroupIDThe bank group this account belongs to.String
BankGroupId
NoBankGroup.BankGroupIdVendVendorBankAccountEntityVendBankAccountCDREntity
BankIBANInternational Bank Account Number (IBAN) of the account.String (48)
BankIBAN
NoVendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity
BankInformationOriginShows whether the bank information came from a customer or a vendor.Enum
BankInformationOrigin (enum)
NoVendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity
CellularPhoneMobile phone number of the bank contact.String (20)
PhoneMobile
NoVendVendorBankAccountEntityVendBankAccountCDREntity
CommentsShort free text note about the bank account.String (60)
Description
NoVendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity
ContactPersonName of the contact person for this bank account.String (60)
PersonName
NoVendVendorBankAccountEntityVendBankAccountCDREntity
CorrAccount_WAccount number at the correspondent bank.String (48)
BankCorrAccount_W
NoVendVendorBankAccountEntityVendBankAccountCDREntity
CorrespBank_EECorrespondent bank, taken from the bank groups. Used for Estonia.String
BankGroupId
NoBankGroup.BankGroupIdVendVendorBankAccountEntityVendBankAccountCDREntity
CorrespondentBankAccount_LTAccount number at the correspondent bank. Used for Lithuania.String (48)
LtCorrespondentBankAccount
NoNone
CorrespondentBankAddress_LTAddress of the correspondent bank. Used for Lithuania.String (250)
LtCorrespondentBankAddress
NoNone
CorrespondentBankName_LTName of the correspondent bank. Used for Lithuania.String (60)
LtCorrespondentBankName
NoNone
CorrespondentBankSWIFT_LTSWIFT code of the correspondent bank. Used for Lithuania.String (20)
LtCorrespondentBankSWIFT
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoVendBankAccountCDREntity
CurrencyCodeCurrency of the bank account.String (3)
CurrencyCode
NoCurrency.CurrencyCodeVendVendorBankAccountEntityVendBankAccountCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoVendBankAccountCDREntity
DirDunsNumberPoints to the DUNS number record linked to this bank account.Int64
LogisticsDunsNumberRecId
NoDirDunsNumber.RecIdVendBankAccountCDREntity
EmailEmail address for the bank contact.String (80)
Email
NoVendVendorBankAccountEntityVendBankAccountCDREntity
ExchRateCross exchange rate stored with the bank account.Real
CrossExchRate
NoVendVendorBankAccountEntityVendBankAccountCDREntity
ExchRateRefReference text for the exchange rate.String (11)
ExchRateRef
NoVendVendorBankAccountEntityVendBankAccountCDREntity
ExpiryDateDate and time after which the bank account is no longer valid.UtcDateTime
VendBankAccountExpiryDate
NoVendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity
FICreditorID_DKFI creditor ID used for payments. Used for Denmark.String (8)
FICreditorID_DK
NoVendBankAccountCDREntity
ForeignAccount_RUAccount number at a foreign bank. Used for Russia.String (48)
BankAccount
NoVendVendorBankAccountEntityVendBankAccountCDREntity
ForeignBank_RUForeign bank, taken from the bank groups. Used for Russia.String
BankGroupId
NoBankGroup.BankGroupIdVendVendorBankAccountEntityVendBankAccountCDREntity
ForeignSWIFT_RUSWIFT code of the foreign bank. Used for Russia.String (20)
SWIFTNo
NoVendVendorBankAccountEntityVendBankAccountCDREntity
IntermAccount_EEAccount number at the interim bank. Used for Estonia.String (48)
BankAccount
NoVendVendorBankAccountEntityVendBankAccountCDREntity
IntermBank_EEInterim bank, taken from the bank groups. Used for Estonia.String
BankGroupId
NoBankGroup.BankGroupIdVendVendorBankAccountEntityVendBankAccountCDREntity
IntermBankAccountIdAnother vendor bank account that acts as the intermediate bank account.String
VendBankAccountId
NoVendVendorBankAccountEntityVendBankAccountCDREntity
IntermediateBankAccount_LTAccount number at the intermediate bank. Used for Lithuania.String (48)
LtIntermediateBankAccount
NoNone
IntermediateBankAddress_LTAddress of the intermediate bank. Used for Lithuania.String (250)
LtIntermediateBankAddress
NoNone
IntermediateBankName_LTName of the intermediary bank. Used for Lithuania.String (60)
LtIntermediateBankName
NoNone
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 confidenceString (20)
LtIntrastatDeclarationId
NoNone
LocationPoints to a location record linked to the bank account.Int64
LogisticsLocationRecId
NoLogisticsLocation.RecIdVendVendorBankAccountEntityVendBankAccountCDREntity
LogisticsLocationPoints to the location record, such as the bank address, linked to the account.Int64
LogisticsLocationRecId
NoLogisticsLocation.RecIdVendBankAccountCDREntity
LvDefaultBankYes/No flag showing whether this is the default account. Used for Latvia.Enum
LVDefaultBank
NoYes (enum)
NoVendVendorBankAccountEntityVendBankAccountCDREntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoVendBankAccountCDREntity
MsgToBankFree text message to include for the bank.String (255)
BankMsgToBank
NoVendVendorBankAccountEntityVendBankAccountCDREntity
NameName of the bank account.String (60)
Name
NoVendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity
PagerPager number of the bank contact.String (20)
Pager
NoVendVendorBankAccountEntityVendBankAccountCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayeeNameLegal name of the payee as the bank holds it for this IBAN.String (60)
PayeeName
NoVendVendorBankAccountEntityVendBankAccountCDREntity
PhoneTelephone number of the bank contact.String (20)
Phone
NoVendVendorBankAccountEntityVendBankAccountCDREntity
PhoneLocalTelephone extension number.String
PhoneLocal
NoVendVendorBankAccountEntityVendBankAccountCDREntity
QRIBAN_CHQR-IBAN of the account. Used for Switzerland.String (48)
QRIBAN_CH
NoVendVendorBankAccountEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoVendBankAccountCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RegistrationNumRouting number of the bank.String (12)
BankRegNum
NoVendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity
ReviewedYes/No flag. The label is empty, so the exact meaning is unclear; it may show whether the record was reviewed.low confidenceEnum
NoYes (enum)
NoVendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity
SMSNumber or address used for text messages to the contact.String (80)
SMS
NoVendVendorBankAccountEntityVendBankAccountCDREntity
SpecificSymbolSpecific symbol code used with payments.String (20)
SpecificSymbol
NoVendVendorBankAccountEntityVendBankAccountCDREntity
SpecParameters_CHPayment specification parameter text. Used for Switzerland.String (40)
PaymSpecParameters
NoVendVendorBankAccountEntity
SWIFTNoSWIFT code of the bank.String (20)
SWIFTNo
NoVendVendorBankAccountEntityVRMVendorBankAccountEntityVendBankAccountCDREntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TeleFaxFax number of the bank contact.String (20)
TeleFax
NoVendVendorBankAccountEntityVendBankAccountCDREntity
TelexTelex number of the bank contact.String (20)
Telex
NoVendVendorBankAccountEntityVendBankAccountCDREntity
TransType_JPKind of bank transaction account, such as ordinary savings or checking. Used for Japan.Enum
VendBankTransType_JP (enum)
NoVendVendorBankAccountEntityVendBankAccountCDREntity
URLWeb address related to the bank account.String (255)
URL
NoVendVendorBankAccountEntityVendBankAccountCDREntity
VendDuns4NumberFour-character extension added to the DUNS number.String (4)
VendDUNS4Num
NoVendVendorBankAccountEntityVendBankAccountCDREntity
VendPaymentTextCodeText code used for payments to this account.String
VendPaymTextCode
NoVendVendorBankAccountEntityVendBankAccountCDREntity
VersioningStateShows whether this version of the bank account is approved or still a draft.Enum
VendBankAccountVersioningState (enum)
NoVendBankAccountCDREntity
WorkflowStateStage of the approval workflow for a proposed change to the vendor bank account.Enum
VendBankAccountChangeProposalWorkflowState (enum)
NoVendBankAccountCDREntity

Indexes (4)

Relations (13)

Each relation joins VendBankAccount to another table on the fields shown.

  • BankConstantSymbol → BankConstantSymbol

    Join on BankConstantSymbol = BankConstantSymbol.RecId

    Zero or one VendBankAccount record → exactly one BankConstantSymbol record

  • BankGroup → BankGroup

    Join on BankGroupID = BankGroup.BankGroupId

    Many VendBankAccount records → zero or one BankGroup record

  • BankGroup_RU → BankGroup

    Join on BankGroupID = BankGroup.BankGroupId

    Many VendBankAccount records → zero or one BankGroup record

  • BankGroupForeign_RU → BankGroup

    Join on BankGroup.BankType_RU = BankType_RU::Foreign, ForeignBank_RU = BankGroup.BankGroupId

    Many VendBankAccount records → zero or one BankGroup record

  • CorrespBank_EE → BankGroup

    Join on CorrespBank_EE = BankGroup.BankGroupId

    Many VendBankAccount records → zero or one BankGroup record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many VendBankAccount records → zero or one Currency record

  • DirDunsNumber → DirDunsNumber

    Join on DirDunsNumber = DirDunsNumber.RecId

    Many VendBankAccount records → zero or one DirDunsNumber record

  • IntermBank_EE → BankGroup

    Join on IntermBank_EE = BankGroup.BankGroupId

    Many VendBankAccount records → zero or one BankGroup record

  • IntermBankAccountId → VendBankAccount

    Join on IntermBankAccountId = VendBankAccount.AccountID

    Many VendBankAccount records → zero or one VendBankAccount record

  • Location_FK → LogisticsLocation

    Join on Location = LogisticsLocation.RecId

    Many VendBankAccount records → zero or one LogisticsLocation record

  • LogisticsLocation → LogisticsLocation

    Join on LogisticsLocation = LogisticsLocation.RecId

    Many VendBankAccount records → zero or one LogisticsLocation record

  • VendBankAccount → VendBankAccount

    Join on VendAccount = VendBankAccount.VendAccount, AccountID = VendBankAccount.AccountID

    Cardinality not set in the metadata.

  • VendTable → VendTable

    Join on VendAccount = VendTable.AccountNum

    Many 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.

Need help with VendBankAccount in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk