Table
CustFiscalDocumentType_BR
Fiscal document type
Sets the fiscal document type for customers in Brazil. A row applies to a customer, a customer group or all customers, for a fiscal establishment and an item type (item or service).
- Table name
CustFiscalDocumentType_BR- Module
Fiscal books brazil- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
CustFiscalDocumentType_BRIdx- Key fields
AccountCode, AccountRelation, FiscalEstablishment_BR, ItemType- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountCodeShows whether the row applies to one customer, a customer group or all customers. | EnumTableGroupAll (enum) | Yes | FiscalDocumentTypesForCustomersEntity | |
AccountRelationCustomer account or customer group that the row applies to. | String (20)InventCustVendRel | No | CustGroup.CustGroupCustTable.AccountNum | FiscalDocumentTypesForCustomersEntity |
FiscalEstablishment_BRPoints to the fiscal establishment. | Int64FiscalEstablishmentRecId_BR | Yes | FiscalEstablishment_BR.RecId | FiscalDocumentTypesForCustomersEntity |
ItemTypeShows whether the row applies to items or services. | EnumItemType (enum) | No | FiscalDocumentTypesForCustomersEntity | |
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 | FiscalDocumentTypesForCustomersEntity |
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 (3)
CustFiscalDocumentType_BRIdxReplacement keyAccountCode,AccountRelation,FiscalEstablishment_BR,ItemTypeUnique, alternate key.
FiscalEstablishment_BRIdxNot unique.
FiscalDocumentType_BRIdxNot unique.
Relations (4)
Each relation joins CustFiscalDocumentType_BR to another table on the fields shown.
CustGroup→CustGroupJoin on
AccountCode = TableGroupAll::GroupId,AccountRelation = CustGroup.CustGroupMany CustFiscalDocumentType_BR records → zero or one CustGroup record
CustTable→CustTableJoin on
AccountCode = TableGroupAll::Table,AccountRelation = CustTable.AccountNumMany CustFiscalDocumentType_BR records → zero or one CustTable record
FiscalDocumentType→FiscalDocumentType_BRJoin on
FiscalDocumentType_BR = FiscalDocumentType_BR.RecIdMany CustFiscalDocumentType_BR records → exactly one FiscalDocumentType_BR record
FiscalEstablishment→FiscalEstablishment_BRJoin on
FiscalEstablishment_BR = FiscalEstablishment_BR.RecIdExactly one CustFiscalDocumentType_BR record → exactly one FiscalEstablishment_BR record
Get this data out
Tables are not exposed directly. These public entities read from CustFiscalDocumentType_BR; use one of them in Power BI, Power Platform or a data management project.
FiscalDocumentTypesForCustomersEntity· 5 fields from this table
Need help with CustFiscalDocumentType_BR in a report, an integration or a migration? Talk to Dr Dynamics.