Table
PurchImportDeclaration_BR
Import declaration
Import declarations used for Brazil. Each record is identified by the declaration number. It stores dates, port, port state, declaration type and transport mode for an import. Vendor invoice headers use it.
- Table name
PurchImportDeclaration_BR- Module
Accounts payable- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
RecId- Replacement key
DINumberIdx- Key fields
DINumber- Model
Foundation
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DINumberNumber that identifies the import declaration. | String (15)PurchDINumber_BR | Yes | PurchImportDeclarationEntityVendorInvoiceHeaderEntity | |
AFRMMAFRMM amount for the import. This is a Brazilian merchant marine freight surcharge. | RealEFDocAfrmm_BR | No | PurchImportDeclarationEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DIDateDate of the import declaration. | DateDIDate_BR | Yes | PurchImportDeclarationEntity | |
DrawBackNumberNumber of the draw back (duty refund) regime linked to the import. | String (20)DrawBackNumber_BR | No | PurchImportDeclarationEntity | |
NationalizationDateDate on which the imported goods were nationalised (cleared into the country). | DateNationalizationDate_BR | Yes | PurchImportDeclarationEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PortPort used for the import. Points to a port record. | StringIntrastatPortId | Yes | IntrastatPort.PortId | PurchImportDeclarationEntity |
PortStateState where the port is located. | StringPortState_BR | Yes | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransportModeWay the goods were transported, such as marine, air or railway. | EnumEFDocTransportMode_BR (enum) | No | PurchImportDeclarationEntity | |
TypeKind of declaration: import, simplified import or unique import. | EnumPurchDIType_BR (enum) | Yes | PurchImportDeclarationEntity |
Indexes (1)
DINumberIdxReplacement keyUnique, alternate key.
Relations (2)
Each relation joins PurchImportDeclaration_BR to another table on the fields shown.
AddressState→LogisticsAddressStateJoin on
PortState = LogisticsAddressState.StateIdMany PurchImportDeclaration_BR records → zero or one LogisticsAddressState record
IntrastatPort→IntrastatPortJoin on
Port = IntrastatPort.PortIdMany PurchImportDeclaration_BR records → exactly one IntrastatPort record
Get this data out
Tables are not exposed directly. These public entities read from PurchImportDeclaration_BR; use one of them in Power BI, Power Platform or a data management project.
PurchImportDeclarationEntity· 8 fields from this tableVendorInvoiceHeaderEntity· 1 field from this table
Need help with PurchImportDeclaration_BR in a report, an integration or a migration? Talk to Dr Dynamics.