Data entity

PlSADDocumentInvoiceLineLedgerJournalEntity

Holds the invoice item lines for SAD documents entered from the general journal. Each line gives the amount, position, item commodity code and a dimension combination. It also shows the invoice and the SAD number and date. The key is the record ID.

Entity name
PlSADDocumentInvoiceLineLedgerJournalEntity
Public entity name
SADDocumentInvoiceLineLedgerJournal
OData collection
SADDocumentInvoiceLineLedgerJournals
Category
Document
Module
General ledger
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
RecordId
Staging table
PlSADDocumentInvoiceLineLedgerJournalStaging

Use it in Power BI and Power Platform

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

  • PlSADFinanceInvTrans · root
  • LedgerAccountDAVC (table DimensionCombinationEntity) · OuterJoin to PlSADFinanceInvTrans · read-only

Fields (10)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AmountAmount of the line in currency.Real
AmountCur
NoYesPlSADFinanceInvTrans.AmountCur
InvoiceDateDate of the invoice.Date
InvoiceDate
NoYesPlSADFinanceInvTrans.InvoiceDate
InvoiceInvoice number that the line belongs to.String (50)
InvoiceId
YesYesPlSADFinanceInvoice.InvoiceIdPlSADFinanceInvTrans.InvoiceId
LedgerAccountLedger account combination for the line.Int64
LedgerDimensionAccount
NoNo (private)DimensionAttributeValueCombination.RecIdPlSADFinanceInvTrans.LedgerDimension
SADDateDate of the SAD document.Date
PlSADDate
NoYesPlSADFinanceTable.SADDatePlSADFinanceInvTrans.SADDate
PositionPosition number of the related SAD document line.Integer
PlSADInvoiceLineNo
YesYesPlSADFinanceLines.SADLineNoPlSADFinanceInvTrans.SADInvoiceLineNo
ItemCommodityCodeCommodity code of the item.String
PlSADItemCode
YesYesPlSADItemAccounts.SADItemCodePlSADFinanceInvTrans.SADItemCode
SADNumberNumber of the SAD document.String (15)
PlSADFinanceNumber
NoYesPlSADFinanceTable.SADNumberPlSADFinanceInvTrans.SADNumber
LedgerAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
RecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesPlSADFinanceInvTrans.RecId

Foreign keys (6)

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.

  • Invoice → PlSADFinanceInvoice.InvoiceId (key of PlSADFinanceInvoice)

    Join on all of: Invoice = PlSADFinanceInvoice.InvoiceId, SADDate = PlSADFinanceInvoice.SADDate, SADNumber = PlSADFinanceInvoice.SADNumber

    Many PlSADFinanceInvTrans records → zero or one PlSADFinanceInvoice record

    PlSADFinanceInvoice details: see PlSADDocumentInvoiceLedgerJournalEntity

  • LedgerAccount → DimensionAttributeValueCombination.RecId (key of DimensionAttributeValueCombination)

    Many PlSADFinanceInvTrans records → zero or one DimensionAttributeValueCombination record

    DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity

  • SADDate → PlSADFinanceTable.SADDate (key of PlSADFinanceTable)

    Join on all of: SADDate = PlSADFinanceTable.SADDate, SADNumber = PlSADFinanceTable.SADNumber

    Many PlSADFinanceInvTrans records → exactly one PlSADFinanceTable record

    PlSADFinanceTable details: see PlSADDocumentLedgerJournalEntity

  • Position → PlSADFinanceLines.SADLineNo (key of PlSADFinanceLines)

    Join on all of: Position = PlSADFinanceLines.SADLineNo, SADDate = PlSADFinanceLines.SADDate, SADNumber = PlSADFinanceLines.SADNumber

    Many PlSADFinanceInvTrans records → zero or one PlSADFinanceLines record

    PlSADFinanceLines details: see PlSADDocumentLineLedgerJournalEntity

  • ItemCommodityCode → PlSADItemAccounts.SADItemCode (key of PlSADItemAccounts)

    One or more PlSADFinanceInvTrans records → exactly one PlSADItemAccounts record

    PlSADItemAccounts details: see PlSADItemCodeEntity

  • SADNumber → PlSADFinanceTable.SADNumber (key of PlSADFinanceTable)

    Join on all of: SADNumber = PlSADFinanceTable.SADNumber, SADDate = PlSADFinanceTable.SADDate

    Many PlSADFinanceInvTrans records → exactly one PlSADFinanceTable record

    PlSADFinanceTable details: see PlSADDocumentLedgerJournalEntity

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

Email sales@drdynamics.co.uk