Table

VendFiscalDocumentType_BR

Fiscal document type

Links fiscal document types to vendors for Brazil. The key has an account code (table, group or all), an account relation and a fiscal establishment. The relation holds a vendor account or a vendor group.

Table name
VendFiscalDocumentType_BR
Module
Fiscal books brazil
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
FiscalDocumentType_BRIdx
Key fields
AccountCode, AccountRelation, FiscalEstablishment_BR
Model
Foundation

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountCodeSays whether the row applies to one vendor (table), a vendor group, or all.Enum
TableGroupAll (enum)
YesFiscalDocumentTypesForVendorsEntity
AccountRelationVendor account or vendor group, depending on the account code.String (20)
InventCustVendRel
NoVendGroup.VendGroupVendTable.AccountNumFiscalDocumentTypesForVendorsEntity
FiscalEstablishment_BRPoints to the fiscal establishment.Int64
FiscalEstablishmentRecId_BR
YesFiscalEstablishment_BR.RecIdFiscalDocumentTypesForVendorsEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FiscalDocumentType_BRPoints to the fiscal document type.Int64
FiscalDocumentTypeRecID_BR
YesFiscalDocumentType_BR.RecIdFiscalDocumentTypesForVendorsEntity
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 (2)

Relations (4)

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

  • FiscalDocumentType → FiscalDocumentType_BR

    Join on FiscalDocumentType_BR = FiscalDocumentType_BR.RecId

    Many VendFiscalDocumentType_BR records → exactly one FiscalDocumentType_BR record

  • FiscalEstablishment → FiscalEstablishment_BR

    Join on FiscalEstablishment_BR = FiscalEstablishment_BR.RecId

    Exactly one VendFiscalDocumentType_BR record → exactly one FiscalEstablishment_BR record

  • VendGroup → VendGroup

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

    Many VendFiscalDocumentType_BR records → zero or one VendGroup record

  • VendTable → VendTable

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

    Many VendFiscalDocumentType_BR records → zero or one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk