Table
FBRuralProdAcquisitionDetailsSetup_BR
Determination of acquisition type event R-2055
Setup table used for Brazil that decides the acquisition type for event R-2055. A rule can be matched by vendor or vendor group, by CFOP code or CFOP group, and by fiscal classification. Each rule gives the details of the rural production acquisition.
- Table name
FBRuralProdAcquisitionDetailsSetup_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
Foundation
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountCodeSays whether the account relation is a single vendor, a vendor group or all vendors. | EnumTableGroupAll (enum) | Yes | None | |
AccountRelationVendor or vendor group that the rule applies to. | String (20)InventCustVendRel | No | VendGroup.VendGroupVendTable.AccountNum | None |
CFOPCodeSays whether the CFOP relation is a single CFOP code, a CFOP group or all CFOPs. | EnumTableGroupAll (enum) | No | None | |
CFOPRelationCFOP code or CFOP group that the rule applies to. | StringCFOPRelation | No | CFOPGroup_BR.CFOPGroupCFOPTable_BR.CFOPId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FBRuralProdAcquisitionDetailsType of rural production acquisition assigned by the rule, chosen from a list of acquisition options. | EnumFBRuralProdAcquisitionDetails_BR (enum) | Yes | None | |
FiscalClassificationIdFiscal classification code that the rule applies to. | StringTaxFiscalClassificationId_BR | No | TaxFiscalClassification_BR.FiscalClassificationId | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
KeyIdxFiscalClassificationId,AccountCode,AccountRelation,CFOPCode,CFOPRelationUnique.
Relations (5)
Each relation joins FBRuralProdAcquisitionDetailsSetup_BR to another table on the fields shown.
CFOPGroup_BR→CFOPGroup_BRJoin on
CFOPCode = TableGroupAll::GroupId,CFOPRelation = CFOPGroup_BR.CFOPGroupMany FBRuralProdAcquisitionDetailsSetup_BR records → zero or one CFOPGroup_BR record
CFOPTable_BR→CFOPTable_BRJoin on
CFOPCode = TableGroupAll::Table,CFOPRelation = CFOPTable_BR.CFOPIdZero or one FBRuralProdAcquisitionDetailsSetup_BR record → zero or one CFOPTable_BR record
TaxFiscalClassification_BR→TaxFiscalClassification_BRJoin on
FiscalClassificationId = TaxFiscalClassification_BR.FiscalClassificationIdMany FBRuralProdAcquisitionDetailsSetup_BR records → zero or one TaxFiscalClassification_BR record
VendGroup→VendGroupJoin on
AccountCode = TableGroupAll::GroupId,AccountRelation = VendGroup.VendGroupMany FBRuralProdAcquisitionDetailsSetup_BR records → zero or one VendGroup record
VendTable→VendTableJoin on
AccountCode = TableGroupAll::Table,AccountRelation = VendTable.AccountNumMany FBRuralProdAcquisitionDetailsSetup_BR records → zero or one VendTable record
Get this data out
No public entity reads from FBRuralProdAcquisitionDetailsSetup_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with FBRuralProdAcquisitionDetailsSetup_BR in a report, an integration or a migration? Talk to Dr Dynamics.