Table

VendLedgerAccounts

Vendor ledger accounts

Holds the ledger accounts set for each vendor posting profile. A record applies to one vendor, one vendor group or all vendors, as set by the account code. The key is posting profile, account code and number. Fields point to dimension combinations for accounts such as summary, offset and liquidity.

Table name
VendLedgerAccounts
Module
Accounts payable
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
ProfileAccountIdx
Replacement key
ProfileAccountIdx
Key fields
PostingProfile, AccountCode, Num
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PostingProfileVendor posting profile that the record belongs to.String
VendPostingProfile
YesVendLedger.PostingProfileVendLedgerAccountsCDREntity
AccountCodeShows whether the record applies to a table (single vendor), a group or all vendors.Enum
PostingProfileAccountCode
TableGroupAll (enum)
NoVendorPostingProfileLineEntityVendLedgerAccountsCDREntity
NumVendor account number or vendor group, depending on the account code.String (20)
PostingProfileAccountRelation
NoVendGroup.VendGroupVendTable.AccountNumVendorPostingProfileLineEntityVendLedgerAccountsCDREntity
ClearingLedgerDimensionAccount used for liquidity on payments.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdVendorPostingProfileLineEntityVendLedgerAccountsCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoVendLedgerAccountsCDREntity
DimensionHierarchy_RURecord ID of the dimension set, used for Russia.Int64
DimensionHierarchyId
NoDimensionHierarchy.RecIdNone
FineLedgerDimension_BRLedger account used for fines, used for Brazil.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdVendorPostingProfileLineEntity
InterestLedgerDimension_BRLedger account used for financial interest, used for Brazil.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdVendorPostingProfileLineEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoVendLedgerAccountsCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchasingLedgerDimensionLedger account called Arrival, used for vendor invoices that are not yet approved.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdVendorPostingProfileLineEntityVendLedgerAccountsCDREntity
PurchasingOffsetLedgerDimensionOffset ledger account for purchasing.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdVendorPostingProfileLineEntityVendLedgerAccountsCDREntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoVendLedgerAccountsCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SummaryLedgerDimensionSummary ledger account for the vendors covered by the posting profile.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdVendorPostingProfileLineEntityVendLedgerAccountsCDREntity
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
TaxTransferLedgerDimension_BRLedger account for tax transfer, used for Brazil.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdVendorPostingProfileLineEntity
VATPrepaymentsLedgerDimensionLedger account for sales tax on prepayments.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdVendorPostingProfileLineEntityVendLedgerAccountsCDREntity

Indexes (8)

Relations (12)

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

  • ClearingLedgerDimension → DimensionAttributeValueCombination

    Join on ClearingLedgerDimension = DimensionAttributeValueCombination.RecId

    Many VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record

  • DimensionHierarchy_RU → DimensionHierarchy

    Join on DimensionHierarchy_RU = DimensionHierarchy.RecId

    Many VendLedgerAccounts records → zero or one DimensionHierarchy record

  • FineLedgerDimension_BR → DimensionAttributeValueCombination

    Join on FineLedgerDimension_BR = DimensionAttributeValueCombination.RecId

    Many VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record

  • InterestLedgerDimension_BR → DimensionAttributeValueCombination

    Join on InterestLedgerDimension_BR = DimensionAttributeValueCombination.RecId

    Many VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record

  • PurchasingLedgerDimension → DimensionAttributeValueCombination

    Join on PurchasingLedgerDimension = DimensionAttributeValueCombination.RecId

    Many VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record

  • PurchasingOffsetLedgerDimension → DimensionAttributeValueCombination

    Join on PurchasingOffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record

  • SummaryLedgerDimension → DimensionAttributeValueCombination

    Join on SummaryLedgerDimension = DimensionAttributeValueCombination.RecId

    Many VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record

  • TaxTransferLedgerDimension_BR → DimensionAttributeValueCombination

    Join on TaxTransferLedgerDimension_BR = DimensionAttributeValueCombination.RecId

    Many VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record

  • VATPrepaymentsLedgerDimension → DimensionAttributeValueCombination

    Join on VATPrepaymentsLedgerDimension = DimensionAttributeValueCombination.RecId

    Many VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record

  • VendGroup → VendGroup

    Join on AccountCode = TableGroupAll::GroupId, Num = VendGroup.VendGroup

    Many VendLedgerAccounts records → zero or one VendGroup record

  • VendLedger → VendLedger

    Join on PostingProfile = VendLedger.PostingProfile

    Many VendLedgerAccounts records → exactly one VendLedger record

  • VendTable → VendTable

    Join on AccountCode = TableGroupAll::Table, Num = VendTable.AccountNum

    Many VendLedgerAccounts records → zero or one VendTable record

Get this data out

Tables are not exposed directly. These public entities read from VendLedgerAccounts; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk