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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CFOPTable_BRPoints to the CFOP fiscal operation code. | Int64RefRecId | Yes | CFOPTable_BR.RecId | CFOPMatrixEntity |
TransactiontypeKind of transaction, such as sales, purchase, fiscal document, free text invoice or transfer. | EnumSalesPurchTrntype_BR (enum) | No | CFOPMatrixEntity | |
SalesPurchOperationType_BRPoints to the operation type. | Int64SalesPurchOperationTypeRecId_BR | No | SalesPurchOperationType_BR.RecId | CFOPMatrixEntity |
CFOPGroup_BRPoints to the CFOP group for this combination. | Int64RefRecId | Yes | CFOPGroup_BR.RecId | CFOPMatrixEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
CFOPMatrixIdxReplacement keyCFOPTable_BR,Transactiontype,SalesPurchOperationType_BRUnique, alternate key.
GroupIdxNot unique.
SalesPurchOperationType_BRIdxNot unique.
Relations (3)
Each relation joins CFOPMatrix_BR to another table on the fields shown.
CFOPGroup_BR→CFOPGroup_BRJoin on
CFOPGroup_BR = CFOPGroup_BR.RecIdMany CFOPMatrix_BR records → exactly one CFOPGroup_BR record
CFOPTable_BR→CFOPTable_BRJoin on
CFOPTable_BR = CFOPTable_BR.RecIdMany CFOPMatrix_BR records → exactly one CFOPTable_BR record
SalesPurchOperationType_BR→SalesPurchOperationType_BRJoin on
SalesPurchOperationType_BR = SalesPurchOperationType_BR.RecIdMany 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.
CFOPMatrixEntity· 4 fields from this table
Need help with CFOPMatrix_BR in a report, an integration or a migration? Talk to Dr Dynamics.