Data entity
PayrollTaxRegionDualWriteEntity
Tax regions prepared for Dataverse dual-write. Each record has a name or description, city, county, state, postal code, country or region, and effective and expiration dates. It is keyed by name, city, country or region, county and state.
- Entity name
PayrollTaxRegionDualWriteEntity- Public entity name
DualWriteTaxRegion- OData collection
DualWriteTaxRegions- Category
Not set- Module
Payroll- Read-only
No- Data management enabled
Yes- Configuration key
PayrollAdministration- Keys
TaxRegionName, City, CountryOrRegion, County, State- Staging table
PayrollTaxRegionDualWriteEntityStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/DualWriteTaxRegions- Dataverse virtual table
mserp_payrolltaxregiondualwriteentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
PayrollTaxRegion· rootLogisticsPostalAddressBaseEntity· InnerJoin toPayrollTaxRegion
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CityName of the city, as text. | String (60)LogisticsAddressCityName | No | Yes | LogisticsPostalAddress.City | |
CountyCounty code of the address. It depends on the country and state. | String (30)LogisticsAddressCountyId | No | Yes | LogisticsAddressCounty.CountyId | LogisticsPostalAddress.County |
StateState or province code of the address. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | LogisticsPostalAddress.State |
ZipCodeZIP or postal code, as text. | StringLogisticsAddressZipCodeId | No | Yes | LogisticsPostalAddress.ZipCode | |
CountryOrRegionThe country or region of the address. | StringLogisticsAddressCountryRegionId | No | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsPostalAddress.CountryRegionId |
TaxRegionNameName or description of the location. | String (60)LogisticsDescription | No | Yes | LogisticsLocation.Description | |
ValidFromDate and time from which the address is effective. | UtcDateTimeEffectiveDateTime | No | Yes | LogisticsPostalAddress.ValidFrom | |
ValidToDate and time when the address expires. | UtcDateTimeExpirationDateTime | No | Yes | LogisticsPostalAddress.ValidTo | |
LogisticsLocationPoints to the location record that defines this tax region. | Int64LogisticsLocationRecId | No | No (private) | LogisticsLocation.RecId | PayrollTaxRegion.LogisticsLocation |
LocationIdUnique ID of the location. It is the key of the table. | String (40)LogisticsLocationId | No | No (private) | LogisticsLocation.LocationId |
Foreign keys (4)
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.
County→LogisticsAddressCounty.CountyId(key of LogisticsAddressCounty)Join on all of:
County=LogisticsAddressCounty.CountyId,CountryOrRegion=LogisticsAddressCounty.CountryRegionId,State=LogisticsAddressCounty.StateIdMany LogisticsPostalAddress records → zero or one LogisticsAddressCounty record
LogisticsAddressCounty details: see LogisticsAddressCountyEntity, VRMLogisticsAddressCountyEntity
State→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
State=LogisticsAddressState.StateId,CountryOrRegion=LogisticsAddressState.CountryRegionIdMany LogisticsPostalAddress records → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
CountryOrRegion→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsPostalAddress records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
LogisticsLocation→LogisticsLocation.RecId(key of LogisticsLocation)Zero or one PayrollTaxRegion record → exactly one LogisticsLocation record
LogisticsLocation details: see AccountantEntity, CustPostalAddressV2Entity, DirPartyLocationPostalAddressEntity
Need help with PayrollTaxRegionDualWriteEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.