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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountCodeSays whether the row applies to one vendor (table), a vendor group, or all. | EnumTableGroupAll (enum) | Yes | FiscalDocumentTypesForVendorsEntity | |
AccountRelationVendor account or vendor group, depending on the account code. | String (20)InventCustVendRel | No | VendGroup.VendGroupVendTable.AccountNum | FiscalDocumentTypesForVendorsEntity |
FiscalEstablishment_BRPoints to the fiscal establishment. | Int64FiscalEstablishmentRecId_BR | Yes | FiscalEstablishment_BR.RecId | FiscalDocumentTypesForVendorsEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FiscalDocumentType_BRPoints to the fiscal document type. | Int64FiscalDocumentTypeRecID_BR | Yes | FiscalDocumentType_BR.RecId | FiscalDocumentTypesForVendorsEntity |
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 (2)
FiscalDocumentType_BRIdxReplacement keyAccountCode,AccountRelation,FiscalEstablishment_BRUnique, alternate key.
FiscalEstablishment_BRIdxNot unique.
Relations (4)
Each relation joins VendFiscalDocumentType_BR to another table on the fields shown.
FiscalDocumentType→FiscalDocumentType_BRJoin on
FiscalDocumentType_BR = FiscalDocumentType_BR.RecIdMany VendFiscalDocumentType_BR records → exactly one FiscalDocumentType_BR record
FiscalEstablishment→FiscalEstablishment_BRJoin on
FiscalEstablishment_BR = FiscalEstablishment_BR.RecIdExactly one VendFiscalDocumentType_BR record → exactly one FiscalEstablishment_BR record
VendGroup→VendGroupJoin on
AccountRelation = VendGroup.VendGroup,AccountCode = TableGroupAll::GroupIdMany VendFiscalDocumentType_BR records → zero or one VendGroup record
VendTable→VendTableJoin on
AccountCode = TableGroupAll::Table,AccountRelation = VendTable.AccountNumMany 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.
FiscalDocumentTypesForVendorsEntity· 4 fields from this table
Need help with VendFiscalDocumentType_BR in a report, an integration or a migration? Talk to Dr Dynamics.