Table
ICMSSTRestitutionSetupData_BR
ICMS-ST restitution setup data
Setup lines for ICMS-ST restitution, used for Brazil. Each line belongs to a state-level fiscal books parameter record. It combines a CFOP code or group, a taxation code and a refund reason.
- Table name
ICMSSTRestitutionSetupData_BR- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CFOPCodeSays whether the CFOP entry is a single code, a group or all codes. | EnumTableGroupAll (enum) | No | None | |
CFOPRelationThe CFOP code or CFOP group that the line applies to, depending on the CFOP code setting. | StringCFOPRelation | No | CFOPGroup_BR.CFOPGroupCFOPTable_BR.CFOPId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FBParametersPerStatePoints to the fiscal books parameters per state record that this setup line belongs to. | Int64RefRecId | No | FBParametersPerState_BR.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefundReasonCodeReason for the refund, chosen from a list such as sale to another state, loss, theft or export. | EnumRefundReasonCode_BR (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxationCodePoints to the taxation code record used for this line. | Int64RefRecId | No | TaxationCodeTable_BR.RecId | None |
Relations (4)
Each relation joins ICMSSTRestitutionSetupData_BR to another table on the fields shown.
FBParametersPerState_BR→FBParametersPerState_BRJoin on
FBParametersPerState = FBParametersPerState_BR.RecIdMany ICMSSTRestitutionSetupData_BR records → exactly one FBParametersPerState_BR record
CFOPTable→CFOPTable_BRJoin on
CFOPCode = TableGroupAll::Table,CFOPRelation = CFOPTable_BR.CFOPIdMany ICMSSTRestitutionSetupData_BR records → zero or one CFOPTable_BR record
CFOPGroup→CFOPGroup_BRJoin on
CFOPRelation = CFOPGroup_BR.CFOPGroup,CFOPCode = TableGroupAll::GroupIdMany ICMSSTRestitutionSetupData_BR records → zero or one CFOPGroup_BR record
TaxationCodeTable→TaxationCodeTable_BRJoin on
TaxationCode = TaxationCodeTable_BR.RecIdMany ICMSSTRestitutionSetupData_BR records → zero or one TaxationCodeTable_BR record
Get this data out
No public entity reads from ICMSSTRestitutionSetupData_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with ICMSSTRestitutionSetupData_BR in a report, an integration or a migration? Talk to Dr Dynamics.