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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountCodeSays whether the account relation is a single vendor, a vendor group or all vendors.Enum
TableGroupAll (enum)
YesNone
AccountRelationVendor or vendor group that the rule applies to.String (20)
InventCustVendRel
NoVendGroup.VendGroupVendTable.AccountNumNone
CFOPCodeSays whether the CFOP relation is a single CFOP code, a CFOP group or all CFOPs.Enum
TableGroupAll (enum)
NoNone
CFOPRelationCFOP code or CFOP group that the rule applies to.String
CFOPRelation
NoCFOPGroup_BR.CFOPGroupCFOPTable_BR.CFOPIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FBRuralProdAcquisitionDetailsType of rural production acquisition assigned by the rule, chosen from a list of acquisition options.Enum
FBRuralProdAcquisitionDetails_BR (enum)
YesNone
FiscalClassificationIdFiscal classification code that the rule applies to.String
TaxFiscalClassificationId_BR
NoTaxFiscalClassification_BR.FiscalClassificationIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (5)

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

  • CFOPGroup_BR → CFOPGroup_BR

    Join on CFOPCode = TableGroupAll::GroupId, CFOPRelation = CFOPGroup_BR.CFOPGroup

    Many FBRuralProdAcquisitionDetailsSetup_BR records → zero or one CFOPGroup_BR record

  • CFOPTable_BR → CFOPTable_BR

    Join on CFOPCode = TableGroupAll::Table, CFOPRelation = CFOPTable_BR.CFOPId

    Zero or one FBRuralProdAcquisitionDetailsSetup_BR record → zero or one CFOPTable_BR record

  • TaxFiscalClassification_BR → TaxFiscalClassification_BR

    Join on FiscalClassificationId = TaxFiscalClassification_BR.FiscalClassificationId

    Many FBRuralProdAcquisitionDetailsSetup_BR records → zero or one TaxFiscalClassification_BR record

  • VendGroup → VendGroup

    Join on AccountCode = TableGroupAll::GroupId, AccountRelation = VendGroup.VendGroup

    Many FBRuralProdAcquisitionDetailsSetup_BR records → zero or one VendGroup record

  • VendTable → VendTable

    Join on AccountCode = TableGroupAll::Table, AccountRelation = VendTable.AccountNum

    Many 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.

Email sales@drdynamics.co.uk