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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AllowableAmountAmount that is allowed for the expense.Real
AmountCur
YesTrvProjectExpensePolicyEntity
CityCity that the policy applies to.String (60)
AddressCity
NoTrvProjectExpensePolicyEntity
CostTypeExpense category that the policy applies to.String (30)
TrvCostTypeEDT
YesTrvCostType.CostTypeTrvProjectExpensePolicyEntity
CustAccountCustomer account that the policy applies to.String (20)
CustAccount
NoCustTable.AccountNumTrvProjectExpensePolicyEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EndDateDate and time when the policy ends.UtcDateTime
TrvUtcDateTime
NoTrvProjectExpensePolicyEntity
ExchangeCodeCurrency of the policy amounts.String (3)
CurrencyCode
YesCurrency.CurrencyCodeTrvProjectExpensePolicyEntity
ExpPerUnitUnit that the limit is set per: expense, day or report.Enum
ProjExpPolicyPerUnit (enum)
NoTrvProjectExpensePolicyEntity
MaximumAmountMaximum amount allowed.Real
AmountCur
NoTrvProjectExpensePolicyEntity
MaximumPercentMaximum percentage allowed.Real
Percent
NoTrvProjectExpensePolicyEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PolicyEmplGroupIdWorker group that the policy applies to.String
ProjExpPolicyGroupId
NoProjExpPolicyGroups.GroupIdTrvProjectExpensePolicyEntity
PolicyTypeType of policy: select type, customer or company.Enum
ProjExpPolicyType (enum)
YesTrvProjectExpensePolicyEntity
ProjIdProject that the policy applies to.String (20)
ProjId
NoProjTable.ProjIdTrvProjectExpensePolicyEntity
ProjInvoiceProjIdProject contract that the policy applies to.String (20)
ProjInvoiceProjId
NoProjInvoiceTable.ProjInvoiceProjIdTrvProjectExpensePolicyEntity
ReceiptMinAmount above which a receipt is needed.Real
AmountCur
NoTrvProjectExpensePolicyEntity
ReceiptRequiredYes or no flag showing whether a receipt is required.Enum
NoYes (enum)
NoTrvProjectExpensePolicyEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
StartDateDate and time when the policy starts.UtcDateTime
TrvUtcDateTime
YesTrvProjectExpensePolicyEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkerWorker that the policy applies to.Int64
ProjWorkerRecId
NoHcmWorker.RecIdTrvProjectExpensePolicyEntity

Indexes (1)

Relations (7)

Each relation joins ProjExpPolicies to another table on the fields shown.

  • Currency → Currency

    Join on ExchangeCode = Currency.CurrencyCode

    Many ProjExpPolicies records → exactly one Currency record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many ProjExpPolicies records → zero or one CustTable record

  • ProjExpPolicyGroups → ProjExpPolicyGroups

    Join on PolicyEmplGroupId = ProjExpPolicyGroups.GroupId

    Many ProjExpPolicies records → zero or one ProjExpPolicyGroups record

  • ProjInvoiceTable → ProjInvoiceTable

    Join on ProjInvoiceProjId = ProjInvoiceTable.ProjInvoiceProjId

    Many ProjExpPolicies records → zero or one ProjInvoiceTable record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many ProjExpPolicies records → zero or one ProjTable record

  • TrvCostType → TrvCostType

    Join on CostType = TrvCostType.CostType

    Many ProjExpPolicies records → exactly one TrvCostType record

  • Worker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many 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.

Need help with ProjExpPolicies in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk