Table
ProjExpPolicies
Project expense policies
Holds project expense policies. Each policy sets limits such as an allowable amount, a maximum amount or percentage, and a receipt rule, for an expense category. It can apply to a project, contract, customer, worker group or worker, with a validity period.
- Table name
ProjExpPolicies- Module
Project management and accounting- Table group
Worksheet- Table type
Regular- Data per company
Yes- Configuration key
Project- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AllowableAmountAmount that is allowed for the expense. | RealAmountCur | Yes | TrvProjectExpensePolicyEntity | |
CityCity that the policy applies to. | String (60)AddressCity | No | TrvProjectExpensePolicyEntity | |
CostTypeExpense category that the policy applies to. | String (30)TrvCostTypeEDT | Yes | TrvCostType.CostType | TrvProjectExpensePolicyEntity |
CustAccountCustomer account that the policy applies to. | String (20)CustAccount | No | CustTable.AccountNum | TrvProjectExpensePolicyEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EndDateDate and time when the policy ends. | UtcDateTimeTrvUtcDateTime | No | TrvProjectExpensePolicyEntity | |
ExchangeCodeCurrency of the policy amounts. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | TrvProjectExpensePolicyEntity |
ExpPerUnitUnit that the limit is set per: expense, day or report. | EnumProjExpPolicyPerUnit (enum) | No | TrvProjectExpensePolicyEntity | |
MaximumAmountMaximum amount allowed. | RealAmountCur | No | TrvProjectExpensePolicyEntity | |
MaximumPercentMaximum percentage allowed. | RealPercent | No | TrvProjectExpensePolicyEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PolicyEmplGroupIdWorker group that the policy applies to. | StringProjExpPolicyGroupId | No | ProjExpPolicyGroups.GroupId | TrvProjectExpensePolicyEntity |
PolicyTypeType of policy: select type, customer or company. | EnumProjExpPolicyType (enum) | Yes | TrvProjectExpensePolicyEntity | |
ProjIdProject that the policy applies to. | String (20)ProjId | No | ProjTable.ProjId | TrvProjectExpensePolicyEntity |
ProjInvoiceProjIdProject contract that the policy applies to. | String (20)ProjInvoiceProjId | No | ProjInvoiceTable.ProjInvoiceProjId | TrvProjectExpensePolicyEntity |
ReceiptMinAmount above which a receipt is needed. | RealAmountCur | No | TrvProjectExpensePolicyEntity | |
ReceiptRequiredYes or no flag showing whether a receipt is required. | EnumNoYes (enum) | No | TrvProjectExpensePolicyEntity | |
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 | |
StartDateDate and time when the policy starts. | UtcDateTimeTrvUtcDateTime | Yes | TrvProjectExpensePolicyEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkerWorker that the policy applies to. | Int64ProjWorkerRecId | No | HcmWorker.RecId | TrvProjectExpensePolicyEntity |
Indexes (1)
PolicyIdxCustAccount,ProjInvoiceProjId,ProjId,PolicyEmplGroupId,Worker,PolicyTypeNot unique.
Relations (7)
Each relation joins ProjExpPolicies to another table on the fields shown.
Currency→CurrencyJoin on
ExchangeCode = Currency.CurrencyCodeMany ProjExpPolicies records → exactly one Currency record
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany ProjExpPolicies records → zero or one CustTable record
ProjExpPolicyGroups→ProjExpPolicyGroupsJoin on
PolicyEmplGroupId = ProjExpPolicyGroups.GroupIdMany ProjExpPolicies records → zero or one ProjExpPolicyGroups record
ProjInvoiceTable→ProjInvoiceTableJoin on
ProjInvoiceProjId = ProjInvoiceTable.ProjInvoiceProjIdMany ProjExpPolicies records → zero or one ProjInvoiceTable record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany ProjExpPolicies records → zero or one ProjTable record
TrvCostType→TrvCostTypeJoin on
CostType = TrvCostType.CostTypeMany ProjExpPolicies records → exactly one TrvCostType record
Worker→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany ProjExpPolicies records → zero or one HcmWorker record
Get this data out
Tables are not exposed directly. These public entities read from ProjExpPolicies; use one of them in Power BI, Power Platform or a data management project.
TrvProjectExpensePolicyEntity· 17 fields from this table
Need help with ProjExpPolicies in a report, an integration or a migration? Talk to Dr Dynamics.