Data entity
VendInvoiceIntrastatCDREntity
Read-only entity with Intrastat information for vendor invoices. It holds commodity code, transaction code, statistics procedure, transport, port and country or region of origin or destination. It also holds retention start and end dates. It joins the VendInvoiceIntrastatCDR table to the root table.
- Entity name
VendInvoiceIntrastatCDREntity- Public entity name
VendInvoiceIntrastatCDREntity- OData collection
VendInvoiceIntrastatCDREntities- Category
Transaction- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
No- Configuration key
ForeignTrade- Keys
SourceKey- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/VendInvoiceIntrastatCDREntities- Dataverse virtual table
mserp_vendinvoiceintrastatcdrentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
VendInvoiceIntrastat· rootVendInvoiceIntrastatCDR· InnerJoin toVendInvoiceIntrastat
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CountyOrigDestCounty of origin or destination, linked to the county record together with state and country/region. | String (30)AddressCountyOrigDest | No | Yes | LogisticsAddressCounty.CountyId | VendInvoiceIntrastat.CountyOrigDest |
IntracodeCommodity code as text. The EDT name suggests it is an older field.low confidence | StringDEL_IntrastatItemCodeId | No | Yes | VendInvoiceIntrastat.Intracode | |
IntrastatCommodityCommodity, linked to a product category record. | Int64IntrastatCommodityId | No | Yes | EcoResCategory.RecId | VendInvoiceIntrastat.IntrastatCommodity |
IntraUnitQuantity in additional units for Intrastat. | RealIntrastatConvert | No | Yes | VendInvoiceIntrastat.IntraUnit | |
NGPCodesTable_FRPoints to the NGP code record, used for France. | Int64NGPCodesTableFRId | No | Yes | NGPCodesTable_FR.RecId | VendInvoiceIntrastat.NGPCodesTable_FR |
OrigCountryRegionIdCountry or region of origin. | StringItemOrigCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | VendInvoiceIntrastat.OrigCountryRegionId |
OrigStateIdState or province of origin, linked to the state or county record. | StringItemOrigStateId | No | Yes | LogisticsAddressState.StateId | VendInvoiceIntrastat.OrigStateId |
PortPort used for the Intrastat entry. | StringIntrastatPortId | No | Yes | IntrastatPort.PortId | VendInvoiceIntrastat.Port |
StatisticsFactorPercentage of charges used for the Intrastat statistics value. | RealIntrastatMarkupPct | No | Yes | VendInvoiceIntrastat.StatisticsFactor | |
StatProcIdStatistics procedure code. | StringIntrastatProcId | No | Yes | VendInvoiceIntrastat.StatProcId | |
TransactionCodeIntrastat transaction code. | StringIntrastatTransactionCodeId | No | Yes | IntrastatTransactionCode.TransactionCode | VendInvoiceIntrastat.TransactionCode |
TransDateTransaction date, which relates to the journal lines. | DateTransDate | Yes | Yes | VendInvoiceIntrastat.TransDate | |
TransportTransport method, linked to the transport mode setup. | StringIntrastatTransport | No | Yes | IntrastatTransportMode.TransPortCode | VendInvoiceIntrastat.Transport |
VendInvoiceJourPoints to the vendor invoice journal record. | Int64RefRecId | No | Yes | VendInvoiceJour.RecId | VendInvoiceIntrastat.VendInvoiceJour |
VoucherVoucher number, which relates to journal lines. | String (20)Voucher | Yes | Yes | VendInvoiceIntrastat.Voucher | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | VendInvoiceIntrastat.RecId | |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | VendInvoiceIntrastat.DataAreaId | |
CDRDataAreaIdCompany (legal entity) that the row belongs to. | StringDataAreaId | No | Yes | VendInvoiceIntrastatCDR.CDRDataAreaId | |
CountryLawReferenceTwo-character code for the country law that applies to the record. | String (2)CDRCountryLawReference | No | Yes | VendInvoiceIntrastatCDR.CountryLawReference | |
RetentionStartDateDate on which the retention period for the record begins. | DateCDRRetentionStartDate | No | Yes | VendInvoiceIntrastatCDR.RetentionStartDate | |
RetentionEndDateDate on which the retention period for the record ends. | DateCDRRetentionEndDate | No | Yes | VendInvoiceIntrastatCDR.RetentionEndDate |
Foreign keys (9)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
CountyOrigDest→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
CountyOrigDest=LogisticsAddressCounty.CountyId,OrigStateId=LogisticsAddressCounty.StateId,OrigCountryRegionId=LogisticsAddressCounty.CountryRegionIdMany VendInvoiceIntrastat records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
IntrastatCommodity→EcoResCategory.RecId(key of EcoResCategory)Many VendInvoiceIntrastat records → zero or one EcoResCategory record
EcoResCategory details: see EcoResProductCategoryEntity, EcoResProductCDSCategoryAssignmentEntity, EcoResProductCDSCategoryEntity
NGPCodesTable_FR→NGPCodesTable_FR.RecId(key of NGPCodesTable_FR)Many VendInvoiceIntrastat records → zero or one NGPCodesTable_FR record
NGPCodesTable_FR details: see IntrastatEntity, IntrastatEntityV2, NGPCodeEntity
OrigCountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many VendInvoiceIntrastat records → zero or one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
OrigStateId→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
OrigStateId=LogisticsAddressState.StateId,OrigCountryRegionId=LogisticsAddressState.CountryRegionIdMany VendInvoiceIntrastat records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
Port→IntrastatPort.PortId(key of IntrastatPort)Many VendInvoiceIntrastat records → zero or one IntrastatPort record
IntrastatPort details: see IntrastatPortEntity
TransactionCode→IntrastatTransactionCode.TransactionCode(key of IntrastatTransactionCode)Many VendInvoiceIntrastat records → zero or one IntrastatTransactionCode record
IntrastatTransactionCode details: see IntrastatTransactionCodeEntity
Transport→IntrastatTransportMode.TransPortCode(key of IntrastatTransportMode)Many VendInvoiceIntrastat records → zero or one IntrastatTransportMode record
IntrastatTransportMode details: see IntrastatTransportMethodEntity
VendInvoiceJour→VendInvoiceJour.RecId(key of VendInvoiceJour)Many VendInvoiceIntrastat records → zero or one VendInvoiceJour record
VendInvoiceJour details: see SelfInvoiceEntity_W, ProjVendInvoiceExportEntityV2, ProjVendInvoiceExportEntity
Need help with VendInvoiceIntrastatCDREntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.