Table

IntrastatArchiveGeneral

Intrastat archive

Holds the header of an archived Intrastat declaration, identified by an archive ID. It records the file name, the number of lines, the user and the tax registration. Its detail lines are in IntrastatArchiveDetail.

Table name
IntrastatArchiveGeneral
Module
Intrastat
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
ForeignTrade
Primary index
RecId
Replacement key
IntrastatArchiveIdx
Key fields
IntrastatArchiveID
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
IntrastatArchiveIDIdentifier of the Intrastat archive.String
IntrastatArchiveID
YesNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExtendedReportingYes/No flag showing whether extended reporting is used.Enum
NoYes (enum)
NoNone
FileNameName of the archived file.String (259)
Filename
NoNone
NumberOfLinesNumber of lines in the archive.Integer
NumberOf
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxIdPoints to the tax registration number (TaxRegistration) used for the declaration.Int64
TaxRegistrationRecId
NoTaxRegistration.RecIdNone
UserIdUser linked to the archive record.String
UserId
NoNone

Indexes (1)

Relations (2)

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

  • UserInfo → UserInfo

    Join on UserId = UserInfo.id

    Many IntrastatArchiveGeneral records → zero or one UserInfo record

  • TaxId → TaxRegistration

    Join on TaxId = TaxRegistration.RecId

    Many IntrastatArchiveGeneral records → zero or one TaxRegistration record

Get this data out

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

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

Email sales@drdynamics.co.uk