Data entity
EFDocAuthorityStateEntity
Maps each NF-e authority to the states it covers, for Brazil. It also holds two flags per mapping: one for adding exempt tags and one for validating benefit codes. The key is the authority and the state.
- Entity name
EFDocAuthorityStateEntity- Public entity name
EFDocAuthorityState- OData collection
EFDocAuthorityStates- Category
Not set- Module
Accounts receivable- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
Authority, State- Staging table
EFDocAuthorityStateStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/EFDocAuthorityStates- Dataverse virtual table
mserp_efdocauthoritystateentity. 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
EFDocAuthorityState_BR· rootLogisticsAddressState· InnerJoin toEFDocAuthorityState_BR· read-only
Fields (5)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AuthorityPoints to the NF-e authority. | StringEFDocAuthorityId_BR | Yes | Yes | EFDocAuthority_BR.AuthorityId | EFDocAuthorityState_BR.AuthorityId |
StateIdPoints to the state that the authority is mapped to. | Int64RefRecId | Yes | No (private) | LogisticsAddressState.RecId | EFDocAuthorityState_BR.LogisticsAddressState |
StateIdentifier of the state. | StringLogisticsAddressStateId | Yes | Yes | LogisticsAddressState.StateId | |
AddExemptYes/No flag to add exemption tags to the XML file. | Enum
| No | Yes | EFDocAuthorityState_BR.AddExempt | |
ValidateBenefitCodesYes/No flag to check benefit codes against the expected tax codes. | Enum
| No | Yes | EFDocAuthorityState_BR.ValidateBenefitCodes |
Foreign keys (2)
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.
StateId→LogisticsAddressState.RecId(key of LogisticsAddressState)Zero or one EFDocAuthorityState_BR record → exactly one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
Need help with EFDocAuthorityStateEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.