Table
CustomerInvoiceArchiveTrans
Customer invoice archive transactions
Holds records for archiving customer invoices. Each row has a name, a date range, a company and an invoice document type (free text invoice or sales order). It relates to the archive service job views.
- Table name
CustomerInvoiceArchiveTrans- Module
Cross-module and platform- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
LedgerBasic- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
EndDateTimeEnd of the date range, shown as To date. | UtcDateTimeToDateTime | Yes | None | |
InvoiceDataAreaIdCompany (legal entity) the invoices belong to. | StringDataAreaId | No | None | |
InvoiceDocumentTypeType of customer invoice document: Free text invoice or Sales order. | EnumArchivalDocumentType (enum) | No | None | |
NameName of the archive record. | String (60)Name | 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 | |
StartDateTimeStart of the date range, shown as From date. | UtcDateTimeFromDateTime | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
FromDateToDateIdxNot unique.
Relations (2)
Each relation joins CustomerInvoiceArchiveTrans to another table on the fields shown.
ArchiveServiceJobProgress→ArchiveServiceJobProgressJoin on
RecId = ArchiveServiceJobProgress.SourceLinkRefRecId,TableId = ArchiveServiceJobProgress.SourceLinkRefTableIdZero or one CustomerInvoiceArchiveTrans record → zero or one ArchiveServiceJobProgress record
ArchiveServiceJobDetailsView→ArchiveServiceJobDetailsViewJoin on
RecId = ArchiveServiceJobDetailsView.SourceLinkRecId,TableId = ArchiveServiceJobDetailsView.SourceLinkTableIdZero or one CustomerInvoiceArchiveTrans record → zero or one ArchiveServiceJobDetailsView record
Get this data out
No public entity reads from CustomerInvoiceArchiveTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustomerInvoiceArchiveTrans in a report, an integration or a migration? Talk to Dr Dynamics.