Table
TrvExpRecurringTemplate
(Preview) Recurring expenses
Holds templates for recurring expenses, marked as preview. Each template stores the worker and legal entity, the expense category, amount, currency, project and tax details. It also has fields for mileage, hotel, airline, car rental and entertainment expenses. It has no defined key.
- Table name
TrvExpRecurringTemplate- Module
Expense- Table group
Main- Table type
Regular- Data per company
No- Configuration key
Trv- Primary index
RecId- Replacement key
None- Key fields
None- Model
ExpenseManagement
Fields (64)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AdditionalInformationExtra free-text information about the expense. | String (1000)ItemFreeTxt | No | None | |
AddressCityPoints to the city record (by system record ID). | Int64LogisticsAddressCityRecId | No | None | |
AddressStateThe state code. | StringLogisticsAddressStateId | No | None | |
AddressZipCodePoints to the ZIP or postal code record (by system record ID). | Int64LogisticsAddressZipCodeRecId | No | None | |
AirlineDomesticIndicatorYes/No flag with no label. It probably shows whether the flight is domestic.low confidence | EnumNoYes (enum) | No | None | |
AirlineIssuingCarrierThe airline that issued the ticket. | StringTrvIssuingCarrier | No | None | |
AirlinePassengerNameThe name of the airline passenger. | String (50)TrvName | No | None | |
AirlineServiceClassAirline service class: Economy, First or Business. | EnumTrvAirlineServiceClassTrvAirlineServiceClassEnum (enum) | No | None | |
AirlineTravelAgencyCodeThe travel agency code. | StringTrvTravelAgencyCode | No | None | |
AirlineTravelAgencyNameThe travel agency name. | String (50)TrvName | No | None | |
AmountCurrThe amount in the transaction currency. | RealTrvTransactionCurrencyAmount | No | None | |
BusinessPurposeThe business purpose of the expense. | String (100)TrvLinePurposeEDT | No | None | |
CarRentalCheckOutLocationThe location where the car is picked up. | String (50)TrvRentalLocation | No | None | |
CarRentalDailyRateThe daily rental rate. | RealAmountCur | No | None | |
CarRentalDaysRentedThe number of days the car is rented. | RealTrvDaysRented | No | None | |
CarRentalMonthlyRentalRateThe monthly rental rate. | RealAmountCur | No | None | |
CarRentalRenterNameThe name of the person renting the car. | String (50)TrvName | No | None | |
CarRentalReservationNumberThe car rental reservation number. | String (25)TrvRentalReservationNumber | No | None | |
CarRentalReturnLocationThe location where the car is returned. | String (50)TrvRentalLocation | No | None | |
CarRentalTotalMilesThe total miles driven in the rental car. | RealTrvMileage | No | None | |
CarRentalVehicleClassCar rental vehicle class: Compact, Intermediate or Full. | EnumTrvCarRentalVehicleClassTrvCarRentalVehicleClassEnum (enum) | No | None | |
CarRentalWeeklyRentalRateThe weekly rental rate. | RealAmountCur | No | None | |
CostTypeThe expense category. It points to the expense category table. | String (30) | Yes | TrvCostType.CostType | None |
CountryRegionThe country or region code. | StringLogisticsAddressCountryRegionId | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatingWorkerPoints to the worker (by system record ID) who created the template. | Int64 | Yes | HcmWorker.RecId | None |
DefaultDimensionPoints to the set of financial dimension values (by system record ID). | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
DescriptionDescription of the expense category. | String (60)TrvExpTransDescription | No | None | |
EntertainmentLocationThe location of the entertainment. | String (100)TrvEntertainmentLocation | No | None | |
ExchangeCodeCurrency code. It points to the currency table. | String | Yes | Currency.CurrencyCode | None |
ExpTypeKind of expense, such as Miscellaneous, Per diem, Mileage, Airline or Car rental. | EnumTrvExpType (enum) | No | None | |
HotelGuestNameThe name of the hotel guest. | String (50)TrvGuestName | No | None | |
HotelGuestNumberThe number of hotel guests. | IntegerTrvGuestNumber | No | None | |
HotelTotalRoomNightsThe number of hotel nights. | IntegerTrvNumberOfNights | No | None | |
HotelTotalRoomRentThe total room rent. | RealAmountCur | No | None | |
HotelTotalTaxAmountThe total tax amount for the hotel stay. | RealTaxAmountJournal | No | None | |
InterCompanyCategoryIntercompany project category. It points to the project category table. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | None |
InterCompanyLELegal entity for an intercompany expense. It points to the legal entities table. | StringTrvLegalEntity | No | CompanyInfo.DataArea | None |
KMOwnCarMileage driven, here for the employee's own car. | RealTrvMileage | No | None | |
LegalEntityPoints to the legal entity (by system record ID). | Int64 | Yes | CompanyInfo.RecId | None |
MerchantIdThe merchant. | String (255)TrvExpMerchantId | No | None | |
MileageFromAddressThe start address of the trip. | String (100)TrvMileageAddress | No | None | |
MileageToAddressThe end address of the trip. | String (100)TrvMileageAddress | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NumberOfPassengersThe number of passengers. | IntegerTrvNumberOfPassengers | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PayMethodThe payment method. | StringTrvPayMethodEDT | Yes | None | |
ProjActivityNumberThe project activity number. | String (50)ProjActivityNumber | No | None | |
ProjIdThe project ID. | String (20)ProjId | No | None | |
ProjStatusIdProject line property. | StringProjLinePropertyId | No | None | |
ReasonA free-text reason for the expense. | String (-1)Notes | 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 | |
ReferenceDataAreaIdCompany of the expense category. It is used together with the category to find it. | StringDataAreaId | No | TrvCostType.dataAreaId | None |
SubCategoryRecIdReference by system record ID to a sub-category. The metadata does not name the target table.low confidence | Int64RefRecId | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroupThe sales tax group. | StringTaxGroup | No | None | |
TaxIncludedYes/No flag showing whether the amount includes tax. | EnumNoYes (enum) | No | None | |
TaxItemGroupThe item sales tax group. | StringTaxItemGroup | No | None | |
TransactionTextAn internal note on the expense. | String (60)TransTxt | No | None | |
VehicleTypeThe type of vehicle used. | String (30)TrvVehicleType | No | None |
Indexes (1)
WorkerIdxNot unique.
Relations (7)
Each relation joins TrvExpRecurringTemplate to another table on the fields shown.
HcmWorker→HcmWorkerJoin on
CreatingWorker = HcmWorker.RecIdMany TrvExpRecurringTemplate records → exactly one HcmWorker record
LegalEntity→CompanyInfoJoin on
LegalEntity = CompanyInfo.RecIdMany TrvExpRecurringTemplate records → exactly one CompanyInfo record
TrvCostType→TrvCostTypeJoin on
ReferenceDataAreaId = TrvCostType.dataAreaId,CostType = TrvCostType.CostTypeMany TrvExpRecurringTemplate records → exactly one TrvCostType record
DimensionAttributeValueSet→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany TrvExpRecurringTemplate records → zero or one DimensionAttributeValueSet record
Currency→CurrencyJoin on
ExchangeCode = Currency.CurrencyCodeMany TrvExpRecurringTemplate records → exactly one Currency record
InterCompanyLE→CompanyInfoJoin on
InterCompanyLE = CompanyInfo.DataAreaMany TrvExpRecurringTemplate records → zero or one CompanyInfo record
InterCompanyCategory→ProjCategoryJoin on
InterCompanyCategory = ProjCategory.CategoryIdMany TrvExpRecurringTemplate records → zero or one ProjCategory record
Get this data out
No public entity reads from TrvExpRecurringTemplate. Its data is only reachable through the application, a custom entity or a database export.
Need help with TrvExpRecurringTemplate in a report, an integration or a migration? Talk to Dr Dynamics.