Data entity

VendorPaymentJournalLineSettledInvoiceEntity

Invoices settled by a vendor payment journal line. The key combines the journal company, batch number and line number with the invoice number, invoice company and due date. It shows the amount settled, the cash discount amount to take and the cross rate.

Entity name
VendorPaymentJournalLineSettledInvoiceEntity
Public entity name
VendorPaymentJournalLineSettledInvoice
OData collection
VendorPaymentJournalLineSettledInvoices
Category
Document
Module
Accounts payable
Read-only
No
Data management enabled
Yes
Configuration key
LedgerBasic
Keys
JournalLineCompany, JournalBatchNumber, JournalLineNumber, InvoiceNumber, InvoiceCompany, InvoiceDueDate
Staging table
VendorPaymentJournalLineSettledInvoiceStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/VendorPaymentJournalLineSettledInvoices
Dataverse virtual table
mserp_vendorpaymentjournallinesettledinvoiceentity. 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

  • SpecTrans · root
  • LedgerJournalTrans · InnerJoin to SpecTrans · read-only
  • AccountDAVC (table DimensionCombinationEntity) · OuterJoin to LedgerJournalTrans · read-only
  • VendTransOpen · InnerJoin to SpecTrans · read-only
  • VendTrans · InnerJoin to VendTransOpen · read-only

Fields (13)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
SettlementAmountInInvoiceCurrencyAmount settled, in the transaction currency.Real
AmountCur
YesYesSpecTrans.Balance01
CashDiscountToTakeInInvoiceCurrencyCash discount amount that can be taken.Real
CashDiscAmount
NoYesSpecTrans.CashDiscToTake
InvoiceToPaymentCrossRateCross exchange rate used for the line.Real
CrossExchRate
NoYesSpecTrans.CrossRate
JournalLineCompanyThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesLedgerJournalTrans.DataAreaId
JournalBatchNumberNumber of the journal batch that the line belongs to.String (20)
LedgerJournalId
YesYesLedgerJournalTable.JournalNumLedgerJournalTrans.JournalNum
JournalLineAccountTypeKind of account on the line, such as ledger, customer, vendor, bank or fixed asset.Enum
LedgerJournalACType
  • Ledger 0
  • Cust 1
  • Vend 2
  • Project 3
  • FixedAssets 5
  • Bank 6
  • FixedAssets_RU 12
  • Employee_RU 13
  • RDeferrals 14
  • RCash 15
NoNo (private)BankPaymentOrderJour_RU.LedgerACTypeLedgerJournalTrans.AccountType
JournalLineNumberLine number within the journal.Real
LineNum
NoYesBankPaymentOrderJour_RU.JournalLineNumLedgerJournalTrans.LineNum
InvoiceNumberVendor's invoice number.String (50)
VendInvoiceId
NoYesVendTrans.Invoice
InvoiceCompanyThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesVendTransOpen.DataAreaId
InvoiceDueDateDate the payment is due.Date
DueDate
NoYesVendTransOpen.DueDate
AccountAccount of the line, held as a dimension combination record.Int64
DimensionDynamicAccount
NoNo (private)DimensionAttributeValueCombination.RecIdLedgerJournalTrans.LedgerDimension
AccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
invoiceAccountVendor account of the settled invoice.String (20)
CustVendAC
NoYescomputed

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.

  • JournalBatchNumber → LedgerJournalTable.JournalNum (key of LedgerJournalTable)

    Many LedgerJournalTrans records → exactly one LedgerJournalTable record

    LedgerJournalTable details: see SlipJournalEntity, ExpenseJournalHeaderEntity, VendInvoiceJournalHeaderEntity

  • JournalLineAccountType → BankPaymentOrderJour_RU.LedgerACType (key of BankPaymentOrderJour_RU)

    Join on all of: JournalLineAccountType = BankPaymentOrderJour_RU.LedgerACType, TransDate (table field, not in this entity) = BankPaymentOrderJour_RU.JournalTransDate, JournalLineNumber = BankPaymentOrderJour_RU.JournalLineNum, JournalBatchNumber = BankPaymentOrderJour_RU.JournalNum, Voucher (table field, not in this entity) = BankPaymentOrderJour_RU.Voucher

    Many LedgerJournalTrans records → exactly one BankPaymentOrderJour_RU record

    BankPaymentOrderJour_RU details: see BankClientOutPaymentLogEntity

  • JournalLineNumber → BankPaymentOrderJour_RU.JournalLineNum (key of BankPaymentOrderJour_RU)

    Join on all of: JournalLineNumber = BankPaymentOrderJour_RU.JournalLineNum, TransDate (table field, not in this entity) = BankPaymentOrderJour_RU.JournalTransDate, JournalLineAccountType = BankPaymentOrderJour_RU.LedgerACType, JournalBatchNumber = BankPaymentOrderJour_RU.JournalNum, Voucher (table field, not in this entity) = BankPaymentOrderJour_RU.Voucher

    Many LedgerJournalTrans records → exactly one BankPaymentOrderJour_RU record

    BankPaymentOrderJour_RU details: see BankClientOutPaymentLogEntity

  • Account → DimensionAttributeValueCombination.RecId (key of DimensionAttributeValueCombination)

    Many LedgerJournalTrans records → zero or one DimensionAttributeValueCombination record

    DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity

Need help with VendorPaymentJournalLineSettledInvoiceEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk