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-onlySharedCategory· InnerJoin toTrvExpTrans· read-onlyProjTransactionCategorySharedCategory· OuterJoin toSharedCategory· read-onlyProjTransactionCategory· OuterJoin toProjTransactionCategorySharedCategory· read-onlyProjCostTransTransIdRefView· OuterJoin toTrvExpTrans· read-onlyProjParameters· InnerJoin toTrvExpTrans· read-onlyProjLineProperty· InnerJoin toTrvExpTrans· read-onlyProjLinePropertyByBillingTypeView· OuterJoin toProjLineProperty· read-onlyAccountingDistribution· InnerJoin toTrvExpTransProjTable· InnerJoin toTrvExpTrans· read-only
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AdditionalInformationFree text with extra details about the expense. | String (1000)ItemFreeTxt | No | Yes | TrvExpTrans.AdditionalInformation | |
ProjActivityNumberProject activity linked to the expense. | String (50)ProjActivityNumber | No | Yes | smmActivities.ActivityNumber | TrvExpTrans.ProjActivityNumber |
ProjIdProject the expense is charged to. | String (20)ProjId | No | Yes | ProjTable.ProjId | TrvExpTrans.ProjId |
TransDateDate of the transaction. | DateTrvDateStd | Yes | Yes | TrvExpTrans.TransDate | |
ProjTransIdProject transaction ID linked to the line. | String (20)ProjCostTransId | No | Yes | TrvExpTrans.ProjTransId | |
CostTypeExpense category of the line. | String (30)TrvCostTypeEDT | Yes | Yes | TrvCostType.CostTypeTrvValidatePayment.CostType | TrvExpTrans.CostType |
TransactionCategoryIdUnique ID of the project transaction category. | String (28)ProjTransactionCategoryId | Yes | Yes | ProjTransactionCategory.CategoryId | |
AmountThe amount of the expense line. | RealAmount | No | Yes | computed | |
InterCompanyLELegal entity involved in the intercompany expense. | StringTrvLegalEntity | No | Yes | CompanyInfo.DataArea | TrvExpTrans.InterCompanyLE |
ReferenceDataAreaIdCompany the line belongs to. | StringDataAreaId | No | Yes | CompanyInfo.DataArea | TrvExpTrans.ReferenceDataAreaId |
ExchangeCodeCurrency of the transaction amount. | String (3)TrvCurrencyCode | No | Yes | Currency.CurrencyCode | TrvExpTrans.ExchangeCode |
TaxAmountActual sales tax amount for the line. | RealTaxAmountJournal | No | Yes | TrvExpTrans.CorrectedTaxAmount | |
NetAmountNet amount of the transaction. | RealAmountCur | No | Yes | TrvExpTrans.NetTransactionAmount | |
QuantityThe quantity on the expense line. | RealQty | No | Yes | computed | |
KMOwnCarDistance travelled in the employee's own car. | RealTrvMileage | No | No (private) | TrvExpTrans.KMOwnCar | |
ExpTypeType of expense, such as mileage, per diem, airline or entertainment. | EnumTrvExpTypeEDT
| Yes | No (private) | TrvExpTrans.ExpType | |
ProjCostTransIdRefID of another expense transaction that this one refers to. | String (20)ProjCostTransId | No | No (private) | ProjCostTrans.TransId | ProjCostTrans.TransIdRef |
ProjCostTransExistsShows, as a number, whether project expense transaction records exist for the line. | Integer | No | Yes | computed | |
ExpTransNumberNumber that identifies the expense line. | String (20)TrvExpTransNumber | No | Yes | TrvExpTrans.ExpTransNumber | |
BillingTypeThe billing type, such as chargeable, non-chargeable or complimentary. | Enum
| Yes | Yes | ProjBillingTypeLineProperty.BillingType | |
RetryCountNumber of times a retry has been made. | Integer | No | Yes | TrvExpTrans.RetryCount | |
AccountingDateDate used for the accounting of the distribution. | DateAccountingDate | No | Yes | AccountingDistribution.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.
ProjActivityNumber→smmActivities.ActivityNumber(key of smmActivities)Join on all of:
ProjActivityNumber=smmActivities.ActivityNumber,ReferenceDataAreaId=smmActivities.dataAreaIdMany TrvExpTrans records → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
ProjId→ProjTable.ProjId(key of ProjTable)Join on all of:
ProjId=ProjTable.ProjId,ReferenceDataAreaId=ProjTable.dataAreaIdMany TrvExpTrans records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
CostType→TrvCostType.CostType(key of TrvCostType)Join on all of:
CostType=TrvCostType.CostType,ReferenceDataAreaId=TrvCostType.dataAreaIdMany TrvExpTrans records → exactly one TrvCostType record
TrvCostType details: see TrvExpenseCategoryEntity, ProjExpenseCategoryExportEntity
CostType→TrvValidatePayment.CostType(key of TrvValidatePayment)Join on all of:
CostType=TrvValidatePayment.CostType,ReferenceDataAreaId=TrvValidatePayment.dataAreaId,PayMethod(table field, not in this entity) =TrvValidatePayment.PayMethodMany TrvExpTrans records → zero or one TrvValidatePayment record
TrvValidatePayment details: see TrvValidatePaymentEntity
InterCompanyLE→CompanyInfo.DataArea(key of CompanyInfo)Many TrvExpTrans records → zero or one CompanyInfo record
CompanyInfo details: see OMLegalEntity, TrvExpMobileExpenseLineAttachedToReportEntity, TrvExpMobileLineApprovalEntity
ReferenceDataAreaId→CompanyInfo.DataArea(key of CompanyInfo)Many TrvExpTrans records → zero or one CompanyInfo record
CompanyInfo details: see OMLegalEntity, TrvExpMobileExpenseLineAttachedToReportEntity, TrvExpMobileLineApprovalEntity
ExchangeCode→Currency.CurrencyCode(key of Currency)Many TrvExpTrans records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
ProjCostTransIdRef→ProjCostTrans.TransId(key of ProjCostTrans)Many ProjCostTrans records → zero or one ProjCostTrans record
Not exposed by a public entity.
Need help with ProjExpenseExportEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.