Data entity
FiscalBooksParametersPerStateEntity
Holds fiscal book settings for each Brazilian state. It links to ICMS and other adjustment codes and to observation codes, for items and fixed assets. The key is the state.
- Entity name
FiscalBooksParametersPerStateEntity- Public entity name
FiscalBooksParametersPerState- OData collection
FiscalBooksParametersPerStates- Category
Parameters- Module
Accounts receivable- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
State- Staging table
FiscalBooksParametersPerStateStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/FiscalBooksParametersPerStates- Dataverse virtual table
mserp_fiscalbooksparametersperstateentity. 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
FBParametersPerState_BR· rootFBFiscalDocumentAdjustmentCodeICMS_BR· OuterJoin toFBParametersPerState_BR· read-onlyFBGeneralAdjustmentCode_BR· OuterJoin toFBParametersPerState_BR· read-onlyFBGeneralAdjustmentCodeICMS_BR· Derived toFBGeneralAdjustmentCode_BRFBGeneralAdjustmentCodeIPI_BR· Derived toFBGeneralAdjustmentCode_BRFBGeneralAdjustmentCodePISCOFINS_BR· Derived toFBGeneralAdjustmentCode_BRFBObservationCodeTable_BR· OuterJoin toFBParametersPerState_BR· read-onlyICMSFiscalDocumentAdjCodeFixedAsset(tableFBFiscalDocumentAdjustmentCodeICMS_BR) · OuterJoin toFBParametersPerState_BR· read-onlyICMSGeneralAdjustmentCodeFixedAsset(tableFBGeneralAdjustmentCodeICMS_BR) · OuterJoin toFBParametersPerState_BR· read-only
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CIAPCalculateInstallmentForOutgoingYes/No option to calculate the CIAP installment for outgoing transactions. | EnumNoYesId
| No | Yes | FBParametersPerState_BR.CIAPCalculateInstallmentForOutgoing | |
ByFiscalDocumentYes/No option to handle ICMS adjustments by fiscal document. | EnumNoYesId
| No | Yes | FBParametersPerState_BR.ICMSAdjustmentByFiscalDocument | |
ICMSObservationCodePoints to the observation code used for ICMS. | Int64FBObservationCodeRecId_BR | No | No (private) | FBObservationCodeTable_BR.RecId | FBParametersPerState_BR.ICMSFBObservationCodeTable |
ICMSFiscalDocumentAdjustmentCodeFixedAssetPoints to the fiscal document adjustment code used for fixed assets. | Int64FBFiscalDocumentAdjustmentCodeRecId_BR | No | No (private) | FBFiscalDocumentAdjustmentCodeICMS_BR.RecId | FBParametersPerState_BR.ICMSFiscalDocumentAdjCodeFixedAsset |
ICMSFiscalDocumentAdjustmentCodePoints to the fiscal document adjustment code used for item consumption. | Int64FBFiscalDocumentAdjustmentCodeRecId_BR | No | No (private) | FBFiscalDocumentAdjustmentCodeICMS_BR.RecId | FBParametersPerState_BR.ICMSFiscalDocumentAdjustmentCode |
ICMSGeneralAdjustmentCodePoints to the general adjustment code used for item consumption. | Int64FBGeneralAdjustmentCodeRecId_BR | No | No (private) | FBGeneralAdjustmentCode_BR.RecId | FBParametersPerState_BR.ICMSGeneralAdjustmentCode |
ICMSGeneralAdjustmentCodeFixedAssetPoints to the ICMS general adjustment code used for fixed assets. | Int64FBGeneralAdjustmentCodeRecId_BR | No | No (private) | FBGeneralAdjustmentCodeICMS_BR.RecId | FBParametersPerState_BR.ICMSGeneralAdjustmentCodeFixedAsset |
StateState that the parameters apply to. Part of the key and points to the state record. | StringLogisticsAddressStateId | No | Yes | LogisticsAddressState.StateId | FBParametersPerState_BR.StateId |
FiscalDocumentAdjustmentCodeUnique code that identifies the adjustment. | StringFBFiscalDocumentTaxAdjustmentCode_BR | Yes | Yes | FBFiscalDocumentAdjustmentCodeICMS_BR.AdjustmentCode | |
GeneralAdjustmentCodeUnique identifier of the tax adjustment code. | String (8)FBGeneralTaxAdjustmentCode_BR | Yes | Yes | FBGeneralAdjustmentCode_BR.AdjustmentCode | |
ObservationCodeUnique code of up to six characters that identifies the observation. | String (6)FBObservationCode_BR | Yes | Yes | FBObservationCodeTable_BR.ObservationCode | |
FiscalDocumentAdjustmentCodeFixedAssetUnique code that identifies the adjustment. | StringFBFiscalDocumentTaxAdjustmentCode_BR | Yes | Yes | FBFiscalDocumentAdjustmentCodeICMS_BR.AdjustmentCode | |
GeneralAdjustmentCodeFixedAssetUnique identifier of the tax adjustment code. | String (8)FBGeneralTaxAdjustmentCode_BR | Yes | Yes | FBGeneralAdjustmentCode_BR.AdjustmentCode |
Foreign keys (6)
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.
ICMSObservationCode→FBObservationCodeTable_BR.RecId(key of FBObservationCodeTable_BR)Many FBParametersPerState_BR records → exactly one FBObservationCodeTable_BR record
FBObservationCodeTable_BR details: see FBObservationCodeEntity
ICMSFiscalDocumentAdjustmentCodeFixedAsset→FBFiscalDocumentAdjustmentCodeICMS_BR.RecId(key of FBFiscalDocumentAdjustmentCodeICMS_BR)Many FBParametersPerState_BR records → zero or one FBFiscalDocumentAdjustmentCodeICMS_BR record
FBFiscalDocumentAdjustmentCodeICMS_BR details: see FBFiscalDocumentAdjustmentCodeICMSEntity, FBFiscalDocumentAdjustmentCodeICMSTaxationCodesEntity, FBFiscalDocumentAdjustmentCodeLedgerEntity
ICMSFiscalDocumentAdjustmentCode→FBFiscalDocumentAdjustmentCodeICMS_BR.RecId(key of FBFiscalDocumentAdjustmentCodeICMS_BR)Many FBParametersPerState_BR records → zero or one FBFiscalDocumentAdjustmentCodeICMS_BR record
FBFiscalDocumentAdjustmentCodeICMS_BR details: see FBFiscalDocumentAdjustmentCodeICMSEntity, FBFiscalDocumentAdjustmentCodeICMSTaxationCodesEntity, FBFiscalDocumentAdjustmentCodeLedgerEntity
ICMSGeneralAdjustmentCode→FBGeneralAdjustmentCode_BR.RecId(key of FBGeneralAdjustmentCode_BR)Many FBParametersPerState_BR records → exactly one FBGeneralAdjustmentCode_BR record
FBGeneralAdjustmentCode_BR details: see FBGeneralAdjustmentCodeICMSEntity, FBGeneralAdjustmentCodePISCOFINSEntity, FBGeneralAdjustmentCodeIPIEntity
ICMSGeneralAdjustmentCodeFixedAsset→FBGeneralAdjustmentCodeICMS_BR.RecId(key of FBGeneralAdjustmentCodeICMS_BR)Many FBParametersPerState_BR records → zero or one FBGeneralAdjustmentCodeICMS_BR record
FBGeneralAdjustmentCodeICMS_BR details: see FBGeneralAdjustmentCodeICMSEntity, FBGeneralAdjustmentCodeLedgerEntity
State→LogisticsAddressState.StateId(key of LogisticsAddressState)Join on all of:
State=LogisticsAddressState.StateId,CountryRegionId(table field, not in this entity) =LogisticsAddressState.CountryRegionIdZero or one FBParametersPerState_BR record → zero or one LogisticsAddressState record
LogisticsAddressState details: see LogisticsAddressStateEntity, PayrollEmployerTaxRegionEntity, StateHolidayEntity
Need help with FiscalBooksParametersPerStateEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.