Table

EDInvoiceLineTR

Exchange difference invoice lines

Lines of exchange difference invoices, used for Turkey. Each line links to an exchange difference invoice and to the customer or vendor transaction it comes from. It holds the original and adjusted difference amounts with exchange rates.

Table name
EDInvoiceLineTR
Module
Cross-module and platform
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountTypeShows whether the line is for a customer or a vendor.Enum
CustVendACType (enum)
NoEDInvoiceLineEntity
AmountCurTransaction amount in the transaction currency.Real
AmountCurDebCred
NoEDInvoiceLineEntity
AmountMSTTransaction amount in the accounting currency.Real
AmountMSTDebCred
NoEDInvoiceLineEntity
AmountReportingTransaction amount in the reporting currency.Real
AmountMSTSecondary
NoEDInvoiceLineEntity
CurrencyCodeCurrency of the foreign-currency amount. It points to the currency record.String (3)
VendCurrencyCode
YesCurrency.CurrencyCodeEDInvoiceLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EDAmountExchange difference amount after adjustment.Real
Amount
NoEDInvoiceLineEntity
EDAmountReportingAdjusted exchange difference amount in the reporting currency.Real
Amount
NoEDInvoiceLineEntity
EDCalcExchange difference amount as originally calculated.Real
Amount
NoEDInvoiceLineEntity
EDCalcReportingCalculated exchange difference amount in the reporting currency.Real
Amount
NoEDInvoiceLineEntity
EDInvoiceIdIdentifier of the exchange difference invoice that the line belongs to.String (20)
EDInvoiceIdTR
YesEDInvoiceTableTR.EDInvoiceIdEDInvoiceLineEntity
ExchRateExchange rate applied to the transaction.Real
ExchRate
NoEDInvoiceLineEntity
InvoiceNumber of the invoice that the transaction is attached to.String (50)
VendInvoiceId
NoEDInvoiceLineEntity
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
ReportingCurrencyExchRateExchange rate used for the reporting currency.Real
ReportingCurrencyExchRate
NoEDInvoiceLineEntity
ResourceSource of the line, either Closed or Open.Enum
EDInvoiceResourceTR (enum)
NoEDInvoiceLineEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateDate of the transaction.Date
TransDate
NoEDInvoiceLineEntity
TransRecIdSystem record ID of the customer or vendor transaction behind the line.Int64
RefRecId
NoCustTrans.RecIdVendTrans.RecIdEDInvoiceLineEntity
VoucherVoucher number of the related transaction.String (20)
Voucher
NoEDInvoiceLineEntity

Indexes (1)

Relations (4)

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

  • EDInvoiceTableTR → EDInvoiceTableTR

    Join on EDInvoiceId = EDInvoiceTableTR.EDInvoiceId

    Many EDInvoiceLineTR records → exactly one EDInvoiceTableTR record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    One or more EDInvoiceLineTR records → exactly one Currency record

  • CustTrans → CustTrans

    Join on AccountType = null, TransRecId = CustTrans.RecId

    Many EDInvoiceLineTR records → zero or one CustTrans record

  • VendTrans → VendTrans

    Join on AccountType = 1, TransRecId = VendTrans.RecId

    Many EDInvoiceLineTR records → zero or one VendTrans record

Get this data out

Tables are not exposed directly. These public entities read from EDInvoiceLineTR; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk