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 descriptionType / EDT / enumMandatoryReferencesIn public entities
TransIdUnique ID of the expense transaction.String (20)
ProjCostTransId
YesNone
ActivityNumberActivity number linked to the transaction.String (50)
ProjActivityNumber
NosmmActivities.ActivityNumberNone
AdjRefTransIdID of the expense transaction that this one adjusts.String (20)
ProjCostTransId
NoProjCostTrans.TransIdNone
BookableResourceNameName of the bookable resource.String (60)
ProjBookableResourceName
NoNone
CategoryIdProject category of the transaction.String (30)
ProjCategoryId
YesProjCategory.CategoryIdNone
CorrectionYes or no flag for project correction.Enum
ProjCorrection
NoYes (enum)
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyIdSales currency of the transaction.String (3)
ProjSalesCurrencyCode
NoCurrency.CurrencyCodeNone
CurrencyIdCostCurrency used for the cost.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDimensionFinancial dimensions set for the transaction.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
FinTagFinancial tag linked to the transaction.Int64
FinTagRecId
NoFinTag.RecIdNone
IndOpCode_BROperation indicator code, used for Brazil.Int64
RefRecId
NoIndOpCodes_BR.RecIdNone
InvestmentTaxAmountMSTTax included amount, in accounting currency.Real
AmountMST
NoNone
IsCorrectionYes or no flag showing that the transaction is a correction.Enum
LedgerCorrection
NoYes (enum)
NoNone
LedgerJournalTransJournal line that the transaction comes from.Int64
RefRecId
NoLedgerJournalTrans.RecIdNone
LineDiscountLine discount value.Real
SalesLineDisc
NoNone
LinePropertyIdLine property of the transaction.String
ProjLinePropertyId
NoProjLineProperty.LinePropertyIdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NBSCode_BRNBS code, used for Brazil.Int64
RefRecId
NoNBSCodes_BR.RecIdNone
PackedExtensionsPacked data used to store extension values.low confidenceContainer
SysExtensionSerializerPackedContainer
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjIdProject that the transaction belongs to.String (20)
ProjId
YesProjTable.ProjIdNone
PSAContractLineNumBilling rule, linked to a contract line.String
PSAContractLineNum
NoPSAContractLineItems.ContractLineNumNone
PSAProjOrigTransIdID of the original transaction.String (20)
PSAProjOrigTransId
NoNone
QtyQuantity of the transaction.Real
ProjQtyCost
NoNone
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
ResourceProject resource linked to the transaction.Int64
ResourceRecId
NoResResourceIdentifier.RecIdResourceView.RecIdNone
ResourceCategoryRole ID of the resource, held as a record ID.Int64
ResourceCategoryRecId
NoResourceCategoryView.RecIdNone
ResourceLegalEntityCompany of the resource, held as a record ID.Int64
CompanyInfoRecId
NoNone
SubcontractLineSubcontract line linked to the transaction.String (20)
ProjSubcontractLine
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroupIdSales tax group of the transaction.String
ProjTaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxItemGroupIdItem sales tax group of the transaction.String
ProjTaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupNone
TotalCostAmountCurTotal cost amount, currency not stated in the metadata.Real
ProjTotalCostAmount
NoNone
TotalSalesAmountCurTotal sales amount, currency not stated in the metadata.Real
ProjTotalSalesAmount
NoNone
TransactionGroupIdID of the group that the transaction belongs to.String (20)
ProjTransactionGroupId
NoNone
TransactionOriginSource of the transaction, such as a journal, expense management or elimination.Enum
ProjTransactionOrigin
ProjOrigin (enum)
NoNone
TransDateProject date of the transaction.Date
ProjTransDate
YesNone
TransIdRefID of another expense transaction that this one refers to.String (20)
ProjCostTransId
NoProjCostTrans.TransIdProjExpenseExportEntity
TxtDescription of the transaction.String (255)
Description255
NoNone
VendInvoiceTransPosted vendor invoice line that the transaction comes from.Int64
RefRecId
NoVendInvoiceTrans.RecIdNone
VendorAccountVendor account linked to the transaction.String (20)
VendAccount
NoVendTable.AccountNumNone
VendorNameName of the vendor.String (160)
VendName
NoNone
VoucherJournalVoucher number of the transaction.String (20)
ProjTransactionVoucher
NoNone
WorkerWorker linked to the transaction, held as a record ID.Int64
ProjWorkerRecId
NoNone
WorkerLegalEntityCompany of the worker.Int64
CompanyInfoRecId
NoCompanyInfo.RecIdNone

