Table

PurchTable_Intrastat

Purchase order header information for Intrastat

Holds Intrastat information for a purchase order header. At present it stores only the special movement code used for the Czech Republic. Each row links to one purchase order.

Table name
PurchTable_Intrastat
Module
Accounts payable
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasic
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (7)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchTableLink to the purchase order that this row extends.Int64
PurchTableRefRecId
NoPurchTable.RecIdNone
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
SpecialMovement_CZSpecial movement code for Intrastat, used for the Czech Republic.String (2)
IntrastatSpecMove_CZ
NoIntrastatSpecMovement_CZ.SpecialMovement_CZNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

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

  • IntrastatSpecMovement_CZ → IntrastatSpecMovement_CZ

    Join on SpecialMovement_CZ = IntrastatSpecMovement_CZ.SpecialMovement_CZ

    Many PurchTable_Intrastat records → zero or one IntrastatSpecMovement_CZ record

  • PurchTable → PurchTable

    Join on PurchTable = PurchTable.RecId

    Zero or one PurchTable_Intrastat record → exactly one PurchTable record

Get this data out

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

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

Email sales@drdynamics.co.uk