Table
LedgerAccrualTable
Accrual schemes
Holds accrual schemes. Each scheme has an ID, a description, debit and credit accounts and settings for the period, posting frequency and voucher. It can link to a period allocation key and a number sequence.
- Table name
LedgerAccrualTable- Module
General ledger- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
LedgerAdvanced- Primary index
AccrualId- Replacement key
None- Key fields
Id- Model
Foundation
Fields (20)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
IdCode that identifies the accrual scheme. It is the key of the table. | StringLedgerAccrualId | Yes | LedgerAccrualSchemesEntity | |
AllocateKeyIdPeriod allocation key that the scheme uses. It points to the period allocation key table. | StringLedgerAllocateKeyId | No | LedgerAllocateKey.Key | LedgerAccrualSchemesEntity |
CreditLedgerDimensionLink to the account combination used on the credit side. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | LedgerAccrualSchemesEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DebitLedgerDimensionLink to the account combination used on the debit side. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | LedgerAccrualSchemesEntity |
DescriptionDescription of the accrual scheme. | String (60)Description | No | LedgerAccrualSchemesEntity | |
NumberSequenceTableLink to the number sequence code linked to the scheme. | Int64LedgerNumberSequence | No | NumberSequenceTable.RecId | LedgerAccrualSchemesEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PeriodBasis of the accrual: calendar, fiscal or allocation key. | EnumLedgerAccrualPeriod (enum) | No | LedgerAccrualSchemesEntity | |
PeriodLengthNumber of occurrences in each period. | IntegerLedgerAccrualPeriodLength | No | LedgerAccrualSchemesEntity | |
PeriodTypeType of period used, such as yearly, monthly, quarterly or daily. | EnumLedgerAccrualPeriodTypeAssetAccrual (enum) | No | LedgerAccrualSchemesEntity | |
PostingDateWhere in the week, month or quarter the posting falls: beginning, middle or end. | EnumLedgerAccrualPostingDatePrimoMedioUltimo (enum) | No | LedgerAccrualSchemesEntity | |
PostingFreqHow often transactions are posted: by day, week, month or quarter. | EnumDayWeekMonth (enum) | No | LedgerAccrualSchemesEntity | |
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 | |
TransTxtText for the transactions of the scheme. | String (60)TransTxt | No | LedgerAccrualSchemesEntity | |
ValuePostedSays whether month and quarter values are spread evenly or by number of days. | EnumLedgerAccrualEvenScale (enum) | No | LedgerAccrualSchemesEntity | |
VoucherVoucher handling option for the accrual transactions. | EnumLedgerAccrualVoucher (enum) | Yes | LedgerAccrualSchemesEntity |
Indexes (3)
AccrualIdPrimary indexUnique, alternate key.
FK_DimensionAttributeValueCombination_LeNot unique.
FK_DimensionAttributeValueCombination1Not unique.
Relations (4)
Each relation joins LedgerAccrualTable to another table on the fields shown.
CreditLedgerDimension→DimensionAttributeValueCombinationJoin on
CreditLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerAccrualTable records → exactly one DimensionAttributeValueCombination record
DebitLedgerDimension→DimensionAttributeValueCombinationJoin on
DebitLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerAccrualTable records → exactly one DimensionAttributeValueCombination record
LedgerAllocateKey→LedgerAllocateKeyJoin on
AllocateKeyId = LedgerAllocateKey.KeyMany LedgerAccrualTable records → zero or one LedgerAllocateKey record
NumberSequenceTable→NumberSequenceTableJoin on
NumberSequenceTable = NumberSequenceTable.RecIdMany LedgerAccrualTable records → zero or one NumberSequenceTable record
Get this data out
Tables are not exposed directly. These public entities read from LedgerAccrualTable; use one of them in Power BI, Power Platform or a data management project.
LedgerAccrualSchemesEntity· 14 fields from this table
Need help with LedgerAccrualTable in a report, an integration or a migration? Talk to Dr Dynamics.