Table

TaxReportLinesTaxTrans_ES

Posted tax transactions which are source for tax report 340 lines

Links VAT report lines to posted sales tax transactions, used for Spain's tax report 340. Each record pairs one report line with one posted tax transaction.

Table name
TaxReportLinesTaxTrans_ES
Module
Tax
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
None
Replacement key
TaxReportLinesTaxTransIdx
Key fields
TaxReportLines, TaxTrans
Model
Foundation

Fields (7)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxReportLinesPoints to the tax report 340 line.Int64
TaxReportLinesRecId_ES
YesTaxReportLines.RecIdNone
TaxTransPoints to the posted sales tax transaction that is the source of the line.Int64
TaxTransRecId
YesTaxTrans.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • TaxReportLines → TaxReportLines

    Join on TaxReportLines = TaxReportLines.RecId

    One or more TaxReportLinesTaxTrans_ES records → exactly one TaxReportLines record

  • TaxTrans → TaxTrans

    Join on TaxTrans = TaxTrans.RecId

    One or more TaxReportLinesTaxTrans_ES records → exactly one TaxTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk