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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BasisIdUnique ID of the allocation basis. | String (20)LedgerAllocationBasisNum | Yes | LedgerAllocationBasisRuleEntity | |
BasisActiveShows whether the basis is active (yes or no). | EnumNoYes (enum) | No | LedgerAllocationBasisRuleEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DateIntervalDate interval code that the basis uses, taken from the date interval codes. | StringDateCode | No | LedgerPeriodCode.Code | LedgerAllocationBasisRuleEntity |
DescriptionShort text describing the basis. | String (60)Description | No | LedgerAllocationBasisRuleEntity | |
EffectiveEndDateLast date on which the basis is valid. | DateEndDate | No | LedgerAllocationBasisRuleEntity | |
EffectiveStartDateFirst date on which the basis is valid. | DateStartDate | No | LedgerAllocationBasisRuleEntity | |
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 | |
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 |
Indexes (1)
BasisIdxPrimary indexUnique.
Relations (1)
Each relation joins LedgerAllocationBasisRule to another table on the fields shown.
LedgerPeriodCode→LedgerPeriodCodeJoin on
DateInterval = LedgerPeriodCode.CodeMany 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.
LedgerAllocationBasisRuleEntity· 6 fields from this table
Need help with LedgerAllocationBasisRule in a report, an integration or a migration? Talk to Dr Dynamics.