Data entity

ITMLedgerJournalCostLinesPurchLineEntity

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

Entity name
ITMLedgerJournalCostLinesPurchLineEntity
Public entity name
LedgerJournalCostLinesPurchLineTable
OData collection
LedgerJournalCostLinesPurchLineTables
Category
Not set
Module
Transportation
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
JournalNum, JournalLineNumber, PurchaseOrderId, PurchaseOrderLineNumber, CostTransactionLineNumber
Staging table
ITMLedgerJournalCostLinesPurchLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/LedgerJournalCostLinesPurchLineTables
Dataverse virtual table
mserp_itmledgerjournalcostlinespurchlineentity. 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
  • PurchLine · InnerJoin to ITMLedgerJournalCostLinesBaseEntity · read-only

Fields (8)

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
PurchaseOrderLineNumberNumber of the line within the purchase order.Int64
TradeLineNumber
NoYesPurchLine.LineNumber
PurchaseOrderIdNumber of the purchase order that the line belongs to. It points to the purchase order header.String (20)
PurchIdBase
YesYesPurchTable.PurchIdPurchLine.PurchId

Foreign keys (3)

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

  • PurchaseOrderId → PurchTable.PurchId (key of PurchTable)

    Many PurchLine records → exactly one PurchTable record

    PurchTable details: see PurchPurchaseOrderHeaderV2Entity, PurchPurchaseOrderHeaderEntity, ProjSubContractPurchaseOrderHeaderEntity

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

Email sales@drdynamics.co.uk