Table
TrvReceiptEntityStaging
Receipt Optical Character Recognition Entity
Staging table for the Receipt Optical Character Recognition entity. It holds imported receipt documents, with the file content, file name and type, before they are moved to the target. The key is processing group, job ID and document ID, and it links to the TrvReceiptEntity target.
- Table name
TrvReceiptEntityStaging- Module
Cross-module and platform- Table group
Staging- Table type
Regular- Data per company
No- Configuration key
None- Primary index
StagingIdx- Replacement key
StagingIdx- Key fields
DefinitionGroup, ExecutionId, DocumentId- Model
Foundation
Fields (20)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DefinitionGroupName of the processing group used for the import job. | String (60)DMFDefinitionGroupName | Yes | None | |
ExecutionIdID of the import job that handled this record. | String (90)DMFExecutionId | Yes | None | |
DocumentIdUnique ID (GUID) of the receipt document. It points to the matching record in TrvReceiptEntity. | GuidDocuDocumentId | No | None | |
ActualCompanyIdCompany the record belongs to. | StringSelectableDataArea | No | None | |
FileContentsThe receipt file stored as an archive in binary form. | ContainerBitmap | No | None | |
FileNameName of the receipt file. | String (259)Filename | No | None | |
FileTypeType of the receipt file. | String (259)FilenameType | No | None | |
IsSelectedYes/No flag that marks the record as selected. | EnumDMFIsSelectedNoYes (enum) | No | None | |
NameShort description of the document. | String (60)Description | No | None | |
NotesFree-text note about the document. | String (-1)Notes | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefRecIdSystem record ID of the record that the document is attached to. | Int64RecId | No | None | |
RefTableIdID of the table that the document is attached to. | IntegerTableId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateTransaction date of the receipt. | DateTrvTransDate | Yes | None | |
TransferStatusShows how far the record has moved from staging to the target: not started, completed, error, validated or duplicate. | EnumDMFTransferStatus (enum) | No | None | |
TypeIdIdentifier of the document type. | String (20)DocuTypeId | Yes | None | |
WorkerReference to a worker record, stored as a system record ID.low confidence | Int64RefRecId | Yes | None |
Indexes (1)
StagingIdxPrimary indexReplacement keyDefinitionGroup,ExecutionId,DocumentIdUnique, alternate key.
Relations (1)
Each relation joins TrvReceiptEntityStaging to another table on the fields shown.
DataEntity→TrvReceiptEntityJoin on
DocumentId = TrvReceiptEntity.DocumentIdExactly one TrvReceiptEntityStaging record → zero or one TrvReceiptEntity record
Get this data out
No public entity reads from TrvReceiptEntityStaging. Its data is only reachable through the application, a custom entity or a database export.
Need help with TrvReceiptEntityStaging in a report, an integration or a migration? Talk to Dr Dynamics.