Table
PurchLineHistory_BR
The purchase order history table for brazil
Adds data for Brazil to a purchase order line history record, with one record per history line. It stores tax group and item tax group values for the Brazil tax reform and an override switch.
- Table name
PurchLineHistory_BR- Module
Accounts payable- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
PurchLineHistoryIdx- Replacement key
PurchLineHistoryIdx- Key fields
PurchLineHistory- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PurchLineHistoryPoints to the purchase line history record that this record extends. | Int64RefRecId | Yes | PurchLineHistory.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
OverrideSalesTax_BRYes/No flag that shows whether the sales tax setting is overridden. | 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 | |
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 used for the Brazil tax reform. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | None |
TaxItemGroup_BRItem tax group used for the Brazil tax reform. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | None |
Indexes (1)
PurchLineHistoryIdxPrimary indexReplacement keyUnique, alternate key.
Relations (3)
Each relation joins PurchLineHistory_BR to another table on the fields shown.
PurchLineHistory→PurchLineHistoryJoin on
PurchLineHistory = PurchLineHistory.RecIdZero or one PurchLineHistory_BR record → exactly one PurchLineHistory record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup_BR = TaxGroupHeading.TaxGroupMany PurchLineHistory_BR records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup_BR = TaxItemGroupHeading.TaxItemGroupMany PurchLineHistory_BR records → zero or one TaxItemGroupHeading record
Get this data out
No public entity reads from PurchLineHistory_BR. Its data is only reachable through the application, a custom entity or a database export.
Need help with PurchLineHistory_BR in a report, an integration or a migration? Talk to Dr Dynamics.