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 description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccountingStatusThe accounting status of the line, such as draft, completed, partly distributed or cancelled. | Enum
| No | Yes | SourceDocumentLine.AccountingStatus | |
CreatedOnThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | SourceDocumentLine.CreatedDateTime | |
DraftVersionPurpose not clear from the metadata.low confidence | IntegerRecVersion | No | Yes | SourceDocumentLine.DraftVersion | |
ExchangeRateDateThe accounting date of the line. | DateAccountingDate | No | Yes | SourceDocumentLine.ExchangeRateDate | |
IsFinalPurpose not clear from the metadata.low confidence | Enum
| No | Yes | SourceDocumentLine.IsFinal | |
ParentSourceDocumentLineThe parent source document line, if this line sits under another one. | Int64SourceDocumentLineRecId | No | Yes | SourceDocumentLine.RecId | SourceDocumentLine.ParentSourceDocumentLine |
SourceDocumentHeaderThe source document header that this line belongs to. | Int64SourceDocumentHeaderRecId | Yes | Yes | SourceDocumentHeader.RecId | SourceDocumentLine.SourceDocumentHeader |
SourceImplementationRecIdSystem record ID of the underlying source record. | Int64RefRecId | No | Yes | SourceDocumentLine.SourceImplementationRecId | |
SourceRelationTypeID of the table that holds the underlying source record. | IntegerRefTableId | Yes | Yes | SourceDocumentLine.SourceRelationType | |
StateContainerStored state data for the line, kept in a container field. | ContainerSourceDocumentLineStateContainer | No | Yes | SourceDocumentLine.StateContainer | |
TermQuantityThe quantity on the line. | RealQty | No | Yes | SourceDocumentLine.TermQuantity | |
TypeEnumNameName of the enum that defines the source document type. | StringEnumName | Yes | Yes | SourceDocumentLine.TypeEnumName | |
TypeEnumValueThe value of the source document type within its enum. | IntegerSourceDocumentTypeEnumValue | Yes | Yes | SourceDocumentLine.TypeEnumValue | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | SourceDocumentLine.RecId | |
SysModifiedDateTimeThe date and time when the record was last changed. | UtcDateTimeModifiedDateTime | No | Yes | SourceDocumentLine.ModifiedDateTime | |
SysCreatedDateTimeThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | SourceDocumentLine.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.