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 · root
  • CFOPGroup_BR · InnerJoin to CFOPMatrix_BR · read-only
  • CFOPTable_BR · InnerJoin to CFOPMatrix_BR · read-only
  • SalesPurchOperationType_BR · OuterJoin to CFOPMatrix_BR · read-only

Fields (8)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CFOPGroupRecIdPoints to the CFOP group for this combination.Int64
RefRecId
YesNo (private)CFOPGroup_BR.RecIdCFOPMatrix_BR.CFOPGroup_BR
CFOPTableRecIdPoints to the CFOP fiscal operation code.Int64
RefRecId
YesNo (private)CFOPTable_BR.RecIdCFOPMatrix_BR.CFOPTable_BR
SalesPurchOperationTypeRecIdPoints to the operation type.Int64
SalesPurchOperationTypeRecId_BR
NoNo (private)SalesPurchOperationType_BR.RecIdCFOPMatrix_BR.SalesPurchOperationType_BR
OptionalOperationTypeCode of the operation type, used for Brazil. It can be left empty, and it forms part of the key.String
OperationTypeID_BR
NoNo (private)computed
CFOPCodeCFOP code.String (5)
CustVendCFOPId_BR
YesYesCFOPTable_BR.CFOPId
TransactionTypeKind of transaction, such as sales, purchase, fiscal document, free text invoice or transfer.Enum
SalesPurchTrntype_BR
  • Sales 0
  • Purchase 1
  • TaxTransfer 2
  • FreeTextInvoice 3
  • FiscalEstablishmentTransfer 4
  • ThirdPartyTransfer 5
  • ItemRequirement 6
NoYesCFOPMatrix_BR.Transactiontype
OperationTypeUnique ID of the operation type.String
OperationTypeID_BR
YesYesSalesPurchOperationType_BR.OperationTypeID
CFOPGroupCode of the CFOP group.String
CFOPGroupId_BR
YesYesCFOPGroup_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.

Need help with CFOPMatrixEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk