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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
VendAccountVendor account this default applies to. Points to the vendor record. | String (20)VendAccount | Yes | VendTable.AccountNum | None |
PositionPurpose not clear from the metadata.low confidence | IntegerPositiveNumber | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DimensionLedgerAccountTypeType of the main account, such as profit and loss, revenue, expense or balance sheet. | EnumDimensionLedgerAccountType (enum) | No | None | |
IsDefaultYes/No flag marking the row as a default. | EnumNoYes (enum) | No | None | |
LedgerDimensionMain account, stored as a reference to a dimension code combination. | Int64DimensionDynamicDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
LedgerJournalACTypeType of account, such as ledger, customer, vendor, project or bank. | EnumLedgerJournalACType (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VendGroupVendor group this default applies to. Points to the vendor group record. | StringVendGroupId | No | VendGroup.VendGroup | None |
Indexes (3)
VendAccountpositionIdxPrimary indexUnique, alternate key.
VendGroupPositionIdxUnique.
LedgerDimensionIdxNot unique.
Relations (3)
Each relation joins VendDefaultAccounts to another table on the fields shown.
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany VendDefaultAccounts records → zero or one DimensionAttributeValueCombination record
VendGroup→VendGroupJoin on
VendGroup = VendGroup.VendGroupMany VendDefaultAccounts records → zero or one VendGroup record
VendTable→VendTableJoin on
VendAccount = VendTable.AccountNumMany 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.