Data entity
TrvExpMobileDocumentEntity
Holds documents for the expense mobile app. It is built on document references, and each record is identified by its system record ID. It shows whether the document is a receipt and whether it is attached to an expense.
- Entity name
TrvExpMobileDocumentEntity- Public entity name
ExpMobileDocument- OData collection
ExpMobileDocuments- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Trv- Keys
EntRecId- Staging table
TrvExpMobileDocumentStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ExpMobileDocuments- Dataverse virtual table
mserp_trvexpmobiledocumententity. 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
DocuRef· root
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ActualCompanyIdCompany that owns the document type used by this reference. | StringSelectableDataArea | No | Yes | DocuRef.ActualCompanyId | |
AuthorThe person who created the document reference. | Int64RefRecId | No | Yes | DirPerson.RecId | DocuRef.Author |
CreatedBy1The user who created the record. | String (20)CreatedBy | No | Yes | DocuRef.CreatedBy | |
CreatedDateTime1The date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | DocuRef.CreatedDateTime | |
DefaultAttachmentYes/No value marking this as the default attachment. | EnumDocuDefaultAttachment
| No | Yes | DocuRef.DefaultAttachment | |
DocumentIdUnique GUID that identifies the document. | GuidDocuDocumentId | No | Yes | DocuRef.DocumentId | |
IsJustificationPurpose not clear from the metadata.low confidence | Enum
| No | Yes | DocuRef.IsJustification | |
NameShort description of the document. | String (60)Description | No | Yes | DocuRef.Name | |
NotesFree-text note about the document. | String (-1)Notes | No | Yes | DocuRef.Notes | |
EntRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | DocuRef.RecId | |
RefCompanyIdCompany of the record that the document is attached to. | StringSelectableDataArea | No | Yes | DocuRef.RefCompanyId | |
RefRecIdSystem record ID of the record the document is attached to. | Int64RefRecId | No | Yes | DocuRef.RefRecId | |
RefTableIdID of the table that holds the record the document is attached to. | IntegerRefTableId | No | Yes | DocuRef.RefTableId | |
ValueRecIdLink to the document value row that holds the file or URL. | Int64RefRecId | No | Yes | DocuValue.RecId | DocuRef.ValueRecId |
ContentTypeContent type of the file. | String | No | Yes | virtual | |
FileExtensionFile extension of the document. | String | No | Yes | virtual | |
FileNameShort description of the document. | String (60)Description | No | Yes | DocuRef.Name | |
ExpTransNumberNumber of the related expense transaction. | String | No | Yes | virtual | |
CapturedReceiptText value for the captured receipt. Its exact content is not stated in the metadata.low confidence | String | No | Yes | virtual | |
IsReceiptAttachedYes or no value showing whether a receipt is attached. | EnumNoYesId
| No | Yes | virtual | |
IsAttachedToExpenseWhole-number flag showing whether the document is attached to an expense. | Integer | No | Yes | virtual | |
CapturedDocumentText value for the captured document. Its exact content is not stated in the metadata.low confidence | String | No | Yes | virtual |
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.
ValueRecId→DocuValue.RecId(key of DocuValue)Many DocuRef records → zero or one DocuValue record
DocuValue details: see EcoResProductDocumentAttachmentEntity, EcoResReleasedProductDocumentAttachmentEntity, EntAssetMaintenanceRequestDocumentAttachmentEntity
Need help with TrvExpMobileDocumentEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.