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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ArchiveDateDate linked to the archive.Date
TransDate
NoNone
ArchiveUserIdID of the user linked to the archive.String
UserId
NoNone
FiscalCalendarPoints to the fiscal calendar used.Int64
FiscalCalendarRecId
YesFiscalCalendar.RecIdNone
FiscalCalendarYearPoints to the fiscal year being archived.Int64
FiscalCalendarYearRecId
YesFiscalCalendarYear.RecIdNone
LedgerPoints to the ledger record.Int64
LedgerRecId
YesLedger.RecIdNone
LedgerDataAreaIdCompany (legal entity) that the archive applies to.String
CompanyId
YesNone
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
StatusArchive status, such as not ready, ready, archiving, complete, error or reversed.Enum
LedgerArchiveStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (7)

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

  • FiscalCalendar → FiscalCalendar

    Join on FiscalCalendar = FiscalCalendar.RecId

    Many LedgerArchiveTrans records → zero or one FiscalCalendar record

  • FiscalCalendarYear → FiscalCalendarYear

    Join on FiscalCalendarYear = FiscalCalendarYear.RecId

    Many LedgerArchiveTrans records → zero or one FiscalCalendarYear record

  • Ledger → Ledger

    Join on Ledger = Ledger.RecId

    Many LedgerArchiveTrans records → zero or one Ledger record

  • MyLegalEntities → MyLegalEntities

    Join on LedgerDataAreaId = MyLegalEntities.DataArea

    Many LedgerArchiveTrans records → zero or one MyLegalEntities record

  • ArchiveServiceJobProgress → ArchiveServiceJobProgress

    Join on RecId = ArchiveServiceJobProgress.SourceLinkRefRecId, TableId = ArchiveServiceJobProgress.SourceLinkRefTableId

    Zero or one LedgerArchiveTrans record → zero or one ArchiveServiceJobProgress record

  • ArchiveServiceJobDetailsView → ArchiveServiceJobDetailsView

    Join on RecId = ArchiveServiceJobDetailsView.SourceLinkRecId, TableId = ArchiveServiceJobDetailsView.SourceLinkTableId

    Zero or one LedgerArchiveTrans record → zero or one ArchiveServiceJobDetailsView record

  • LedgerArchiveTransStatusView → LedgerArchiveTransStatusView

    Join on RecId = LedgerArchiveTransStatusView.LedgerArchiveTransRecId

    Zero 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.

Email sales@drdynamics.co.uk