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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
IntrastatArchiveIDIdentifier of the Intrastat archive. | StringIntrastatArchiveID | Yes | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExtendedReportingYes/No flag showing whether extended reporting is used. | EnumNoYes (enum) | No | None | |
FileNameName of the archived file. | String (259)Filename | No | None | |
NumberOfLinesNumber of lines in the archive. | IntegerNumberOf | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxIdPoints to the tax registration number (TaxRegistration) used for the declaration. | Int64TaxRegistrationRecId | No | TaxRegistration.RecId | None |
UserIdUser linked to the archive record. | StringUserId | No | None |
Indexes (1)
IntrastatArchiveIdxReplacement keyUnique, alternate key.
Relations (2)
Each relation joins IntrastatArchiveGeneral to another table on the fields shown.
UserInfo→UserInfoJoin on
UserId = UserInfo.idMany IntrastatArchiveGeneral records → zero or one UserInfo record
TaxId→TaxRegistrationJoin on
TaxId = TaxRegistration.RecIdMany 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.