Table

VendDefaultAccounts

Default ledger accounts for vendors

Holds default ledger accounts for vendors. Each row is keyed by vendor account and position. It links to the vendor, the vendor group and the ledger dimension combination used as the account.

Table name
VendDefaultAccounts
Module
Accounts payable
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
VendAccountpositionIdx
Replacement key
None
Key fields
VendAccount, Position
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
VendAccountVendor account this default applies to. Points to the vendor record.String (20)
VendAccount
YesVendTable.AccountNumNone
PositionPurpose not clear from the metadata.low confidenceInteger
PositiveNumber
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DimensionLedgerAccountTypeType of the main account, such as profit and loss, revenue, expense or balance sheet.Enum
DimensionLedgerAccountType (enum)
NoNone
IsDefaultYes/No flag marking the row as a default.Enum
NoYes (enum)
NoNone
LedgerDimensionMain account, stored as a reference to a dimension code combination.Int64
DimensionDynamicDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
LedgerJournalACTypeType of account, such as ledger, customer, vendor, project or bank.Enum
LedgerJournalACType (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendGroupVendor group this default applies to. Points to the vendor group record.String
VendGroupId
NoVendGroup.VendGroupNone

Indexes (3)

Relations (3)

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

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many VendDefaultAccounts records → zero or one DimensionAttributeValueCombination record

  • VendGroup → VendGroup

    Join on VendGroup = VendGroup.VendGroup

    Many VendDefaultAccounts records → zero or one VendGroup record

  • VendTable → VendTable

    Join on VendAccount = VendTable.AccountNum

    Many VendDefaultAccounts records → exactly one VendTable record

Get this data out

No public entity reads from VendDefaultAccounts. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk