Data entity

SourceDocumentLineCDREntity

Read-only entity with source document lines, with status, accounting date, quantity, draft version and a final flag. Each line points to its source document and to a referenced record by table ID. It has fewer fields than the BI version, with no created-by or modified-by details.

Entity name
SourceDocumentLineCDREntity
Public entity name
SourceDocumentLineCDREntity
OData collection
SourceDocumentLineCDREntities
Category
Transaction
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
LedgerBasic
Keys
SourceKey
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/SourceDocumentLineCDREntities
Dataverse virtual table
mserp_sourcedocumentlinecdrentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Not enabled for import and export projects.

Data sources

  • SourceDocumentLine · root · read-only

Fields (16)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountingStatusThe accounting status of the line, such as draft, completed, partly distributed or cancelled.Enum
SourceDocumentLineAccountingStatus
  • None 0
  • Completed 4
  • Draft 1
  • Canceled 6
  • PartlyDistributed 2
  • Finalized 5
  • FullyDistributed 3
NoYesSourceDocumentLine.AccountingStatus
CreatedOnThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesSourceDocumentLine.CreatedDateTime
DraftVersionPurpose not clear from the metadata.low confidenceInteger
RecVersion
NoYesSourceDocumentLine.DraftVersion
ExchangeRateDateThe accounting date of the line.Date
AccountingDate
NoYesSourceDocumentLine.ExchangeRateDate
IsFinalPurpose not clear from the metadata.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesSourceDocumentLine.IsFinal
ParentSourceDocumentLineThe parent source document line, if this line sits under another one.Int64
SourceDocumentLineRecId
NoYesSourceDocumentLine.RecIdSourceDocumentLine.ParentSourceDocumentLine
SourceDocumentHeaderThe source document header that this line belongs to.Int64
SourceDocumentHeaderRecId
YesYesSourceDocumentHeader.RecIdSourceDocumentLine.SourceDocumentHeader
SourceImplementationRecIdSystem record ID of the underlying source record.Int64
RefRecId
NoYesSourceDocumentLine.SourceImplementationRecId
SourceRelationTypeID of the table that holds the underlying source record.Integer
RefTableId
YesYesSourceDocumentLine.SourceRelationType
StateContainerStored state data for the line, kept in a container field.Container
SourceDocumentLineStateContainer
NoYesSourceDocumentLine.StateContainer
TermQuantityThe quantity on the line.Real
Qty
NoYesSourceDocumentLine.TermQuantity
TypeEnumNameName of the enum that defines the source document type.String
EnumName
YesYesSourceDocumentLine.TypeEnumName
TypeEnumValueThe value of the source document type within its enum.Integer
SourceDocumentTypeEnumValue
YesYesSourceDocumentLine.TypeEnumValue
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesSourceDocumentLine.RecId
SysModifiedDateTimeThe date and time when the record was last changed.UtcDateTime
ModifiedDateTime
NoYesSourceDocumentLine.ModifiedDateTime
SysCreatedDateTimeThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesSourceDocumentLine.CreatedDateTime

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.

  • ParentSourceDocumentLine → SourceDocumentLine.RecId (key of SourceDocumentLine)

    Many SourceDocumentLine records → zero or one SourceDocumentLine record

    SourceDocumentLine details: see SourceDocumentLineBiEntity

  • SourceDocumentHeader → SourceDocumentHeader.RecId (key of SourceDocumentHeader)

    Many SourceDocumentLine records → exactly one SourceDocumentHeader record

    SourceDocumentHeader details: see SourceDocumentHeaderBiEntity

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

Email sales@drdynamics.co.uk