Table

TrvExpenseTaxRecovery

Recoverable taxes

Holds recoverable tax details for an expense line, such as the receipt, the tax groups, the recoverable amount and a recovery status. Each row points to an expense line. It has no defined key.

Table name
TrvExpenseTaxRecovery
Module
Expense
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
Trv
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CommentsFree-text comments on the tax recovery.String (255)
TrvTaxRecoveryCommentsEDT
NoNone
CountryRegionCountry or region code. It points to the country/region table.String
AddressCountryRegionId
NoLogisticsAddressCountryRegion.CountryRegionIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExpTransRecIdPoints to the expense line (by system record ID).Int64
RefRecId
NoTrvExpTrans.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReceiptDateDate shown on the receipt.Date
TrvDateStd
NoNone
ReceiptNumberNumber shown on the receipt.String (60)
TrvReceiptNumber
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
StatusStatus of the tax recovery. Values include Not submitted, In review, Returned, Ready for recovery, Not recoverable, Submitted and Sent for recovery.Enum
TrvTaxRecoveryStatusEDT
TrvTaxRecoveryStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroupSales tax group. It points to the sales tax group table.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupItem sales tax group. It points to the item sales tax group table.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
TaxRecoverableAmountThe tax amount that can be recovered, in the transaction currency.Real
AmountCur
NoNone
TaxRecoverableCurrencyCodeCurrency code for the recoverable tax amount. It points to the currency table.String (3)
TrvCurrencyCode
NoCurrency.CurrencyCodeNone
TaxRecoveryNumberNumber that identifies the tax recovery.String (20)
TrvTaxRecoveryNumber
NoNone

Relations (5)

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

  • Currency → Currency

    Join on TaxRecoverableCurrencyCode = Currency.CurrencyCode

    Many TrvExpenseTaxRecovery records → zero or one Currency record

  • LogisticsAddressCountryRegion → LogisticsAddressCountryRegion

    Join on CountryRegion = LogisticsAddressCountryRegion.CountryRegionId

    Many TrvExpenseTaxRecovery records → zero or one LogisticsAddressCountryRegion record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many TrvExpenseTaxRecovery records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many TrvExpenseTaxRecovery records → zero or one TaxItemGroupHeading record

  • TrvExpTransRelation → TrvExpTrans

    Join on ExpTransRecId = TrvExpTrans.RecId

    Many TrvExpenseTaxRecovery records → zero or one TrvExpTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk