Data entity
CFOPMatrixEntity
Holds the CFOP matrix, used for Brazil. It links a CFOP code to a transaction type and an optional operation type. It also links to the CFOP group. The key is CFOP code, transaction type and operation type.
- Entity name
CFOPMatrixEntity- Public entity name
CFOPMatrixEntity- OData collection
CFOPMatrixEntities- Category
Not set- Module
General ledger- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
CFOPCode, TransactionType, OptionalOperationType- Staging table
CFOPMatrixStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CFOPMatrixEntities- Dataverse virtual table
mserp_cfopmatrixentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
CFOPMatrix_BR· rootCFOPGroup_BR· InnerJoin toCFOPMatrix_BR· read-onlyCFOPTable_BR· InnerJoin toCFOPMatrix_BR· read-onlySalesPurchOperationType_BR· OuterJoin toCFOPMatrix_BR· read-only
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CFOPGroupRecIdPoints to the CFOP group for this combination. | Int64RefRecId | Yes | No (private) | CFOPGroup_BR.RecId | CFOPMatrix_BR.CFOPGroup_BR |
CFOPTableRecIdPoints to the CFOP fiscal operation code. | Int64RefRecId | Yes | No (private) | CFOPTable_BR.RecId | CFOPMatrix_BR.CFOPTable_BR |
SalesPurchOperationTypeRecIdPoints to the operation type. | Int64SalesPurchOperationTypeRecId_BR | No | No (private) | SalesPurchOperationType_BR.RecId | CFOPMatrix_BR.SalesPurchOperationType_BR |
OptionalOperationTypeCode of the operation type, used for Brazil. It can be left empty, and it forms part of the key. | StringOperationTypeID_BR | No | No (private) | computed | |
CFOPCodeCFOP code. | String (5)CustVendCFOPId_BR | Yes | Yes | CFOPTable_BR.CFOPId | |
TransactionTypeKind of transaction, such as sales, purchase, fiscal document, free text invoice or transfer. | Enum
| No | Yes | CFOPMatrix_BR.Transactiontype | |
OperationTypeUnique ID of the operation type. | StringOperationTypeID_BR | Yes | Yes | SalesPurchOperationType_BR.OperationTypeID | |
CFOPGroupCode of the CFOP group. | StringCFOPGroupId_BR | Yes | Yes | CFOPGroup_BR.CFOPGroup |
Foreign keys (3)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
CFOPGroupRecId→CFOPGroup_BR.RecId(key of CFOPGroup_BR)Many CFOPMatrix_BR records → exactly one CFOPGroup_BR record
CFOPGroup_BR details: see CFOPGroupEntity, TaxesMatrixEntity
CFOPTableRecId→CFOPTable_BR.RecId(key of CFOPTable_BR)Many CFOPMatrix_BR records → exactly one CFOPTable_BR record
CFOPTable_BR details: see CFOPCodesEntity, ProjectParameterEntity, InventTransferLineFiscalInfoEntity
SalesPurchOperationTypeRecId→SalesPurchOperationType_BR.RecId(key of SalesPurchOperationType_BR)Many CFOPMatrix_BR records → zero or one SalesPurchOperationType_BR record
SalesPurchOperationType_BR details: see OperationTypeEntity, BrazilParametersEntity, ProjQuotationHeaderEntity
Need help with CFOPMatrixEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.