Table

LedgerJournalTransAccrualHistory

LedgerJournalTransAccrual history data.

Stores historical accrual data for ledger journal lines. It links to an accrual scheme and to the matching journal line history record. It has no defined key.

Table name
LedgerJournalTransAccrualHistory
Module
Accounting foundation
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
LedgerAdvanced
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountOffsetaccountShows whether the accrual applies to the account or the offset account.Enum
AccountOffsetaccount (enum)
NoNone
AccrualIdID of the accrual scheme. It points to the accrual scheme record.String
LedgerAccrualId
YesLedgerAccrualTable.IdNone
AmountCurBase amount of the accrual, in transaction currency.Real
AmountCur
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
RefRecidSystem record ID of the related journal line history record.Int64
RefRecId
NoLedgerJournalTransHistory.RecIdNone
RefTableidID of the table that the reference points to. It relates to journal lines.Integer
RefTableId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateStart date of the accrual.Date
TransDate
YesNone

Indexes (1)

Relations (3)

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

  • LedgerAccrualTable → LedgerAccrualTable

    Join on AccrualId = LedgerAccrualTable.Id

    Many LedgerJournalTransAccrualHistory records → exactly one LedgerAccrualTable record

  • LedgerJournalTrans → LedgerJournalTrans

    Join on RefTableid = LedgerJournalTrans.TableId

    Zero or one LedgerJournalTransAccrualHistory record → zero or one LedgerJournalTrans record

  • LedgerJournalTransHistory → LedgerJournalTransHistory

    Join on RefRecid = LedgerJournalTransHistory.RecId

    Zero or one LedgerJournalTransAccrualHistory record → zero or one LedgerJournalTransHistory record

Get this data out

No public entity reads from LedgerJournalTransAccrualHistory. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk