Table

LedgerAllocationBasisRule

Ledger allocation basis

Holds the basis definitions used by ledger allocation rules. Each record is identified by a basis ID and has a description, an active flag and an effective date range. It can also link to a date interval code. Source lines for each basis are stored in a separate table.

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

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BasisIdUnique ID of the allocation basis.String (20)
LedgerAllocationBasisNum
YesLedgerAllocationBasisRuleEntity
BasisActiveShows whether the basis is active (yes or no).Enum
NoYes (enum)
NoLedgerAllocationBasisRuleEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DateIntervalDate interval code that the basis uses, taken from the date interval codes.String
DateCode
NoLedgerPeriodCode.CodeLedgerAllocationBasisRuleEntity
DescriptionShort text describing the basis.String (60)
Description
NoLedgerAllocationBasisRuleEntity
EffectiveEndDateLast date on which the basis is valid.Date
EndDate
NoLedgerAllocationBasisRuleEntity
EffectiveStartDateFirst date on which the basis is valid.Date
StartDate
NoLedgerAllocationBasisRuleEntity
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 (1)

  • BasisIdxPrimary index

    BasisId

    Unique.

Relations (1)

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

  • LedgerPeriodCode → LedgerPeriodCode

    Join on DateInterval = LedgerPeriodCode.Code

    Many LedgerAllocationBasisRule records → zero or one LedgerPeriodCode record

Get this data out

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

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

Email sales@drdynamics.co.uk