Data entity
TrvExpenseAgentAttachedDocumentContentEntity
Read-only view of attached expense documents for the expense agent. It is built on document references and joins the expense lines table. Each record shows the document, its file extension and size, and whether its content is available. If it is not available, a reason is given.
- Entity name
TrvExpenseAgentAttachedDocumentContentEntity- Public entity name
ExpenseAgentAttachedDocumentContent- OData collection
ExpenseAgentAttachedDocumentContents- Category
Transaction- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
No- Configuration key
Trv- Keys
EntRecId- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ExpenseAgentAttachedDocumentContents- Dataverse virtual table
mserp_trvexpenseagentattacheddocumentcontententity. 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
DocuRef· rootTrvExpTrans· InnerJoin toDocuRef· read-only
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
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 | |
ActualCompanyIdCompany that owns the document type used by this reference. | StringSelectableDataArea | No | Yes | DocuRef.ActualCompanyId | |
FileNameShort description of the document. | String (60)Description | No | Yes | DocuRef.Name | |
CreatingDateTimeThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | DocuRef.CreatedDateTime | |
ExpTransNumberNumber that identifies the expense line. | String (20)TrvExpTransNumber | No | Yes | TrvExpTrans.ExpTransNumber | |
CreatingWorkerEmployee who created the line. | Int64TrvHcmWorkerRecId | No | Yes | HcmWorker.RecId | TrvExpTrans.CreatingWorker |
IsCashExpensePurpose not clear from the metadata.low confidence | Enum
| No | Yes | DocuRef.IsCashExpense | |
FileExtensionFile extension of the attached document. | String | No | Yes | virtual | |
CapturedDocumentText value for the captured document. Its exact content is not stated in the metadata.low confidence | String | No | Yes | virtual | |
FileSizeBytesSize of the file in bytes. | Int64 | No | Yes | virtual | |
IsContentAvailableYes or no value showing whether the document content can be read. | EnumNoYesId
| No | Yes | virtual | |
ContentUnavailableReasonText giving the reason why the content is not available. | String (200) | No | Yes | virtual |
Foreign keys (1)
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.
CreatingWorker→HcmWorker.RecId(key of HcmWorker)Many TrvExpTrans records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with TrvExpenseAgentAttachedDocumentContentEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.