Table

EDInvoiceSettlementTR

Settled transactions

Settled transactions linked to exchange difference invoices, used for Turkey. Each row ties a customer or vendor settlement to an invoice line and records the settled amounts, payment details and exchange rates.

Table name
EDInvoiceSettlementTR
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 (28)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountTypeShows whether the settlement is for a customer or a vendor.Enum
CustVendACType (enum)
NoEDInvoiceSettlementEntity
CurrencyCodeCurrency of the foreign-currency amount. It points to the currency record.String (3)
VendCurrencyCode
YesCurrency.CurrencyCodeEDInvoiceSettlementEntity
CustVendTransRecIdSystem record ID of the customer or vendor transaction that was settled.Int64
RefRecId
NoCustTrans.RecIdVendTrans.RecIdEDInvoiceSettlementEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EDAmountExchange difference amount after adjustment.Real
Amount
NoEDInvoiceSettlementEntity
EDAmountReportingAdjusted exchange difference amount in the reporting currency.Real
Amount
NoEDInvoiceSettlementEntity
EDCalcExchange difference amount as originally calculated.Real
Amount
NoEDInvoiceSettlementEntity
EDCalcReportingCalculated exchange difference amount in the reporting currency.Real
Amount
NoEDInvoiceSettlementEntity
EDInvoiceIdIdentifier of the related exchange difference invoice.String (20)
EDInvoiceIdTR
YesEDInvoiceTableTR.EDInvoiceIdEDInvoiceSettlementEntity
ExchRateExchange rate of the original transaction.Real
ExchRate
NoEDInvoiceSettlementEntity
InvoiceNumber of the invoice that the transaction is attached to.String (50)
VendInvoiceId
NoEDInvoiceSettlementEntity
InvoiceLineRecIdSystem record ID of the exchange difference invoice line this settlement relates to.Int64
RefRecId
NoEDInvoiceLineTR.RecIdEDInvoiceSettlementEntity
OffsetTransVoucherVoucher number of the offsetting transaction.String (20)
Voucher
NoEDInvoiceSettlementEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentCurrencyCodeCurrency in which the payment was made. It points to the currency record.String (3)
VendCurrencyCode
YesCurrency.CurrencyCodeEDInvoiceSettlementEntity
PaymentDateDate of the payment.Date
TransDate
NoEDInvoiceSettlementEntity
PaymentExchRateExchange rate applied to the payment.Real
ExchRate
NoEDInvoiceSettlementEntity
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
NoNone
ResourceSource of the row, either Closed or Open.Enum
EDInvoiceResourceTR (enum)
NoEDInvoiceSettlementEntity
SettleAmountCurAmount settled in the foreign currency.Real
AmountCur
NoEDInvoiceSettlementEntity
SettleAmountMSTAmount settled in the accounting currency.Real
AmountMST
NoEDInvoiceSettlementEntity
SettleAmountReportingAmount settled in the reporting currency.Real
AmountMSTSecondary
NoEDInvoiceSettlementEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateDate of the transaction.Date
TransDate
NoEDInvoiceSettlementEntity
TransRecIdSystem record ID of the customer or vendor settlement record.Int64
RefRecId
NoCustSettlement.RecIdVendSettlement.RecIdEDInvoiceSettlementEntity
VoucherVoucher number of the related transaction.String (20)
Voucher
NoEDInvoiceSettlementEntity

Indexes (3)

Relations (8)

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

  • EDInvoiceLineTR → EDInvoiceLineTR

    Join on InvoiceLineRecId = EDInvoiceLineTR.RecId

    Many EDInvoiceSettlementTR records → zero or one EDInvoiceLineTR record

  • EDInvoiceTableTR → EDInvoiceTableTR

    Join on EDInvoiceId = EDInvoiceTableTR.EDInvoiceId

    Many EDInvoiceSettlementTR records → exactly one EDInvoiceTableTR record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    One or more EDInvoiceSettlementTR records → exactly one Currency record

  • Currency_Payment → Currency

    Join on PaymentCurrencyCode = Currency.CurrencyCode

    One or more EDInvoiceSettlementTR records → exactly one Currency record

  • CustSettlementRefRec → CustSettlement

    Join on AccountType = null, TransRecId = CustSettlement.RecId

    Many EDInvoiceSettlementTR records → zero or one CustSettlement record

  • CustTransRefRec → CustTrans

    Join on AccountType = null, CustVendTransRecId = CustTrans.RecId

    Many EDInvoiceSettlementTR records → zero or one CustTrans record

  • VendSettlementRefRec → VendSettlement

    Join on AccountType = 1, TransRecId = VendSettlement.RecId

    Many EDInvoiceSettlementTR records → zero or one VendSettlement record

  • VendTransRefRec → VendTrans

    Join on AccountType = 1, CustVendTransRecId = VendTrans.RecId

    Many EDInvoiceSettlementTR records → zero or one VendTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk