Table

TaxFiscalDocumentLine_BR

Tax fiscal document line

Holds the lines of a tax fiscal document used for Brazil. Each line points to its parent tax fiscal document and has an amount, an item description and a sales tax code. It can also link to a CFOP code and to tax group values for the Brazil tax reform.

Table name
TaxFiscalDocumentLine_BR
Module
Fiscal books brazil
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountAmount of the line.Real
LineAmount
YesNone
CFOPTable_BRPoints to the CFOP code record used on the line.Int64
RefRecId
YesCFOPTable_BR.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionFree-text description of the item on the line.String (1000)
ItemFreeTxt
YesNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxCodeSales tax code applied to the line.String
TaxCode
YesTaxTable.TaxCodeNone
TaxFiscalDocumentPoints to the tax fiscal document that this line belongs to.Int64
RefRecId
YesTaxFiscalDocument_BR.RecIdNone
TaxGroup_ReformTax group used for the Brazil tax reform.String
TaxGroup
NoNone
TaxItemGroup_ReformItem tax group used for the Brazil tax reform.String
TaxItemGroup
NoNone

Indexes (3)

Relations (5)

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

  • CFOPTable → CFOPTable_BR

    Join on CFOPTable_BR = CFOPTable_BR.RecId

    Many TaxFiscalDocumentLine_BR records → exactly one CFOPTable_BR record

  • TaxFiscalDocument_BR → TaxFiscalDocument_BR

    Join on TaxFiscalDocument = TaxFiscalDocument_BR.RecId

    Exactly one TaxFiscalDocumentLine_BR record → exactly one TaxFiscalDocument_BR record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many TaxFiscalDocumentLine_BR records → exactly one TaxTable record

  • TaxGroupHeadingTaxServiceView → TaxGroupHeadingTaxServiceView

    Join on TaxGroup_Reform = TaxGroupHeadingTaxServiceView.TaxGroup

    Many TaxFiscalDocumentLine_BR records → exactly one TaxGroupHeadingTaxServiceView record

  • TaxItemGroupHeadingTaxServiceView → TaxItemGroupHeadingTaxServiceView

    Join on TaxItemGroup_Reform = TaxItemGroupHeadingTaxServiceView.TaxItemGroup

    Many TaxFiscalDocumentLine_BR records → exactly one TaxItemGroupHeadingTaxServiceView record

Get this data out

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

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

Email sales@drdynamics.co.uk