Data entity
TrvExpMobileReceiptEntity
Document references used as receipts in the expense mobile app. Each record describes one document, including its type, author, description and the record it refers to. The key is the reference record ID.
- Entity name
TrvExpMobileReceiptEntity- Public entity name
ExpMobileReceipt- OData collection
ExpMobileReceipts- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
None- Keys
RefRecId- Staging table
TrvExpMobileReceiptStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ExpMobileReceipts- Dataverse virtual table
mserp_trvexpmobilereceiptentity. 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 (32)
| 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 |
ContactPersonIdID of the contact person linked to the document. | String (20)ContactPersonId | No | Yes | DocuRef.ContactPersonId | |
CreatedByCopy1The user who created the record. | String (20)CreatedBy | No | Yes | DocuRef.CreatedBy | |
CreatedDateTimeCopy1The 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 | |
EncyclopediaItemIdID of the knowledge article item linked to the document. | StringsmmEncyclopediaItemId | No | Yes | DocuRef.EncyclopediaItemId | |
InterCompanySkipUpdateOption that sets whether internal, intercompany or both kinds of update are skipped. | Enum
| No | Yes | DocuRef.InterCompanySkipUpdate | |
IsJustificationPurpose not clear from the metadata.low confidence | Enum
| No | Yes | DocuRef.IsJustification | |
ModifiedByCopy1The user who last changed the record. | String (20)ModifiedBy | No | Yes | DocuRef.ModifiedBy | |
ModifiedDateTimeCopy1The date and time when the record was last changed. | UtcDateTimeModifiedDateTime | No | Yes | DocuRef.ModifiedDateTime | |
FileNameShort description of the document. | String (60)Description | No | Yes | DocuRef.Name | |
NotesFree-text note about the document. | String (-1)Notes | No | Yes | DocuRef.Notes | |
PartitionCopy1A system field for the data partition. In most environments every record has the same value. | Int64Partition | No | Yes | DocuRef.Partition | |
PartyGlobal address book party linked to the document reference. | Int64RefRecId | No | Yes | DirPartyTable.RecId | DocuRef.Party |
RecIdCopy1A unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | DocuRef.RecId | |
RecVersionCopy1A system number that changes each time the record is updated. It is used to detect conflicting updates. | IntegerRecVersion | No | Yes | DocuRef.RecVersion | |
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 | |
RestrictionShows whether the document is internal or external. | Enum
| No | Yes | DocuRef.Restriction | |
smmEMailEntryIDEntry ID of an email item, used by sales and marketing. | String (255)smmEMailEntryID | No | Yes | DocuRef.smmEMailEntryID | |
smmEMailStoreIDStore ID of the mailbox where an email item is kept, used by sales and marketing. | String (300)smmEMailStoreID | No | Yes | DocuRef.smmEMailStoreID | |
smmTableFlag linked to the sales and marketing table.low confidence | Enum
| No | Yes | DocuRef.smmTable | |
TypeIdDocument type of the reference. | String (20)DocuTypeId | No | Yes | DocuType.TypeId | DocuRef.TypeId |
ValueRecIdLink to the document value row that holds the file or URL. | Int64RefRecId | No | Yes | DocuValue.RecId | DocuRef.ValueRecId |
CapturedReceiptContent of the captured receipt, as text.low confidence | String | No | Yes | virtual | |
ContentTypeContent type of the document file, which describes its file format. | String (50) | No | Yes | virtual | |
FileExtensionFile extension of the document. | String | No | Yes | virtual | |
IsAttachedToExpenseWhole number showing whether the receipt is attached to an expense. The meaning of each value is not stated in the metadata.low confidence | Integer | No | Yes | virtual | |
DocuRefRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | DocuRef.RecId |
Foreign keys (4)
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.
Party→DirPartyTable.RecId(key of DirPartyTable)Many DocuRef records → zero or one DirPartyTable record
DirPartyTable details: see CustFoundationEntity, smmContactPersonV2Entity, CustCustomerV3Entity
TypeId→DocuType.TypeId(key of DocuType)Join on all of:
TypeId=DocuType.TypeId,ActualCompanyId=DocuType.dataAreaIdMany DocuRef records → exactly one DocuType record
DocuType details: see DocuTypeEntity, EcoResProductDocumentAttachmentEntity, EcoResReleasedProductDocumentAttachmentEntity
ValueRecId→DocuValue.RecId(key of DocuValue)Many DocuRef records → zero or one DocuValue record
DocuValue details: see EcoResProductDocumentAttachmentEntity, EcoResReleasedProductDocumentAttachmentEntity, EntAssetMaintenanceRequestDocumentAttachmentEntity
Need help with TrvExpMobileReceiptEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.