Table

LedgerJournalTransAccrual

Ledger accruals

Links a ledger journal line to an accrual scheme. The key is the reference table ID plus the record ID of the journal line. It also holds the base amount, the start date and whether the accrual applies to the account or the offset account.

Table name
LedgerJournalTransAccrual
Module
Accounting foundation
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
LedgerAdvanced
Primary index
TableidRecid
Replacement key
TableidRecid
Key fields
RefTableid, RefRecid
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RefTableidID of the table that the reference record belongs to, here the journal lines table.Integer
RefTableId
NoLedgerJournalTransAccrualBiEntity
RefRecidSystem record ID of the journal line this accrual belongs to.Int64
RefRecId
NoLedgerJournalTransAccrualBiEntity
AccountOffsetaccountShows whether the accrual applies to the account or to the offset account of the journal line.Enum
AccountOffsetaccount (enum)
NoLedgerJournalTransAccrualBiEntity
AccrualIdThe accrual scheme used for this journal line.String
LedgerAccrualId
YesLedgerAccrualTable.IdLedgerJournalTransAccrualBiEntity
AmountCurThe base amount of the accrual.Real
AmountCur
YesLedgerJournalTransAccrualBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoLedgerJournalTransAccrualBiEntity
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
NoLedgerJournalTransAccrualBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoLedgerJournalTransAccrualBiEntity
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
TransDateThe start date of the accrual.Date
TransDate
YesLedgerJournalTransAccrualBiEntity

Indexes (1)

Relations (2)

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

  • LedgerAccrualTable → LedgerAccrualTable

    Join on AccrualId = LedgerAccrualTable.Id

    Many LedgerJournalTransAccrual records → exactly one LedgerAccrualTable record

  • LedgerJournalTrans → LedgerJournalTrans

    Join on RefTableid = LedgerJournalTrans.TableId, RefRecid = LedgerJournalTrans.RecId

    Zero or one LedgerJournalTransAccrual record → zero or one LedgerJournalTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk