Data entity

TrvExpenseCopilotUnattachedDocumentEntity

Lists documents for the expense copilot that are not yet attached to an expense. It is built on document references and joins unreconciled expense receipt data. Each record is one document, identified by its system record ID, with receipt flags and a reference.

Entity name
TrvExpenseCopilotUnattachedDocumentEntity
Public entity name
TrvExpenseCopilotUnattachedDocument
OData collection
TrvExpenseCopilotUnattachedDocuments
Category
Transaction
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Trv
Keys
EntRecId
Staging table
TrvExpenseCopilotUnattachedDocumentStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/TrvExpenseCopilotUnattachedDocuments
Dataverse virtual table
mserp_trvexpensecopilotunattacheddocumententity. 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
  • TrvUnreconciledExpenseTransaction · InnerJoin to DocuRef · read-only

Fields (24)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ActualCompanyIdCompany that owns the document type used by this reference.String
SelectableDataArea
NoYesDocuRef.ActualCompanyId
AuthorThe person who created the document reference.Int64
RefRecId
NoYesDirPerson.RecIdDocuRef.Author
DocumentCreatedByThe user who created the record.String (20)
CreatedBy
NoYesDocuRef.CreatedBy
DocumentCreatedDateTimeThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesDocuRef.CreatedDateTime
DefaultAttachmentYes/No value marking this as the default attachment.Enum
DocuDefaultAttachment
NoYes

Platform enum: values not in the metadata extract.

NoYesDocuRef.DefaultAttachment
DocumentIdUnique GUID that identifies the document.Guid
DocuDocumentId
NoYesDocuRef.DocumentId
IsJustificationPurpose not clear from the metadata.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesDocuRef.IsJustification
NotesFree-text note about the document.String (-1)
Notes
NoYesDocuRef.Notes
EntRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesDocuRef.RecId
RefCompanyIdCompany of the record that the document is attached to.String
SelectableDataArea
NoYesDocuRef.RefCompanyId
RefRecIdSystem record ID of the record the document is attached to.Int64
RefRecId
NoYesDocuRef.RefRecId
RefTableIdID of the table that holds the record the document is attached to.Integer
RefTableId
NoYesDocuRef.RefTableId
ValueRecIdLink to the document value row that holds the file or URL.Int64
RefRecId
NoYesDocuValue.RecIdDocuRef.ValueRecId
ContentTypeContent type of the file.String (50)NoYesvirtual
FileExtensionFile extension of the document.StringNoYesvirtual
FileNameShort description of the document.String (60)
Description
NoYesDocuRef.Name
ExpTransNumberNumber of the related expense transaction.String (20)NoYesvirtual
IsReceiptAttachedYes or no value showing whether a receipt is attached.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesvirtual
CapturedDocumentText value for the captured document. Its exact content is not stated in the metadata.low confidenceStringNoYesvirtual
IsReceiptValidYes or no value showing whether the receipt is valid.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYescomputed
CreatingDateTimeThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesDocuRef.CreatedDateTime
DocuRefTableNameName of the table that the document reference points to.String (40)NoYescomputed
CreatingWorkerPoints to the worker the receipt data belongs to.Int64
RefRecId
NoYesHcmWorker.RecIdTrvUnreconciledExpenseTransaction.Worker
IsCashExpensePurpose not clear from the metadata.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesDocuRef.IsCashExpense

Foreign keys (3)

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.

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

Email sales@drdynamics.co.uk