Table
SalesLineHistory_BR
Sales order line information for Brazil
Stores extra Brazil-specific data for a sales order line, such as fiscal operation codes, fiscal document type, service code and tax group settings. It is keyed by the sales line (SalesLine) and has one row per line. Used for Brazil.
- Table name
SalesLineHistory_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 (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesLinePoints to the sales order line this row extends. | Int64RefRecId | No | SalesLine.RecId | None |
CFOPTable_BRPoints to the fiscal operation code (CFOP) record for the line, used for Brazil. | Int64RefRecId | No | None | |
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_BRPoints to the fiscal operation code (CFOP) used for delivery, used for Brazil. | Int64RefRecId | No | None | |
FiscalDocumentType_BRPoints to the fiscal document type for the line, used for Brazil. | Int64FiscalDocumentTypeRecID_BR | No | None | |
IndOpCode_BRPoints to the operation indicator code record for the line, used for Brazil. | Int64RefRecId | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NBSCode_BRPoints to the NBS code record for the line, used for Brazil. | Int64RefRecId | No | None | |
OverrideSalesTax_BRYes/No flag that lets the line use its own sales tax determination instead of the default. | EnumTaxIntegrationOverrideSalesTaxNoYes (enum) | 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 | |
SuframaDiscount_BRPercentage discount linked to SUFRAMA, used for Brazil. | RealSalesLinePercent | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroup_BRTax group for the Brazil tax reform, which can be changed when the override is switched on. | StringTaxGroup | No | None | |
TaxItemGroup_BRItem tax group for the Brazil tax reform, which can be changed when the override is switched on. | StringTaxItemGroup | No | None | |
TaxServiceCode_BRService code for tax purposes on the line, used for Brazil. | StringTaxServiceCodeId_BR | No | None |
Indexes (1)
SalesLineIdxReplacement keyUnique, alternate key.
Relations (1)
Each relation joins SalesLineHistory_BR to another table on the fields shown.
SalesLine→SalesLineJoin on
SalesLine = SalesLine.RecIdZero or one SalesLineHistory_BR record → exactly one SalesLine record
Get this data out
No public entity reads from SalesLineHistory_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with SalesLineHistory_BR in a report, an integration or a migration? Talk to Dr Dynamics.