Table

LedgerAllocationBasisRuleSource

Ledger allocation basis source

Holds the source lines of a ledger allocation basis. Each line is identified by the basis ID and a line number. A line gives either a main account or a financial dimension, with criteria and a company.

Table name
LedgerAllocationBasisRuleSource
Module
General ledger
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
LedgerAllocationRules
Primary index
BasisNumIdx
Replacement key
None
Key fields
BasisId, LineNum
Model
GeneralLedger

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BasisIdID of the allocation basis that this line belongs to.String (20)
LedgerAllocationBasisNum
YesLedgerAllocationBasisRule.BasisIdLedgerAllocationBasisRuleSourceEntity
LineNumNumber that orders the lines within a basis.Real
LineNum
NoLedgerAllocationBasisRuleSourceEntity
BasisCriteriaText of the criteria used to select source accounts or dimension values.String (1999)
DimensionsAccountCriteria
NoLedgerAllocationBasisRuleSourceEntity
BasisDimensionAttributePoints to the financial dimension that the line uses.Int64
RefRecId
NoDimensionAttribute.RecIdLedgerAllocationBasisRuleSourceEntity
CompanyCompany (legal entity) that the source line applies to.String
SelectableDataArea
NoLedgerAllocationBasisRuleSourceEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FieldSettingSays whether the line uses a main account or a financial dimension.Enum
LedgerAllocationAccountDimension (enum)
NoLedgerAllocationBasisRuleSourceEntity
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
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

Indexes (2)

Relations (4)

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

  • BasisDimensionAttribute → DimensionAttribute

    Join on BasisDimensionAttribute = DimensionAttribute.RecId

    Many LedgerAllocationBasisRuleSource records → zero or one DimensionAttribute record

  • DataArea → DataArea

    Join on Company = DataArea.id

    Many LedgerAllocationBasisRuleSource records → exactly one DataArea record

  • DataArea_Company → DataArea

    Join on Company = DataArea.id, DataArea.isVirtual = null

    Many LedgerAllocationBasisRuleSource records → exactly one DataArea record

  • LedgerAllocationBasisRule → LedgerAllocationBasisRule

    Join on BasisId = LedgerAllocationBasisRule.BasisId

    Many LedgerAllocationBasisRuleSource records → exactly one LedgerAllocationBasisRule record

Get this data out

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

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

Email sales@drdynamics.co.uk