Table

TrvReceiptOcrInfo

Receipt details

Holds details read from an expense receipt, such as date, time, merchant, amounts and expense category. Each row is keyed by a document reference and also points to a worker. It is used with travel and expense receipts.

Table name
TrvReceiptOcrInfo
Module
Expense
Table group
Worksheet
Table type
Regular
Data per company
Yes
Configuration key
ExpenseTravelRequisition
Primary index
DocuRefRecIdx
Replacement key
None
Key fields
DocuRefRecId
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DocuRefRecIdThe attached document (receipt) this row describes. It points to a document reference record.Int64
RefRecId
YesDocuRef.RecIdNone
CostTypeThe expense category of the receipt.String (30)
TrvCostTypeEDT
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyThe currency code for the receipt amounts.String (20)
TrvAmountCurrency
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
HcmWorkerThe worker this receipt information belongs to. It points to a worker record.Int64
RefRecId
NoHcmWorker.RecIdNone
IsCreditCardExpenseShows whether the expense was paid with a corporate card (Yes or No).Enum
NoYesId
NoYes (enum)
NoNone
MerchantThe merchant named on the receipt.String (255)
TrvExpMerchantId
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
SubTotalAmountThe subtotal amount of the expense on the receipt.Real
TrvTotalExpenseAmount
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TotalAmountThe total amount billed on the receipt.Real
TrvTotalBilledAmount
NoNone
TransDateThe date on the receipt or of the expense.Date
TrvTransDate
NoNone
TransTimeThe time shown on the receipt.Time
TrvExpTime
NoNone

Indexes (2)

Relations (2)

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

  • DocuRef → DocuRef

    Join on DocuRefRecId = DocuRef.RecId

    Exactly one TrvReceiptOcrInfo record → zero or one DocuRef record

  • HcmWorker → HcmWorker

    Join on HcmWorker = HcmWorker.RecId

    Zero or one TrvReceiptOcrInfo record → exactly one HcmWorker record

Get this data out

No public entity reads from TrvReceiptOcrInfo. Its data is only reachable through the application, a custom entity or a database export.

Need help with TrvReceiptOcrInfo in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk