Table

PurchLine_BR

Purchase order line for brazil

Adds data for Brazil to a purchase order line, with one record per line. It stores tax group and item tax group values for the Brazil tax reform and a switch to override the sales tax setting.

Table name
PurchLine_BR
Module
Accounts payable
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
PurchLineIdx
Replacement key
PurchLineIdx
Key fields
PurchLine
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchLinePoints to the purchase order line that this record extends.Int64
RefRecId
YesPurchLine.RecIdNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OverrideSalesTax_BRYes/No flag that turns on the override of the sales tax setting.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
NoNone
TaxItemGroup_BRItem tax group used for the Brazil tax reform.String
TaxItemGroup
NoNone

Indexes (1)

  • PurchLineIdxPrimary indexReplacement key

    PurchLine

    Unique, alternate key.

Relations (3)

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

  • PurchLine → PurchLine

    Join on PurchLine = PurchLine.RecId

    Zero or one PurchLine_BR record → exactly one PurchLine record

  • TaxGroupHeadingTaxServiceView → TaxGroupHeadingTaxServiceView

    Join on TaxGroup_BR = TaxGroupHeadingTaxServiceView.TaxGroup

    Many PurchLine_BR records → zero or one TaxGroupHeadingTaxServiceView record

  • TaxItemGroupHeadingTaxServiceView → TaxItemGroupHeadingTaxServiceView

    Join on TaxItemGroup_BR = TaxItemGroupHeadingTaxServiceView.TaxItemGroup

    Many PurchLine_BR records → zero or one TaxItemGroupHeadingTaxServiceView record

Get this data out

No public entity reads from PurchLine_BR. Its data is only reachable through the application, a custom entity or a database export.

Need help with PurchLine_BR in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk