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 descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchLineHistoryPoints to the purchase line history record that this record extends.Int64
RefRecId
YesPurchLineHistory.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
OverrideSalesTax_BRYes/No flag that shows whether the sales tax setting is overridden.Enum
TaxIntegrationOverrideSalesTax
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroup_BRTax group used for the Brazil tax reform.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroup_BRItem tax group used for the Brazil tax reform.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone

Indexes (1)

  • PurchLineHistoryIdxPrimary indexReplacement key

    PurchLineHistory

    Unique, alternate key.

Relations (3)

Each relation joins PurchLineHistory_BR to another table on the fields shown.

  • PurchLineHistory → PurchLineHistory

    Join on PurchLineHistory = PurchLineHistory.RecId

    Zero or one PurchLineHistory_BR record → exactly one PurchLineHistory record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup_BR = TaxGroupHeading.TaxGroup

    Many PurchLineHistory_BR records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup_BR = TaxItemGroupHeading.TaxItemGroup

    Many 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.

Email sales@drdynamics.co.uk