Data entity
EDInvoiceLineEntity
Read-only entity with the lines of exchange difference invoices, used for Turkey. Each line holds the customer or vendor, the source invoice, currency, exchange rate and amounts. It shows calculated and adjusted exchange difference amounts in both transaction and reporting currency. Keyed by record ID.
- Entity name
EDInvoiceLineEntity- Public entity name
EDInvoiceLine- OData collection
EDInvoiceLines- Category
Parameters- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
Yes- Configuration key
None- Keys
recid- Staging table
EDInvoiceLineStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/EDInvoiceLines- Dataverse virtual table
mserp_edinvoicelineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
EDInvoiceLineTR· root
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountTypeShows whether the line is for a customer or a vendor. | Enum
| No | Yes | EDInvoiceLineTR.AccountType | |
AmountCurTransaction amount in the transaction currency. | RealAmountCurDebCred | No | Yes | EDInvoiceLineTR.AmountCur | |
AmountMSTTransaction amount in the accounting currency. | RealAmountMSTDebCred | No | Yes | EDInvoiceLineTR.AmountMST | |
CurrencyCodeCurrency of the foreign-currency amount. It points to the currency record. | String (3)VendCurrencyCode | Yes | Yes | Currency.CurrencyCode | EDInvoiceLineTR.CurrencyCode |
EDInvoiceIdIdentifier of the exchange difference invoice that the line belongs to. | String (20)EDInvoiceIdTR | Yes | Yes | EDInvoiceTableTR.EDInvoiceId | EDInvoiceLineTR.EDInvoiceId |
EDAmountExchange difference amount after adjustment. | RealAmount | No | Yes | EDInvoiceLineTR.EDAmount | |
EDCalcExchange difference amount as originally calculated. | RealAmount | No | Yes | EDInvoiceLineTR.EDCalc | |
ExchRateExchange rate applied to the transaction. | RealExchRate | No | Yes | EDInvoiceLineTR.ExchRate | |
InvoiceNumber of the invoice that the transaction is attached to. | String (50)VendInvoiceId | No | Yes | EDInvoiceLineTR.Invoice | |
ResourceSource of the line, either Closed or Open. | Enum
| No | Yes | EDInvoiceLineTR.Resource | |
TransDateDate of the transaction. | DateTransDate | No | Yes | EDInvoiceLineTR.TransDate | |
TransRecIdSystem record ID of the customer or vendor transaction behind the line. | Int64RefRecId | No | Yes | CustTrans.RecIdVendTrans.RecId | EDInvoiceLineTR.TransRecId |
VoucherVoucher number of the related transaction. | String (20)Voucher | No | Yes | EDInvoiceLineTR.Voucher | |
AmountReportingTransaction amount in the reporting currency. | RealAmountMSTSecondary | No | Yes | EDInvoiceLineTR.AmountReporting | |
EDAmountReportingAdjusted exchange difference amount in the reporting currency. | RealAmount | No | Yes | EDInvoiceLineTR.EDAmountReporting | |
ReportingCurrencyExchRateExchange rate used for the reporting currency. | RealReportingCurrencyExchRate | No | Yes | EDInvoiceLineTR.ReportingCurrencyExchRate | |
EDCalcReportingCalculated exchange difference amount in the reporting currency. | RealAmount | No | Yes | EDInvoiceLineTR.EDCalcReporting |
Foreign keys (4)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
CurrencyCode→Currency.CurrencyCode(key of Currency)One or more EDInvoiceLineTR records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
EDInvoiceId→EDInvoiceTableTR.EDInvoiceId(key of EDInvoiceTableTR)Many EDInvoiceLineTR records → exactly one EDInvoiceTableTR record
EDInvoiceTableTR details: see EDInvoiceTableEntity
TransRecId→CustTrans.RecId(key of CustTrans)Relation also requires AccountType = null.
Many EDInvoiceLineTR records → zero or one CustTrans record
CustTrans details: see BusinessDocumentCustTransEntity, BusinessDocumentCustTransV2Entity, BusinessDocumentSalesInvoiceBaseEntity
TransRecId→VendTrans.RecId(key of VendTrans)Relation also requires AccountType = 1.
Many EDInvoiceLineTR records → zero or one VendTrans record
VendTrans details: see VendorPaymentJournalLineSettledInvoiceEntity, VendTransBiEntity, VendTransCDREntity
Need help with EDInvoiceLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.