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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CommentsFree-text comments on the tax recovery. | String (255)TrvTaxRecoveryCommentsEDT | No | None | |
CountryRegionCountry or region code. It points to the country/region table. | StringAddressCountryRegionId | No | LogisticsAddressCountryRegion.CountryRegionId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExpTransRecIdPoints to the expense line (by system record ID). | Int64RefRecId | No | TrvExpTrans.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ReceiptDateDate shown on the receipt. | DateTrvDateStd | No | None | |
ReceiptNumberNumber shown on the receipt. | String (60)TrvReceiptNumber | 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 | |
StatusStatus of the tax recovery. Values include Not submitted, In review, Returned, Ready for recovery, Not recoverable, Submitted and Sent for recovery. | EnumTrvTaxRecoveryStatusEDTTrvTaxRecoveryStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroupSales tax group. It points to the sales tax group table. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | None |
TaxItemGroupItem sales tax group. It points to the item sales tax group table. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | None |
TaxRecoverableAmountThe tax amount that can be recovered, in the transaction currency. | RealAmountCur | No | None | |
TaxRecoverableCurrencyCodeCurrency code for the recoverable tax amount. It points to the currency table. | String (3)TrvCurrencyCode | No | Currency.CurrencyCode | None |
TaxRecoveryNumberNumber that identifies the tax recovery. | String (20)TrvTaxRecoveryNumber | No | None |
Relations (5)
Each relation joins TrvExpenseTaxRecovery to another table on the fields shown.
Currency→CurrencyJoin on
TaxRecoverableCurrencyCode = Currency.CurrencyCodeMany TrvExpenseTaxRecovery records → zero or one Currency record
LogisticsAddressCountryRegion→LogisticsAddressCountryRegionJoin on
CountryRegion = LogisticsAddressCountryRegion.CountryRegionIdMany TrvExpenseTaxRecovery records → zero or one LogisticsAddressCountryRegion record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany TrvExpenseTaxRecovery records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany TrvExpenseTaxRecovery records → zero or one TaxItemGroupHeading record
TrvExpTransRelation→TrvExpTransJoin on
ExpTransRecId = TrvExpTrans.RecIdMany 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.