Table

CFOPMatrix_BR

CFOP matrix

Matrix used for Brazil that links a CFOP code, a transaction type and an operation type to a CFOP group. The key combines the CFOP, the transaction type and the operation type. It links to CFOP groups, CFOP codes and operation types.

Table name
CFOPMatrix_BR
Module
Shared payables and receivables
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
CFOPMatrixIdx
Key fields
CFOPTable_BR, Transactiontype, SalesPurchOperationType_BR
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CFOPTable_BRPoints to the CFOP fiscal operation code.Int64
RefRecId
YesCFOPTable_BR.RecIdCFOPMatrixEntity
TransactiontypeKind of transaction, such as sales, purchase, fiscal document, free text invoice or transfer.Enum
SalesPurchTrntype_BR (enum)
NoCFOPMatrixEntity
SalesPurchOperationType_BRPoints to the operation type.Int64
SalesPurchOperationTypeRecId_BR
NoSalesPurchOperationType_BR.RecIdCFOPMatrixEntity
CFOPGroup_BRPoints to the CFOP group for this combination.Int64
RefRecId
YesCFOPGroup_BR.RecIdCFOPMatrixEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (3)

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

  • CFOPGroup_BR → CFOPGroup_BR

    Join on CFOPGroup_BR = CFOPGroup_BR.RecId

    Many CFOPMatrix_BR records → exactly one CFOPGroup_BR record

  • CFOPTable_BR → CFOPTable_BR

    Join on CFOPTable_BR = CFOPTable_BR.RecId

    Many CFOPMatrix_BR records → exactly one CFOPTable_BR record

  • SalesPurchOperationType_BR → SalesPurchOperationType_BR

    Join on SalesPurchOperationType_BR = SalesPurchOperationType_BR.RecId

    Many CFOPMatrix_BR records → zero or one SalesPurchOperationType_BR record

Get this data out

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

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

Email sales@drdynamics.co.uk