Table
SalesPurchOperationType_BR
Operation type
Operation types used for Brazil, keyed by operation type ID. Each type sets whether customer or vendor transactions and inventory movements are created, and which posting profiles and item account apply.
- Table name
SalesPurchOperationType_BR- Module
Accounts receivable- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
OperationTypeIDIdx- Key fields
OperationTypeID- Model
Foundation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
OperationTypeIDUnique ID of the operation type. | StringOperationTypeID_BR | Yes | OperationTypeEntitySalesOrderHeaderV4EntitySalesOrderHeaderV3Entityand 13 more | |
CreateFinancialTransYes/No flag showing whether customer or vendor transactions are created. | EnumNoYes (enum) | No | OperationTypeEntity | |
CreateInventTransYes/No flag showing whether inventory movements are created. | EnumInventStockedProductNoYes (enum) | No | OperationTypeEntity | |
CustPostingProfileCustomer posting profile for this operation type. | StringCustPostingProfile | No | CustLedger.PostingProfile | OperationTypeEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FiscalDocumentNoteInventoryLossYes/No flag for inventory loss. When set, a fiscal document note is produced instead of a regular fiscal document. | EnumFiscalDocumentNoteInventoryLoss_BRNoYes (enum) | No | None | |
LedgerDimensionItem ledger account, with dimensions. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | OperationTypeEntity |
NameName of the operation type. | String (60)Name | No | OperationTypeEntity | |
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 | |
VendPostingProfileVendor posting profile for this operation type. | StringVendPostingProfile | No | VendLedger.PostingProfile | OperationTypeEntity |
Indexes (2)
OperationTypeIDIdxReplacement keyUnique, alternate key.
DimensionAttributeValueCombinationIdxNot unique.
Relations (3)
Each relation joins SalesPurchOperationType_BR to another table on the fields shown.
CustLedger→CustLedgerJoin on
CustPostingProfile = CustLedger.PostingProfileMany SalesPurchOperationType_BR records → exactly one CustLedger record
DimensionAttributeValueCombination→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany SalesPurchOperationType_BR records → zero or one DimensionAttributeValueCombination record
VendLedger→VendLedgerJoin on
VendPostingProfile = VendLedger.PostingProfileMany SalesPurchOperationType_BR records → exactly one VendLedger record
Get this data out
Tables are not exposed directly. These public entities read from SalesPurchOperationType_BR; use one of them in Power BI, Power Platform or a data management project.
OperationTypeEntity· 7 fields from this tableSalesOrderHeaderV4Entity· 1 field from this tableSalesOrderHeaderV3Entity· 1 field from this tablePurchPurchaseOrderHeaderV2Entity· 1 field from this tableSalesOrderHeaderV2Entity· 1 field from this tableSalesQuotationHeaderV2Entity· 1 field from this tableBrazilParametersEntity· 2 fields from this tableCFOPMatrixEntity· 1 field from this tableProjQuotationHeaderEntity· 1 field from this tableSalesOrderHeaderEntity· 1 field from this tableSalesQuotationHeaderEntity· 1 field from this tableVendorInvoiceHeaderEntity· 1 field from this tableSalesOrderHeaderV2ExistAddrReadOnlyEntity· 1 field from this tableSalesOrderHeaderV3ExistAddrReadOnlyEntity· 1 field from this tableFreeTextInvoiceHeaderEntity· 1 field from this table
Need help with SalesPurchOperationType_BR in a report, an integration or a migration? Talk to Dr Dynamics.