Table

FiscalEstablishmentIEPerState_BR

Tributary substitution

Holds state registration numbers (IE) of a fiscal establishment, one for each country or region and state. It is labelled tributary substitution. It has no defined key and links to the establishment and the state.

Table name
FiscalEstablishmentIEPerState_BR
Module
Fiscal books brazil
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
FiscalBooks

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CountryRegionIdCountry or region the registration applies to.String
LogisticsAddressCountryRegionId
YesLogisticsAddressCountryRegion.CountryRegionIdFiscalEstablishmentIEPerStateEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FiscalEstablishment_BRPoints to the fiscal establishment that owns this registration.Int64
RefRecId
YesFiscalEstablishment_BR.RecIdFiscalEstablishmentIEPerStateEntity
IENum_BRState registration number (IE) for the given state.String (20)
IENum_BR
YesFiscalEstablishmentIEPerStateEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StateIdState the registration number applies to.String
LogisticsAddressStateId
YesLogisticsAddressState.StateIdFiscalEstablishmentIEPerStateEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (3)

Each relation joins FiscalEstablishmentIEPerState_BR to another table on the fields shown.

  • FiscalEstablishment_BR → FiscalEstablishment_BR

    Join on FiscalEstablishment_BR = FiscalEstablishment_BR.RecId

    Many FiscalEstablishmentIEPerState_BR records → exactly one FiscalEstablishment_BR record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegionId = LogisticsAddressCountryRegion.CountryRegionId

    Many FiscalEstablishmentIEPerState_BR records → exactly one LogisticsAddressCountryRegion record

  • LogisticsAddressState → LogisticsAddressState

    Join on StateId = LogisticsAddressState.StateId, CountryRegionId = LogisticsAddressState.CountryRegionId

    Many FiscalEstablishmentIEPerState_BR records → exactly one LogisticsAddressState record

Get this data out

Tables are not exposed directly. These public entities read from FiscalEstablishmentIEPerState_BR; use one of them in Power BI, Power Platform or a data management project.

Need help with FiscalEstablishmentIEPerState_BR in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk