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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountOffsetaccountShows whether the accrual applies to the account or the offset account. | EnumAccountOffsetaccount (enum) | No | None | |
AccrualIdID of the accrual scheme. It points to the accrual scheme record. | StringLedgerAccrualId | Yes | LedgerAccrualTable.Id | None |
AmountCurBase amount of the accrual, in transaction currency. | RealAmountCur | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
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 | |
RefRecidSystem record ID of the related journal line history record. | Int64RefRecId | No | LedgerJournalTransHistory.RecId | None |
RefTableidID of the table that the reference points to. It relates to journal lines. | IntegerRefTableId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateStart date of the accrual. | DateTransDate | Yes | None |
Indexes (1)
TableidRecidUnique, alternate key.
Relations (3)
Each relation joins LedgerJournalTransAccrualHistory to another table on the fields shown.
LedgerAccrualTable→LedgerAccrualTableJoin on
AccrualId = LedgerAccrualTable.IdMany LedgerJournalTransAccrualHistory records → exactly one LedgerAccrualTable record
LedgerJournalTrans→LedgerJournalTransJoin on
RefTableid = LedgerJournalTrans.TableIdZero or one LedgerJournalTransAccrualHistory record → zero or one LedgerJournalTrans record
LedgerJournalTransHistory→LedgerJournalTransHistoryJoin on
RefRecid = LedgerJournalTransHistory.RecIdZero 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.