Table
LedgerArchiveTrans
Ledger archive transactions
Holds one record per ledger archive request. It identifies the ledger, company, fiscal calendar and fiscal year, and shows the archive status. It also records the user and date.
- Table name
LedgerArchiveTrans- Module
General ledger- Table group
TransactionHeader- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
GeneralLedger
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ArchiveDateDate linked to the archive. | DateTransDate | No | None | |
ArchiveUserIdID of the user linked to the archive. | StringUserId | No | None | |
FiscalCalendarPoints to the fiscal calendar used. | Int64FiscalCalendarRecId | Yes | FiscalCalendar.RecId | None |
FiscalCalendarYearPoints to the fiscal year being archived. | Int64FiscalCalendarYearRecId | Yes | FiscalCalendarYear.RecId | None |
LedgerPoints to the ledger record. | Int64LedgerRecId | Yes | Ledger.RecId | None |
LedgerDataAreaIdCompany (legal entity) that the archive applies to. | StringCompanyId | Yes | 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 | |
StatusArchive status, such as not ready, ready, archiving, complete, error or reversed. | EnumLedgerArchiveStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
FiscalIdxFiscalCalendar,Ledger,FiscalCalendarYear,LedgerDataAreaIdUnique, alternate key.
StatusIdxFiscalCalendarYear,LedgerDataAreaId,StatusUnique, alternate key.
Relations (7)
Each relation joins LedgerArchiveTrans to another table on the fields shown.
FiscalCalendar→FiscalCalendarJoin on
FiscalCalendar = FiscalCalendar.RecIdMany LedgerArchiveTrans records → zero or one FiscalCalendar record
FiscalCalendarYear→FiscalCalendarYearJoin on
FiscalCalendarYear = FiscalCalendarYear.RecIdMany LedgerArchiveTrans records → zero or one FiscalCalendarYear record
Ledger→LedgerJoin on
Ledger = Ledger.RecIdMany LedgerArchiveTrans records → zero or one Ledger record
MyLegalEntities→MyLegalEntitiesJoin on
LedgerDataAreaId = MyLegalEntities.DataAreaMany LedgerArchiveTrans records → zero or one MyLegalEntities record
ArchiveServiceJobProgress→ArchiveServiceJobProgressJoin on
RecId = ArchiveServiceJobProgress.SourceLinkRefRecId,TableId = ArchiveServiceJobProgress.SourceLinkRefTableIdZero or one LedgerArchiveTrans record → zero or one ArchiveServiceJobProgress record
ArchiveServiceJobDetailsView→ArchiveServiceJobDetailsViewJoin on
RecId = ArchiveServiceJobDetailsView.SourceLinkRecId,TableId = ArchiveServiceJobDetailsView.SourceLinkTableIdZero or one LedgerArchiveTrans record → zero or one ArchiveServiceJobDetailsView record
LedgerArchiveTransStatusView→LedgerArchiveTransStatusViewJoin on
RecId = LedgerArchiveTransStatusView.LedgerArchiveTransRecIdZero or one LedgerArchiveTrans record → zero or one LedgerArchiveTransStatusView record
Get this data out
No public entity reads from LedgerArchiveTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with LedgerArchiveTrans in a report, an integration or a migration? Talk to Dr Dynamics.