Table

IntrastatArchiveDetail

Intrastat archive detail

Holds the detail lines of an archived Intrastat declaration. Each line is identified by the archive reference and a line number. It gives the account, item, commodity, invoice, packing slip, weight and amount.

Table name
IntrastatArchiveDetail
Module
Intrastat
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
ForeignTrade
Primary index
RecId
Replacement key
ArchIdx
Key fields
IntrastatArchiveGeneral, LineNumber
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
IntrastatArchiveGeneralPoints to the Intrastat archive record this line belongs to.Int64
RefRecId
YesIntrastatArchiveGeneral.RecIdNone
LineNumberSequence number of the line in the archive.Integer
NumberOf
YesNone
AccountNumCustomer or vendor account number for the line.String (20)
CustVendAC
NoNone
AmountMSTIntrastat amount for the line, in the accounting currency.Real
IntrastatAmount
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DebCredTypeShows whether the line comes from inventory, a customer or a vendor.Enum
ModuleInventCustVend (enum)
NoNone
IntrastatCommodityPoints to the commodity category (EcoResCategory) for the line.Int64
IntrastatCommodityId
NoEcoResCategory.RecIdNone
InvoiceIdInvoice number for the line.String (50)
InvoiceId
NoNone
ItemCodeIdCommodity code, held as text. The type name suggests it is an older, deleted field.low confidenceString
DEL_IntrastatItemCodeId
NoNone
ItemIdNumber of the item on the line.String (20)
ItemId
NoInventTable.ItemIdNone
PackingSlipIdPacking slip or product receipt number for the line.String (20)
PackingSlipId
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
WeightWeight reported for the line.Real
Weight
NoNone

Indexes (1)

Relations (3)

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

  • IntrastatArchiveGeneral → IntrastatArchiveGeneral

    Join on IntrastatArchiveGeneral = IntrastatArchiveGeneral.RecId

    Many IntrastatArchiveDetail records → exactly one IntrastatArchiveGeneral record

  • IntrastatCommodity → EcoResCategory

    Join on IntrastatCommodity = EcoResCategory.RecId

    Many IntrastatArchiveDetail records → zero or one EcoResCategory record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many IntrastatArchiveDetail records → zero or one InventTable record

Get this data out

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

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

Email sales@drdynamics.co.uk