Data entity

ProjExpenseExportEntity

A read-only export of project expense lines for the Project Operations integration. It is keyed by expense transaction number and the data area of the reference record. It shows the project, activity, category, transaction date, accounting date, currency, amount and billing type. It also has a retry count and a flag for related project expense records.

Entity name
ProjExpenseExportEntity
Public entity name
ProjExpenseExport
OData collection
ProjExpensesExport
Category
Transaction
Module
Project management and accounting
Read-only
Yes
Data management enabled
Yes
Configuration key
Trv
Keys
ExpTransNumber, ReferenceDataAreaId
Staging table
ProjExpenseExportStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/ProjExpensesExport
Dataverse virtual table
mserp_projexpenseexportentity. 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

  • TrvExpTrans · root · read-only
  • SharedCategory · InnerJoin to TrvExpTrans · read-only
  • ProjTransactionCategorySharedCategory · OuterJoin to SharedCategory · read-only
  • ProjTransactionCategory · OuterJoin to ProjTransactionCategorySharedCategory · read-only
  • ProjCostTransTransIdRefView · OuterJoin to TrvExpTrans · read-only
  • ProjParameters · InnerJoin to TrvExpTrans · read-only
  • ProjLineProperty · InnerJoin to TrvExpTrans · read-only
  • ProjLinePropertyByBillingTypeView · OuterJoin to ProjLineProperty · read-only
  • AccountingDistribution · InnerJoin to TrvExpTrans
  • ProjTable · InnerJoin to TrvExpTrans · read-only

Fields (22)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AdditionalInformationFree text with extra details about the expense.String (1000)
ItemFreeTxt
NoYesTrvExpTrans.AdditionalInformation
ProjActivityNumberProject activity linked to the expense.String (50)
ProjActivityNumber
NoYessmmActivities.ActivityNumberTrvExpTrans.ProjActivityNumber
ProjIdProject the expense is charged to.String (20)
ProjId
NoYesProjTable.ProjIdTrvExpTrans.ProjId
TransDateDate of the transaction.Date
TrvDateStd
YesYesTrvExpTrans.TransDate
ProjTransIdProject transaction ID linked to the line.String (20)
ProjCostTransId
NoYesTrvExpTrans.ProjTransId
CostTypeExpense category of the line.String (30)
TrvCostTypeEDT
YesYesTrvCostType.CostTypeTrvValidatePayment.CostTypeTrvExpTrans.CostType
TransactionCategoryIdUnique ID of the project transaction category.String (28)
ProjTransactionCategoryId
YesYesProjTransactionCategory.CategoryId
AmountThe amount of the expense line.Real
Amount
NoYescomputed
InterCompanyLELegal entity involved in the intercompany expense.String
TrvLegalEntity
NoYesCompanyInfo.DataAreaTrvExpTrans.InterCompanyLE
ReferenceDataAreaIdCompany the line belongs to.String
DataAreaId
NoYesCompanyInfo.DataAreaTrvExpTrans.ReferenceDataAreaId
ExchangeCodeCurrency of the transaction amount.String (3)
TrvCurrencyCode
NoYesCurrency.CurrencyCodeTrvExpTrans.ExchangeCode
TaxAmountActual sales tax amount for the line.Real
TaxAmountJournal
NoYesTrvExpTrans.CorrectedTaxAmount
NetAmountNet amount of the transaction.Real
AmountCur
NoYesTrvExpTrans.NetTransactionAmount
QuantityThe quantity on the expense line.Real
Qty
NoYescomputed
KMOwnCarDistance travelled in the employee's own car.Real
TrvMileage
NoNo (private)TrvExpTrans.KMOwnCar
ExpTypeType of expense, such as mileage, per diem, airline or entertainment.Enum
TrvExpTypeEDT
TrvExpType
  • Empty 0
  • Expense 1
  • Advance 2
  • Allowance 3
  • Transport 4
  • Personal 5
  • Airline 6
  • CarRental 7
  • Conference 8
  • Entertainment 9
  • Hotel 10
  • Meals 11
  • Gift 12
YesNo (private)TrvExpTrans.ExpType
ProjCostTransIdRefID of another expense transaction that this one refers to.String (20)
ProjCostTransId
NoNo (private)ProjCostTrans.TransIdProjCostTrans.TransIdRef
ProjCostTransExistsShows, as a number, whether project expense transaction records exist for the line.IntegerNoYescomputed
ExpTransNumberNumber that identifies the expense line.String (20)
TrvExpTransNumber
NoYesTrvExpTrans.ExpTransNumber
BillingTypeThe billing type, such as chargeable, non-chargeable or complimentary.Enum
ProjBillingType
  • NotSpecified 0
  • Chargeable 1
  • NonChargeable 2
  • Complimentary 3
  • NotAvailable 4
YesYesProjBillingTypeLineProperty.BillingType
RetryCountNumber of times a retry has been made.IntegerNoYesTrvExpTrans.RetryCount
AccountingDateDate used for the accounting of the distribution.Date
AccountingDate
NoYesAccountingDistribution.AccountingDate

Foreign keys (8)

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 ProjExpenseExportEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk