Data entity

TrvProjectExpensePolicyEntity

Holds expense policies for projects. A policy can be limited by city, expense category, customer, project, contract, worker or worker group, and by date range and currency. It also has allowable and maximum amounts, a maximum percent and receipt rules.

Entity name
TrvProjectExpensePolicyEntity
Public entity name
ProjectExpensePolicy
OData collection
ProjectExpensePolicies
Category
Not set
Module
Project management and accounting
Read-only
No
Data management enabled
Yes
Configuration key
Project
Keys
City, ExpenseCategory, CustomerAccount, StartDate, EndDate, Currency, PerUnit, PolicyType, ProjectID, ProjectContractID, PersonnelNumber, ProjectExpensePolicyWorkerGroup
Staging table
TrvProjectExpensePolicyStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/ProjectExpensePolicies
Dataverse virtual table
mserp_trvprojectexpensepolicyentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • ProjExpPolicies · root
  • HcmWorker · OuterJoin to ProjExpPolicies · read-only

Fields (18)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AllowableAmountAmount that is allowed for the expense.Real
AmountCur
YesYesProjExpPolicies.AllowableAmount
CityCity that the policy applies to.String (60)
AddressCity
NoYesProjExpPolicies.City
ExpenseCategoryExpense category that the policy applies to.String (30)
TrvCostTypeEDT
YesYesTrvCostType.CostTypeProjExpPolicies.CostType
CustomerAccountCustomer account that the policy applies to.String (20)
CustAccount
NoYesCustTable.AccountNumProjExpPolicies.CustAccount
EndDateDate and time when the policy ends.UtcDateTime
TrvUtcDateTime
NoYesProjExpPolicies.EndDate
CurrencyCurrency of the policy amounts.String (3)
CurrencyCode
YesYesCurrency.CurrencyCodeProjExpPolicies.ExchangeCode
PerUnitUnit that the limit is set per: expense, day or report.Enum
ProjExpPolicyPerUnit
  • Expense 0
  • Day 1
  • Report 2
NoYesProjExpPolicies.ExpPerUnit
MaximumAmountMaximum amount allowed.Real
AmountCur
NoYesProjExpPolicies.MaximumAmount
MaximumPercentMaximum percentage allowed.Real
Percent
NoYesProjExpPolicies.MaximumPercent
ProjectExpensePolicyWorkerGroupWorker group that the policy applies to.String
ProjExpPolicyGroupId
NoYesProjExpPolicyGroups.GroupIdProjExpPolicies.PolicyEmplGroupId
PolicyTypeType of policy: select type, customer or company.Enum
ProjExpPolicyType
  • Empty 0
  • Client 1
  • Company 2
YesYesProjExpPolicies.PolicyType
ProjectIDProject that the policy applies to.String (20)
ProjId
NoYesProjTable.ProjIdProjExpPolicies.ProjId
ProjectContractIDProject contract that the policy applies to.String (20)
ProjInvoiceProjId
NoYesProjInvoiceTable.ProjInvoiceProjIdProjExpPolicies.ProjInvoiceProjId
ReceiptMinimumAmount above which a receipt is needed.Real
AmountCur
NoYesProjExpPolicies.ReceiptMin
ReceiptRequiredYes or no flag showing whether a receipt is required.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesProjExpPolicies.ReceiptRequired
StartDateDate and time when the policy starts.UtcDateTime
TrvUtcDateTime
YesYesProjExpPolicies.StartDate
WorkerWorker that the policy applies to.Int64
ProjWorkerRecId
NoNo (private)HcmWorker.RecIdProjExpPolicies.Worker
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber

Foreign keys (7)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with TrvProjectExpensePolicyEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk