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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PostingProfileVendor posting profile that the record belongs to. | StringVendPostingProfile | Yes | VendLedger.PostingProfile | VendLedgerAccountsCDREntity |
AccountCodeShows whether the record applies to a table (single vendor), a group or all vendors. | EnumPostingProfileAccountCodeTableGroupAll (enum) | No | VendorPostingProfileLineEntityVendLedgerAccountsCDREntity | |
NumVendor account number or vendor group, depending on the account code. | String (20)PostingProfileAccountRelation | No | VendGroup.VendGroupVendTable.AccountNum | VendorPostingProfileLineEntityVendLedgerAccountsCDREntity |
ClearingLedgerDimensionAccount used for liquidity on payments. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | VendorPostingProfileLineEntityVendLedgerAccountsCDREntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | VendLedgerAccountsCDREntity | |
DimensionHierarchy_RURecord ID of the dimension set, used for Russia. | Int64DimensionHierarchyId | No | DimensionHierarchy.RecId | None |
FineLedgerDimension_BRLedger account used for fines, used for Brazil. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | VendorPostingProfileLineEntity |
InterestLedgerDimension_BRLedger account used for financial interest, used for Brazil. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | VendorPostingProfileLineEntity |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | VendLedgerAccountsCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchasingLedgerDimensionLedger account called Arrival, used for vendor invoices that are not yet approved. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | VendorPostingProfileLineEntityVendLedgerAccountsCDREntity |
PurchasingOffsetLedgerDimensionOffset ledger account for purchasing. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | VendorPostingProfileLineEntityVendLedgerAccountsCDREntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | VendLedgerAccountsCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SummaryLedgerDimensionSummary ledger account for the vendors covered by the posting profile. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | VendorPostingProfileLineEntityVendLedgerAccountsCDREntity |
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 | |
TaxTransferLedgerDimension_BRLedger account for tax transfer, used for Brazil. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | VendorPostingProfileLineEntity |
VATPrepaymentsLedgerDimensionLedger account for sales tax on prepayments. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | VendorPostingProfileLineEntityVendLedgerAccountsCDREntity |
Indexes (8)
ProfileAccountIdxPrimary indexReplacement keyPostingProfile,AccountCode,NumUnique, alternate key.
ClearingLedgerDimensionIdxNot unique.
VATPrepaymentsLedgerDimensionIdxNot unique.
SummaryLedgerDimensionIdxNot unique.
PurchasingOffsetLedgerDimensionIdxPurchasingOffsetLedgerDimensionNot unique.
PurchasingLedgerDimensionIdxNot unique.
DimensionHierarchyIdx_RUNot unique.
DimensionAttributeValueCombinationIdxNot unique.
Relations (12)
Each relation joins VendLedgerAccounts to another table on the fields shown.
ClearingLedgerDimension→DimensionAttributeValueCombinationJoin on
ClearingLedgerDimension = DimensionAttributeValueCombination.RecIdMany VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record
DimensionHierarchy_RU→DimensionHierarchyJoin on
DimensionHierarchy_RU = DimensionHierarchy.RecIdMany VendLedgerAccounts records → zero or one DimensionHierarchy record
FineLedgerDimension_BR→DimensionAttributeValueCombinationJoin on
FineLedgerDimension_BR = DimensionAttributeValueCombination.RecIdMany VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record
InterestLedgerDimension_BR→DimensionAttributeValueCombinationJoin on
InterestLedgerDimension_BR = DimensionAttributeValueCombination.RecIdMany VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record
PurchasingLedgerDimension→DimensionAttributeValueCombinationJoin on
PurchasingLedgerDimension = DimensionAttributeValueCombination.RecIdMany VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record
PurchasingOffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
PurchasingOffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record
SummaryLedgerDimension→DimensionAttributeValueCombinationJoin on
SummaryLedgerDimension = DimensionAttributeValueCombination.RecIdMany VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record
TaxTransferLedgerDimension_BR→DimensionAttributeValueCombinationJoin on
TaxTransferLedgerDimension_BR = DimensionAttributeValueCombination.RecIdMany VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record
VATPrepaymentsLedgerDimension→DimensionAttributeValueCombinationJoin on
VATPrepaymentsLedgerDimension = DimensionAttributeValueCombination.RecIdMany VendLedgerAccounts records → zero or one DimensionAttributeValueCombination record
VendGroup→VendGroupJoin on
AccountCode = TableGroupAll::GroupId,Num = VendGroup.VendGroupMany VendLedgerAccounts records → zero or one VendGroup record
VendLedger→VendLedgerJoin on
PostingProfile = VendLedger.PostingProfileMany VendLedgerAccounts records → exactly one VendLedger record
VendTable→VendTableJoin on
AccountCode = TableGroupAll::Table,Num = VendTable.AccountNumMany 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.
VendorPostingProfileLineEntity· 10 fields from this tableVendLedgerAccountsCDREntity· 11 fields from this table
Need help with VendLedgerAccounts in a report, an integration or a migration? Talk to Dr Dynamics.