Data entity

CustomerPaymentJournalLineSettledInvoiceEntity

Holds the invoices settled by customer payment journal lines. Each record gives the amount settled, cash discount amount, cross rate, invoice, invoice company and due date. The key combines the journal line, the invoice, the invoice company and the due date.

Entity name
CustomerPaymentJournalLineSettledInvoiceEntity
Public entity name
PaymentJournalLineSettledInvoice
OData collection
PaymentJournalLineSettledInvoices
Category
Not set
Module
Accounts receivable
Read-only
No
Data management enabled
Yes
Configuration key
LedgerBasic
Keys
JournalLineCompany, JournalBatchNumber, JournalLineNumber, InvoiceNumber, InvoiceCompany, InvoiceDueDate
Staging table
CustomerPaymentJournalLineSettledInvoiceStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PaymentJournalLineSettledInvoices
Dataverse virtual table
mserp_customerpaymentjournallinesettledinvoiceentity. 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
  • CustTransOpen · InnerJoin to SpecTrans · read-only
  • CustTrans · InnerJoin to CustTransOpen · 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
InvoiceNumberInvoice number linked to the transaction.String (50)
InvoiceId
NoYesCustTrans.Invoice
InvoiceCompanyThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesCustTransOpen.DataAreaId
InvoiceDueDateDate on which payment is due.Date
DueDate
NoYesCustTransOpen.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
invoiceAccountThe customer 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 CustomerPaymentJournalLineSettledInvoiceEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk