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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BasisIdID of the allocation basis that this line belongs to. | String (20)LedgerAllocationBasisNum | Yes | LedgerAllocationBasisRule.BasisId | LedgerAllocationBasisRuleSourceEntity |
LineNumNumber that orders the lines within a basis. | RealLineNum | No | LedgerAllocationBasisRuleSourceEntity | |
BasisCriteriaText of the criteria used to select source accounts or dimension values. | String (1999)DimensionsAccountCriteria | No | LedgerAllocationBasisRuleSourceEntity | |
BasisDimensionAttributePoints to the financial dimension that the line uses. | Int64RefRecId | No | DimensionAttribute.RecId | LedgerAllocationBasisRuleSourceEntity |
CompanyCompany (legal entity) that the source line applies to. | StringSelectableDataArea | No | LedgerAllocationBasisRuleSourceEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FieldSettingSays whether the line uses a main account or a financial dimension. | EnumLedgerAllocationAccountDimension (enum) | No | LedgerAllocationBasisRuleSourceEntity | |
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 (2)
BasisNumIdxPrimary indexUnique.
DimensionAttributeNot unique.
Relations (4)
Each relation joins LedgerAllocationBasisRuleSource to another table on the fields shown.
BasisDimensionAttribute→DimensionAttributeJoin on
BasisDimensionAttribute = DimensionAttribute.RecIdMany LedgerAllocationBasisRuleSource records → zero or one DimensionAttribute record
DataArea→DataAreaJoin on
Company = DataArea.idMany LedgerAllocationBasisRuleSource records → exactly one DataArea record
DataArea_Company→DataAreaJoin on
Company = DataArea.id,DataArea.isVirtual = nullMany LedgerAllocationBasisRuleSource records → exactly one DataArea record
LedgerAllocationBasisRule→LedgerAllocationBasisRuleJoin on
BasisId = LedgerAllocationBasisRule.BasisIdMany 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.
LedgerAllocationBasisRuleSourceEntity· 6 fields from this table
Need help with LedgerAllocationBasisRuleSource in a report, an integration or a migration? Talk to Dr Dynamics.