Indexes (11)

Relations (24)

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

  • Currency → Currency

    Join on CurrencyId = Currency.CurrencyCode

    Many ProjCostTrans records → zero or one Currency record

  • CurrencyCost → Currency

    Join on CurrencyIdCost = Currency.CurrencyCode

    Many ProjCostTrans records → zero or one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many ProjCostTrans records → zero or one DimensionAttributeValueSet record

  • LegalEntity → CompanyInfo

    Join on WorkerLegalEntity = CompanyInfo.RecId

    Many ProjCostTrans records → zero or one CompanyInfo record

  • ProjCategory → ProjCategory

    Join on CategoryId = ProjCategory.CategoryId

    Many ProjCostTrans records → exactly one ProjCategory record

  • ProjCostTrans_AdjRefTransId → ProjCostTrans

    Join on AdjRefTransId = ProjCostTrans.TransId

    Many ProjCostTrans records → zero or one ProjCostTrans record

  • ProjCostTrans_TransIdRef → ProjCostTrans

    Join on TransIdRef = ProjCostTrans.TransId

    Many ProjCostTrans records → zero or one ProjCostTrans record

  • ProjLineProperty → ProjLineProperty

    Join on LinePropertyId = ProjLineProperty.LinePropertyId

    Many ProjCostTrans records → zero or one ProjLineProperty record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many ProjCostTrans records → exactly one ProjTable record

  • ProjTransPostingView → ProjTransPostingView

    Join on TransId = ProjTransPostingView.TransId

    Many ProjCostTrans records → zero or one ProjTransPostingView record

  • PSAContractLineItems → PSAContractLineItems

    Join on PSAContractLineNum = PSAContractLineItems.ContractLineNum

    Many ProjCostTrans records → zero or one PSAContractLineItems record

  • smmActivities → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber

    Many ProjCostTrans records → zero or one smmActivities record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroupId = TaxGroupHeading.TaxGroup

    Many ProjCostTrans records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroupId = TaxItemGroupHeading.TaxItemGroup

    Many ProjCostTrans records → zero or one TaxItemGroupHeading record

  • Resource → ResourceView

    Join on Resource = ResourceView.RecId

    Many ProjCostTrans records → zero or one ResourceView record

  • ResourceCategory → ResourceCategoryView

    Join on ResourceCategory = ResourceCategoryView.RecId

    Many ProjCostTrans records → zero or one ResourceCategoryView record

  • ResourceTable → ResResourceIdentifier

    Join on Resource = ResResourceIdentifier.RecId

    Many ProjCostTrans records → exactly one ResResourceIdentifier record

  • LedgerJournalTrans_Project → LedgerJournalTrans

    Join on LedgerJournalTrans = LedgerJournalTrans.RecId

    Zero or one ProjCostTrans record → zero or one LedgerJournalTrans record

  • VendInvoiceTrans → VendInvoiceTrans

    Join on VendInvoiceTrans = VendInvoiceTrans.RecId

    Zero or one ProjCostTrans record → zero or one VendInvoiceTrans record

  • VendTable → VendTable

    Join on VendorAccount = VendTable.AccountNum

    Zero or one ProjCostTrans record → zero or one VendTable record

  • DirPartyTable → DirPartyTable

    Join on VendorName = DirPartyTable.Name

    Cardinality not set in the metadata.

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many ProjCostTrans records → zero or one FinTag record

  • NBSCodes_BR → NBSCodes_BR

    Join on NBSCode_BR = NBSCodes_BR.RecId

    Many ProjCostTrans records → exactly one NBSCodes_BR record

  • IndOpCodes_BR → IndOpCodes_BR

    Join on IndOpCode_BR = IndOpCodes_BR.RecId

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

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

Email sales@drdynamics.co.uk