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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountCodeShows whether the row applies to one customer, a customer group or all customers.Enum
TableGroupAll (enum)
YesFiscalDocumentTypesForCustomersEntity
AccountRelationCustomer account or customer group that the row applies to.String (20)
InventCustVendRel
NoCustGroup.CustGroupCustTable.AccountNumFiscalDocumentTypesForCustomersEntity
FiscalEstablishment_BRPoints to the fiscal establishment.Int64
FiscalEstablishmentRecId_BR
YesFiscalEstablishment_BR.RecIdFiscalDocumentTypesForCustomersEntity
ItemTypeShows whether the row applies to items or services.Enum
ItemType (enum)
NoFiscalDocumentTypesForCustomersEntity
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.RecIdFiscalDocumentTypesForCustomersEntity
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 (3)

Relations (4)

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

  • CustGroup → CustGroup

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

    Many CustFiscalDocumentType_BR records → zero or one CustGroup record

  • CustTable → CustTable

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

    Many CustFiscalDocumentType_BR records → zero or one CustTable record

  • FiscalDocumentType → FiscalDocumentType_BR

    Join on FiscalDocumentType_BR = FiscalDocumentType_BR.RecId

    Many CustFiscalDocumentType_BR records → exactly one FiscalDocumentType_BR record

  • FiscalEstablishment → FiscalEstablishment_BR

    Join on FiscalEstablishment_BR = FiscalEstablishment_BR.RecId

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

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

Email sales@drdynamics.co.uk