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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DefinitionGroupName of the processing group used for the import job.String (60)
DMFDefinitionGroupName
YesNone
ExecutionIdID of the import job that handled this record.String (90)
DMFExecutionId
YesNone
DocumentIdUnique ID (GUID) of the receipt document. It points to the matching record in TrvReceiptEntity.Guid
DocuDocumentId
NoNone
ActualCompanyIdCompany the record belongs to.String
SelectableDataArea
NoNone
FileContentsThe receipt file stored as an archive in binary form.Container
Bitmap
NoNone
FileNameName of the receipt file.String (259)
Filename
NoNone
FileTypeType of the receipt file.String (259)
FilenameType
NoNone
IsSelectedYes/No flag that marks the record as selected.Enum
DMFIsSelected
NoYes (enum)
NoNone
NameShort description of the document.String (60)
Description
NoNone
NotesFree-text note about the document.String (-1)
Notes
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefRecIdSystem record ID of the record that the document is attached to.Int64
RecId
NoNone
RefTableIdID of the table that the document is attached to.Integer
TableId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateTransaction date of the receipt.Date
TrvTransDate
YesNone
TransferStatusShows how far the record has moved from staging to the target: not started, completed, error, validated or duplicate.Enum
DMFTransferStatus (enum)
NoNone
TypeIdIdentifier of the document type.String (20)
DocuTypeId
YesNone
WorkerReference to a worker record, stored as a system record ID.low confidenceInt64
RefRecId
YesNone

Indexes (1)

Relations (1)

Each relation joins TrvReceiptEntityStaging to another table on the fields shown.

  • DataEntity → TrvReceiptEntity

    Join on DocumentId = TrvReceiptEntity.DocumentId

    Exactly 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.

Email sales@drdynamics.co.uk