Table
SalesLine_BR
Sales order line information for Brazil
Extra Brazil-specific data for a sales order line, one row per line (keyed by the sales line). It holds fiscal codes such as CFOP, NBS, service code and operation indicator, plus tax group settings for the Brazil tax reform.
- Table name
SalesLine_BR- Module
Accounts receivable- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
SalesLineIdx- Key fields
SalesLine- Model
Foundation
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesLineSales order line this record extends. | Int64RefRecId | No | SalesLine.RecId | SalesLineBRBiEntity |
CFOPTable_BRCFOP code record for the line. | Int64RefRecId | No | CFOPTable_BR.RecId | SalesLineBRBiEntitySalesOrderLineV3EntitySalesOrderLineV2Entity |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryCFOPTable_BRCFOP code record used for the delivery. | Int64RefRecId | No | CFOPTable_BR.RecId | SalesLineBRBiEntitySalesOrderLineV3EntitySalesOrderLineV2Entityand 1 more |
FiscalDocumentType_BRFiscal document type for the line. | Int64FiscalDocumentTypeRecID_BR | No | FiscalDocumentType_BR.RecId | SalesLineBRBiEntitySalesOrderLineV3EntitySalesOrderLineV2Entity |
IndOpCode_BROperation indicator code linked to the line. | Int64RefRecId | No | IndOpCodes_BR.RecId | SalesLineBRBiEntity |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NBSCode_BRNBS code linked to the line. | Int64RefRecId | No | NBSCodes_BR.RecId | SalesLineBRBiEntity |
OverrideSalesTax_BRYes/No flag that allows the tax reform tax settings to be overridden. | EnumTaxIntegrationOverrideSalesTaxNoYes (enum) | No | SalesLineBRBiEntitySalesOrderLineV3Entity | |
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 | SalesLineBRBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SuframaDiscount_BRSUFRAMA discount percentage for the line. | RealSalesLinePercent | No | SalesLineBRBiEntitySalesOrderLineV3EntitySalesOrderLineV2Entity | |
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 | |
TaxGroup_BRTax group for the tax reform, taken from the advanced tax engine unless overridden. | StringTaxGroup | No | SalesLineBRBiEntitySalesOrderLineV3Entity | |
TaxItemGroup_BRItem tax group for the tax reform, taken from the advanced tax engine unless overridden. | StringTaxItemGroup | No | SalesLineBRBiEntitySalesOrderLineV3Entity | |
TaxServiceCode_BRService code for the line. | StringTaxServiceCodeId_BR | No | SalesLineBRBiEntitySalesOrderLineV3EntitySalesOrderLineV2Entity |
Indexes (5)
FiscalDocumentType_BRIdxNot unique.
CFOPTable_BRIdx1Not unique.
CFOPTable_BRIdxNot unique.
TaxServiceCode_BRIdxNot unique.
SalesLineIdxReplacement keyUnique, alternate key.
Relations (9)
Each relation joins SalesLine_BR to another table on the fields shown.
CFOPTable_BR→CFOPTable_BRJoin on
CFOPTable_BR = CFOPTable_BR.RecIdMany SalesLine_BR records → exactly one CFOPTable_BR record
DeliveryCFOPTable_BR→CFOPTable_BRJoin on
DeliveryCFOPTable_BR = CFOPTable_BR.RecIdMany SalesLine_BR records → zero or one CFOPTable_BR record
FiscalDocumentType_BR→FiscalDocumentType_BRJoin on
FiscalDocumentType_BR = FiscalDocumentType_BR.RecIdMany SalesLine_BR records → exactly one FiscalDocumentType_BR record
SalesLine→SalesLineJoin on
SalesLine = SalesLine.RecIdZero or one SalesLine_BR record → exactly one SalesLine record
TaxServiceCode_BR→TaxServiceCode_BRJoin on
TaxServiceCode_BR = TaxServiceCode_BR.ServiceCodeIdMany SalesLine_BR records → zero or one TaxServiceCode_BR record
TaxGroupHeadingTaxServiceView→TaxGroupHeadingTaxServiceViewJoin on
TaxGroup_BR = TaxGroupHeadingTaxServiceView.TaxGroupMany SalesLine_BR records → zero or one TaxGroupHeadingTaxServiceView record
TaxItemGroupHeadingTaxServiceView→TaxItemGroupHeadingTaxServiceViewJoin on
TaxItemGroup_BR = TaxItemGroupHeadingTaxServiceView.TaxItemGroupMany SalesLine_BR records → zero or one TaxItemGroupHeadingTaxServiceView record
NBSCodes_BR→NBSCodes_BRJoin on
NBSCode_BR = NBSCodes_BR.RecIdMany SalesLine_BR records → exactly one NBSCodes_BR record
IndOpCodes_BR→IndOpCodes_BRJoin on
IndOpCode_BR = IndOpCodes_BR.RecIdMany SalesLine_BR records → exactly one IndOpCodes_BR record
Get this data out
Tables are not exposed directly. These public entities read from SalesLine_BR; use one of them in Power BI, Power Platform or a data management project.
SalesLineBRBiEntity· 12 fields from this tableSalesOrderLineV3Entity· 8 fields from this tableSalesOrderLineV2Entity· 5 fields from this tableProjSalesItemRequirementEntity· 1 field from this table
Need help with SalesLine_BR in a report, an integration or a migration? Talk to Dr Dynamics.