Data entity

ITMLedgerJournalCostLinesPurchTableEntity

Shows how the amount on a vendor cost invoice journal line is distributed to whole purchase orders. Each record links a journal line and a cost transaction line to a purchase order, with the allocated amount.

Entity name
ITMLedgerJournalCostLinesPurchTableEntity
Public entity name
LedgerJournalCostLinesPurchTable
OData collection
LedgerJournalCostLinesPurchTables
Category
Not set
Module
Transportation
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
JournalNum, JournalLineNumber, PurchaseOrderId, CostTransactionLineNumber
Staging table
ITMLedgerJournalCostLinesPurchTableStaging

Use it in Power BI and Power Platform

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

  • ITMLedgerJournalCostLinesBaseEntity · root
  • PurchTable · InnerJoin to ITMLedgerJournalCostLinesBaseEntity · read-only

Fields (7)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AmountAmount allocated from the journal line to the voyage cost transaction; currency not stated in the metadata.Real
AmountCur
NoYesITMLedgerJournalCostLines.Amount
JournalLineNumberLine number within the journal.Real
LineNum
NoYesBankPaymentOrderJour_RU.JournalLineNumLedgerJournalTrans.LineNum
JournalNumNumber of the journal batch that the line belongs to.String (20)
LedgerJournalId
NoYesLedgerJournalTable.JournalNumLedgerJournalTrans.JournalNum
CostTransactionLineNumberLine number within the referenced record.Real
LineNum
NoYesITMCostTrans.LineNum
CostTransactionRecordIdRecord ID of the record this cost line belongs to.Int64
RefRecId
NoNo (private)ITMCostTrans.TransRecId
CostTransactionTableIdTable ID of the table that holds the record this cost line belongs to.Integer
RefTableId
NoNo (private)ITMCostTrans.TransTableId
PurchaseOrderIdPurchase order number. It identifies the order.String (20)
PurchIdBase
YesYesPurchTable.PurchId

Foreign keys (2)

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.

  • 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, AccountType (table field, not in this entity) = BankPaymentOrderJour_RU.LedgerACType, JournalNum = 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

  • JournalNum → LedgerJournalTable.JournalNum (key of LedgerJournalTable)

    Many LedgerJournalTrans records → exactly one LedgerJournalTable record

    LedgerJournalTable details: see SlipJournalEntity, ExpenseJournalHeaderEntity, VendInvoiceJournalHeaderEntity

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

Email sales@drdynamics.co.uk