Data entity
PayrollEmployerTaxRegionEntity
Links a company (legal entity) to a state and country or region that is set up as an employer tax region. Each record is keyed by country or region, state and company. It also has an active flag.
- Entity name
PayrollEmployerTaxRegionEntity- Public entity name
EmployerTaxRegion- OData collection
EmployerTaxRegions- Category
Not set- Module
Payroll- Read-only
No- Data management enabled
Yes- Configuration key
PayrollAdministration- Keys
CountryRegionId, StateId, LegalEntityId- Staging table
PayrollEmployerTaxRegionStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/EmployerTaxRegions- Dataverse virtual table
mserp_payrollemployertaxregionentity. 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
PayrollEmployerTaxRegion· rootCompanyInfo_FK(tableCompanyInfo) · InnerJoin toPayrollEmployerTaxRegion· read-onlyLogisticsAddressState· InnerJoin toPayrollEmployerTaxRegion· read-only
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
IsActiveYes/No flag showing whether the tax region is active. | EnumNoYesId
| No | Yes | PayrollEmployerTaxRegion.IsActive | |
LegalEntityIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | Yes | Yes | CompanyInfo.DataArea | |
StateIdIdentifier of the state. | StringLogisticsAddressStateId | Yes | Yes | LogisticsAddressState.StateId | |
CountryRegionIdCountry or region the state belongs to. | StringLogisticsAddressCountryRegionId | Yes | Yes | LogisticsAddressCountryRegion.CountryRegionId | LogisticsAddressState.CountryRegionId |
StateState or province of the tax region, within the chosen country or region. | StringLogisticsAddressStateId | Yes | No (private) | LogisticsAddressState.StateId | PayrollEmployerTaxRegion.StateId |
CountryRegionCountry or region of the tax region. | StringLogisticsAddressCountryRegionId | Yes | No (private) | LogisticsAddressCountryRegion.CountryRegionId | PayrollEmployerTaxRegion.CountryRegionId |
LegalEntityLegal entity that the tax region belongs to. | Int64CompanyInfoRecId | Yes | No (private) | CompanyInfo.RecId | PayrollEmployerTaxRegion.LegalEntity |
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.
CountryRegionId→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many LogisticsAddressState records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
State→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
State=LogisticsAddressState.StateId,CountryRegion=LogisticsAddressState.CountryRegionIdMany PayrollEmployerTaxRegion records → exactly one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, StateHolidayEntity, EFDocAuthorityStateEntity
CountryRegion→LogisticsAddressCountryRegion.CountryRegionId(key of LogisticsAddressCountryRegion)Many PayrollEmployerTaxRegion records → exactly one LogisticsAddressCountryRegion record
LogisticsAddressCountryRegion details: see ElectronicTaxICPDeclarationEntity, LogisticsAddressCountryRegionEntity, PaymentCalendarEntity
LegalEntity→CompanyInfo.RecId(key of CompanyInfo)Many PayrollEmployerTaxRegion records → exactly one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
Need help with PayrollEmployerTaxRegionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.