Table
TrvParameters
Parameters
Holds the setup values for expense management. It has a single record, identified by KeyId. The settings cover per diem and meal reductions, mileage rates, policy checks, budget overrun rules, posting, receipts, credit cards and mobile app options. It links to bar code setup, document types, ledger journal names and ledger dimension combinations.
- Table name
TrvParameters- Module
Expense- Table group
Parameter- Table type
Regular- Data per company
Yes- Configuration key
Trv- Primary index
Key- Replacement key
Key- Key fields
KeyId- Model
Foundation
Fields (58)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
KeyIdKey value of the single parameter record. | IntegerParametersKey | No | TrvExpenseParametersEntity | |
AllowCreditCardNumberEntryControls how employee credit card numbers are handled: no entry, hashed, or stored in full. | EnumTrvPaymethodNumberValidationRule (enum) | No | None | |
AllowEditCreditCardExchRateWhether users may change the exchange rate on credit card expenses. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
AllowEditDistributionsWhether users may change the distributions on an expense before it is posted. | EnumNoYes (enum) | No | TrvExpenseParametersEntity | |
AllowEditOnTransDateForPerDiemsWhether users can change the transaction date of per diem expenses, so the exchange rate follows that date. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
AllowGroupingForPostTransactionsWhether posted transactions are grouped by the offset account of the payment method and by exchange rates. | EnumNoYesIdNoYes (enum) | No | None | |
AllowOverlappingPerdiemsForSameLocationWhether per diem expenses with overlapping dates are allowed for the same location. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
ApproverHierarchyDisplayWhich approver fields are shown for multi-level approval: none, final approver only, or interim and final approver. | EnumTrvApproverHierarchyFields (enum) | No | None | |
BarCodeSetupIdBar code setup used for expense bar codes. It points to a bar code setup record. | StringBarcodeSetupId | No | TrvExpenseParametersEntity | |
ConvertPBSExchToInternalWhether the currency code on credit card transactions is converted to the internal currency code. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
CreateExpensesFromReportWhether users can create new expenses from the expense report in the mobile app. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeductBreakfPercentage taken off the per diem when breakfast is provided. | RealTrvRealBase | No | TrvExpenseParametersEntity | |
DeductDinnerPercentage taken off the per diem when dinner is provided. | RealTrvRealBase | No | TrvExpenseParametersEntity | |
DeductLunchPercentage taken off the per diem when lunch is provided. | RealTrvRealBase | No | TrvExpenseParametersEntity | |
DefaultDocuTypeIdDocument type given by default to uploaded receipts. It points to a document type. | String (20)DocuTypeId | No | DocuType.TypeId | None |
DisplayEntireExpenseOnDrillBackWhether the full expense report is shown when a user drills back from a related record. | EnumNoYes (enum) | No | TrvExpenseParametersEntity | |
EnableFinancialDimensionsWhether users can choose financial dimensions in the mobile app. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
EnableTaxRecoveryWhether tax recovery is switched on for expenses. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
GlWorkSheetName of the ledger daily journal used for expense postings. | StringLedgerJournalNameId | No | TrvExpenseParametersEntity | |
HotelReductionDefDefault percentage reduction applied to the hotel part of a per diem. | RealTrvRealBasePositive | No | TrvExpenseParametersEntity | |
IgnoreAllowanceRateForMealReductionFirstLastDayWhether the allowance rate is left out of the meal reduction on the first and last day of a trip. | EnumNoYesIdNoYes (enum) | No | None | |
IncludeOverviewInCoverPageWhether the bar coded cover page shows an overview of the expense report. | EnumNoYes (enum) | No | TrvExpenseParametersEntity | |
IncludeUserIDInBarcodeWhether barcodes on the cover page contain the user ID. | EnumNoYes (enum) | No | TrvExpenseParametersEntity | |
IsAllowApproveExpenseOnBudgetFailWhether an expense report can be approved when it exceeds the budget. Applies to budget register only. | EnumNoYes (enum) | No | TrvExpenseParametersEntity | |
IsAllowEditProjectIdControls whether the project can be changed when a travel requisition is used: always, only when empty, or never. | EnumTrvProjectEdit (enum) | No | None | |
IsAllowSubmitExpenseOnBudgetFailWhether an expense report can be submitted when it exceeds the budget. Applies to budget register and project budget. | EnumNoYes (enum) | No | TrvExpenseParametersEntity | |
IsAllowSubmitRequisitionOnBudgetFailWhether a travel requisition can be submitted when it exceeds the budget. Applies to budget register and project budget. | EnumNoYes (enum) | No | TrvExpenseParametersEntity | |
IsAllowUpdateAccountingDateWhether the accounting date may be moved to a later open period when expenses are posted into a closed one. | EnumNoYes (enum) | No | TrvExpenseParametersEntity | |
IsExpMobileNotificationEnabledWhether the expense mobile app sends notifications for credit card expenses and approval events. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
IsProjectValidationAllowedForMobileWhether project checks on resources, categories and projects are active in the mobile app. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
IsReleaseEncumbrancesOnCloseRequisitionWhether encumbrances are released when a travel requisition is closed. | EnumNoYes (enum) | No | TrvExpenseParametersEntity | |
IsTravelRequisitionMandatoryForExpenseWhether travel must be pre-approved with a requisition before an expense can be raised. | EnumNoYes (enum) | No | TrvExpenseParametersEntity | |
KmPriceStandard rate paid per unit of distance for mileage. | RealTrvCostRate | No | TrvExpenseParametersEntity | |
MealReductionDefDefault percentage reduction applied to the meal part of a per diem. | RealTrvRealBasePositive | No | TrvExpenseParametersEntity | |
MealReductionTypeMethod used to work out meal reductions: meal type per trip, meal type per day, or number of meals per day. | EnumTrvMealReductionType (enum) | No | TrvExpenseParametersEntity | |
MinHoursSmallest number of hours needed before a per diem is allowed. | RealTrvRealBase | No | TrvExpenseParametersEntity | |
OtherReductionDefDefault percentage reduction applied to the other part of a per diem. | RealTrvRealBasePositive | No | TrvExpenseParametersEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PerDiemCalculationBasis used for counting per diem days: calendar day with time, full calendar day, or 24 hour period. | EnumTrvPerDiemCalculation (enum) | No | TrvExpenseParametersEntity | |
PerDiemRoundingRounding option for per diems: normal rounding or always round up. | EnumTrvPerDiemRounding (enum) | No | TrvExpenseParametersEntity | |
PersonalPaidByStates whether personal expenses are paid by the employee or by the company. | EnumTrvPersonalPaidBy (enum) | No | TrvExpenseParametersEntity | |
PostExpensesOnPostingDateWhether expenses are posted with the posting date rather than the transaction date. | EnumNoYes (enum) | No | TrvExpenseParametersEntity | |
PostImmediatelyWhether cash advances are posted straight away. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
ReceiptOCRURLWeb address of the service that reads uploaded receipts and returns details such as total and merchant. | String (255)URL | 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 | |
SkipAutoAddExpensesAndReceiptsWhether expenses and receipts are left out of reports by default instead of all being added. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
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 | |
TaxIncludedWhether expense amounts include tax. | EnumNoYes (enum) | No | TrvExpenseParametersEntity | |
UseAdditionalInformationForDescriptionIntercompanyInvoiceWhether the invoice description for intercompany expenses uses the additional information on the expense. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
UseAntiCorruptionWhether an anti-corruption attestation is shown to users. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
UseFiscalCalendarForMileageTotalsWhether mileage totals follow the fiscal year instead of the calendar year. | EnumNoYesIdNoYes (enum) | Yes | None | |
UseInterCompanyExpenseWhether expense lines may be charged to another company. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
ValidateRequisitionPurposeWhether the purpose of a travel requisition must be validated. | EnumNoYesIdNoYes (enum) | No | None | |
ValidateTravelPurposeWhether the expense purpose must be checked against the list of purposes. | EnumNoYesIdNoYes (enum) | No | TrvExpenseParametersEntity | |
WhenToEvaluatePolicyPoint at which expense policies are checked: when a line is saved or when the report is submitted. | EnumTrvEvaluateExpensePolicies (enum) | No | TrvExpenseParametersEntity |
Indexes (2)
FK_DimensionAttributeValueCombination_TrNot unique.
KeyPrimary indexReplacement keyUnique, alternate key.
Relations (5)
Each relation joins TrvParameters to another table on the fields shown.
BarcodeSetupId→BarcodeSetupJoin on
BarcodeSetup.barcodeType = BarcodeType::Code39,BarcodeSetup.barcodeType = BarcodeType::Code128Many TrvParameters records → zero or one BarcodeSetup record
DisputeLedgerDimension→DimensionAttributeValueCombinationJoin on
DEL_DisputeLedgerDimension = DimensionAttributeValueCombination.RecIdMany TrvParameters records → zero or one DimensionAttributeValueCombination record
LedgerDimension→DimensionAttributeValueCombinationJoin on
DEL_DisputeLedgerDimension = DimensionAttributeValueCombination.RecIdMany TrvParameters records → zero or one DimensionAttributeValueCombination record
LedgerJournalName→LedgerJournalNameJoin on
LedgerJournalName.JournalType = LedgerJournalType::DailyMany TrvParameters records → zero or one LedgerJournalName record
DocuType→DocuTypeJoin on
DefaultDocuTypeId = DocuType.TypeIdZero or one TrvParameters record → zero or one DocuType record
Get this data out
Tables are not exposed directly. These public entities read from TrvParameters; use one of them in Power BI, Power Platform or a data management project.
TrvExpenseParametersEntity· 43 fields from this table
Need help with TrvParameters in a report, an integration or a migration? Talk to Dr Dynamics.