Table
ProjCostTrans
Project expense transactions
Holds project expense transactions, one record per transaction ID. Each record links to a project, a category and a line property. It stores quantity, cost and sales amounts, the vendor, the source documents and the origin of the transaction. Some fields are used for Brazil.
- Table name
ProjCostTrans- Module
Project management and accounting- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Project- Primary index
TransIdx- Replacement key
TransIdx- Key fields
TransId- Model
Foundation
Fields (51)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TransIdUnique ID of the expense transaction. | String (20)ProjCostTransId | Yes | None | |
ActivityNumberActivity number linked to the transaction. | String (50)ProjActivityNumber | No | smmActivities.ActivityNumber | None |
AdjRefTransIdID of the expense transaction that this one adjusts. | String (20)ProjCostTransId | No | ProjCostTrans.TransId | None |
BookableResourceNameName of the bookable resource. | String (60)ProjBookableResourceName | No | None | |
CategoryIdProject category of the transaction. | String (30)ProjCategoryId | Yes | ProjCategory.CategoryId | None |
CorrectionYes or no flag for project correction. | EnumProjCorrectionNoYes (enum) | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CurrencyIdSales currency of the transaction. | String (3)ProjSalesCurrencyCode | No | Currency.CurrencyCode | None |
CurrencyIdCostCurrency used for the cost. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDimensionFinancial dimensions set for the transaction. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | None |
FinTagFinancial tag linked to the transaction. | Int64FinTagRecId | No | FinTag.RecId | None |
IndOpCode_BROperation indicator code, used for Brazil. | Int64RefRecId | No | IndOpCodes_BR.RecId | None |
InvestmentTaxAmountMSTTax included amount, in accounting currency. | RealAmountMST | No | None | |
IsCorrectionYes or no flag showing that the transaction is a correction. | EnumLedgerCorrectionNoYes (enum) | No | None | |
LedgerJournalTransJournal line that the transaction comes from. | Int64RefRecId | No | LedgerJournalTrans.RecId | None |
LineDiscountLine discount value. | RealSalesLineDisc | No | None | |
LinePropertyIdLine property of the transaction. | StringProjLinePropertyId | No | ProjLineProperty.LinePropertyId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NBSCode_BRNBS code, used for Brazil. | Int64RefRecId | No | NBSCodes_BR.RecId | None |
PackedExtensionsPacked data used to store extension values.low confidence | ContainerSysExtensionSerializerPackedContainer | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjIdProject that the transaction belongs to. | String (20)ProjId | Yes | ProjTable.ProjId | None |
PSAContractLineNumBilling rule, linked to a contract line. | StringPSAContractLineNum | No | PSAContractLineItems.ContractLineNum | None |
PSAProjOrigTransIdID of the original transaction. | String (20)PSAProjOrigTransId | No | None | |
QtyQuantity of the transaction. | RealProjQtyCost | No | None | |
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 | |
ResourceProject resource linked to the transaction. | Int64ResourceRecId | No | ResResourceIdentifier.RecIdResourceView.RecId | None |
ResourceCategoryRole ID of the resource, held as a record ID. | Int64ResourceCategoryRecId | No | ResourceCategoryView.RecId | None |
ResourceLegalEntityCompany of the resource, held as a record ID. | Int64CompanyInfoRecId | No | None | |
SubcontractLineSubcontract line linked to the transaction. | String (20)ProjSubcontractLine | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroupIdSales tax group of the transaction. | StringProjTaxGroup | No | TaxGroupHeading.TaxGroup | None |
TaxItemGroupIdItem sales tax group of the transaction. | StringProjTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | None |
TotalCostAmountCurTotal cost amount, currency not stated in the metadata. | RealProjTotalCostAmount | No | None | |
TotalSalesAmountCurTotal sales amount, currency not stated in the metadata. | RealProjTotalSalesAmount | No | None | |
TransactionGroupIdID of the group that the transaction belongs to. | String (20)ProjTransactionGroupId | No | None | |
TransactionOriginSource of the transaction, such as a journal, expense management or elimination. | EnumProjTransactionOriginProjOrigin (enum) | No | None | |
TransDateProject date of the transaction. | DateProjTransDate | Yes | None | |
TransIdRefID of another expense transaction that this one refers to. | String (20)ProjCostTransId | No | ProjCostTrans.TransId | ProjExpenseExportEntity |
TxtDescription of the transaction. | String (255)Description255 | No | None | |
VendInvoiceTransPosted vendor invoice line that the transaction comes from. | Int64RefRecId | No | VendInvoiceTrans.RecId | None |
VendorAccountVendor account linked to the transaction. | String (20)VendAccount | No | VendTable.AccountNum | None |
VendorNameName of the vendor. | String (160)VendName | No | None | |
VoucherJournalVoucher number of the transaction. | String (20)ProjTransactionVoucher | No | None | |
WorkerWorker linked to the transaction, held as a record ID. | Int64ProjWorkerRecId | No | None | |
WorkerLegalEntityCompany of the worker. | Int64CompanyInfoRecId | No | CompanyInfo.RecId | None |
Indexes (11)
FK_DimensionAttributeValueSet_ProjCostTrNot unique.
TransIdxPrimary indexReplacement keyUnique, alternate key.
ProjDateIdxNot unique.
AdjRefTransIdxNot unique.
ResourceIdxNot unique.
LedgerJournalTransNot unique.
VendInvoiceTransNot unique.
ActivityNumberNot unique.
TransIdRefNot unique.
TransactionGroupIdxNot unique.
VoucherJournalIdxNot unique.
Relations (24)
Each relation joins ProjCostTrans to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyId = Currency.CurrencyCodeMany ProjCostTrans records → zero or one Currency record
CurrencyCost→CurrencyJoin on
CurrencyIdCost = Currency.CurrencyCodeMany ProjCostTrans records → zero or one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany ProjCostTrans records → zero or one DimensionAttributeValueSet record
LegalEntity→CompanyInfoJoin on
WorkerLegalEntity = CompanyInfo.RecIdMany ProjCostTrans records → zero or one CompanyInfo record
ProjCategory→ProjCategoryJoin on
CategoryId = ProjCategory.CategoryIdMany ProjCostTrans records → exactly one ProjCategory record
ProjCostTrans_AdjRefTransId→ProjCostTransJoin on
AdjRefTransId = ProjCostTrans.TransIdMany ProjCostTrans records → zero or one ProjCostTrans record
ProjCostTrans_TransIdRef→ProjCostTransJoin on
TransIdRef = ProjCostTrans.TransIdMany ProjCostTrans records → zero or one ProjCostTrans record
ProjLineProperty→ProjLinePropertyJoin on
LinePropertyId = ProjLineProperty.LinePropertyIdMany ProjCostTrans records → zero or one ProjLineProperty record
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany ProjCostTrans records → exactly one ProjTable record
ProjTransPostingView→ProjTransPostingViewJoin on
TransId = ProjTransPostingView.TransIdMany ProjCostTrans records → zero or one ProjTransPostingView record
PSAContractLineItems→PSAContractLineItemsJoin on
PSAContractLineNum = PSAContractLineItems.ContractLineNumMany ProjCostTrans records → zero or one PSAContractLineItems record
smmActivities→smmActivitiesJoin on
ActivityNumber = smmActivities.ActivityNumberMany ProjCostTrans records → zero or one smmActivities record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroupId = TaxGroupHeading.TaxGroupMany ProjCostTrans records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroupId = TaxItemGroupHeading.TaxItemGroupMany ProjCostTrans records → zero or one TaxItemGroupHeading record
Resource→ResourceViewJoin on
Resource = ResourceView.RecIdMany ProjCostTrans records → zero or one ResourceView record
ResourceCategory→ResourceCategoryViewJoin on
ResourceCategory = ResourceCategoryView.RecIdMany ProjCostTrans records → zero or one ResourceCategoryView record
ResourceTable→ResResourceIdentifierJoin on
Resource = ResResourceIdentifier.RecIdMany ProjCostTrans records → exactly one ResResourceIdentifier record
LedgerJournalTrans_Project→LedgerJournalTransJoin on
LedgerJournalTrans = LedgerJournalTrans.RecIdZero or one ProjCostTrans record → zero or one LedgerJournalTrans record
VendInvoiceTrans→VendInvoiceTransJoin on
VendInvoiceTrans = VendInvoiceTrans.RecIdZero or one ProjCostTrans record → zero or one VendInvoiceTrans record
VendTable→VendTableJoin on
VendorAccount = VendTable.AccountNumZero or one ProjCostTrans record → zero or one VendTable record
DirPartyTable→DirPartyTableJoin on
VendorName = DirPartyTable.NameCardinality not set in the metadata.
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany ProjCostTrans records → zero or one FinTag record
NBSCodes_BR→NBSCodes_BRJoin on
NBSCode_BR = NBSCodes_BR.RecIdMany ProjCostTrans records → exactly one NBSCodes_BR record
IndOpCodes_BR→IndOpCodes_BRJoin on
IndOpCode_BR = IndOpCodes_BR.RecIdMany ProjCostTrans records → exactly one IndOpCodes_BR record
Get this data out
Tables are not exposed directly. These public entities read from ProjCostTrans; use one of them in Power BI, Power Platform or a data management project.
ProjExpenseExportEntity· 1 field from this table
Need help with ProjCostTrans in a report, an integration or a migration? Talk to Dr Dynamics.