Table

ProjInvoiceRevenue

Project - invoice lines, fee

Holds fee lines on project invoices. Each line links to a project invoice and to the original project fee transaction. It also carries subscription details, retention flags, tax and dimension data.

Table name
ProjInvoiceRevenue
Module
Project management and accounting
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Project
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (38)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BookableResourceNameName of the bookable resource.String (60)
ProjBookableResourceName
NoProjInvoiceRevenueCDREntity
CategoryIdProject category of the line.String (30)
ProjCategoryId
NoProjCategory.CategoryIdProjInvoiceRevenueCDREntity
CurrencyIdSales currency of the invoice line.String (3)
ProjSalesCurrencyCode
NoCurrency.CurrencyCodeProjInvoiceRevenueCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoBusinessDocumentProjInvoiceRevenueLineEntityProjInvoiceRevenueCDREntity
DefaultDimensionSet of financial dimension values for the line.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdProjInvoiceRevenueCDREntity
EInvoiceAccountCodeDimension account code, a text value of up to 35 characters used for electronic invoicing.low confidenceString (35)
EInvoiceAccountCode
NoProjInvoiceRevenueCDREntity
FinTagFinancial tag linked to the line, stored as a system record ID.Int64
FinTagRecId
NoFinTag.RecIdNone
InvoiceDateDate of the project invoice.Date
InvoiceDate
NoProjInvoiceRevenueCDREntity
IsReleasedYes/no flag labelled customer retained payment. It seems to show a retained amount that was released.low confidenceEnum
NoYesId
NoYes (enum)
NoProjInvoiceRevenueCDREntity
IsRetainedYes/no flag showing a customer retained payment.Enum
NoYesId
NoYes (enum)
NoProjInvoiceRevenueCDREntity
LineAmountAmount of the invoice line, in the transaction currency.Real
AmountCur
NoBusinessDocumentProjInvoiceRevenueLineEntityProjInvoiceRevenueCDREntity
OrderLineReference_NOReference to an order line. Used for Norway.String (30)
OrderLineReference_NO
NoProjInvoiceRevenueCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjIdProject the line belongs to.String (20)
ProjId
NoProjTable.ProjIdProjInvoiceRevenueCDREntity
ProjInvoiceIdProject invoice the line belongs to.String (50)
ProjInvoiceId
NoProjInvoiceRevenueCDREntity
PSAContractLineNumBilling rule (contract line) that the line comes from.String
PSAContractLineNum
NoPSAContractLineItems.ContractLineNumProjInvoiceRevenueCDREntity
QtyQuantity invoiced on the line.Real
ProjQtyRevenue
NoBusinessDocumentProjInvoiceRevenueLineEntityProjInvoiceRevenueCDREntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoBusinessDocumentProjInvoiceRevenueLineEntityProjInvoiceRevenueCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefInvoiceDate_MYDate of the original invoice. Used for Malaysia.Date
TransDate
NoProjInvoiceRevenueCDREntity
RefInvoiceId_MYNumber of the original invoice. Used for Malaysia.String (50)
InvoiceId
NoProjInvoiceRevenueCDREntity
ResourceProject resource linked to the line.Int64
ResourceRecId
NoResResourceIdentifier.RecIdResourceView.RecIdProjInvoiceRevenueCDREntity
ResourceCategoryRole of the resource, stored as a system record ID.Int64
ResourceCategoryRecId
NoResourceCategoryView.RecIdProjInvoiceRevenueCDREntity
SMABasePriceBase price of the service subscription.Real
SMABasePrice
NoProjInvoiceRevenueCDREntity
SMAEnddateEnd date of the subscription period.Date
SMAEnddate
NoProjInvoiceRevenueCDREntity
SMAIndexIndex value linked to the subscription price.Real
SMAIndex
NoProjInvoiceRevenueCDREntity
SMAStartDateStart date of the subscription period.Date
SMAStartDate
NoProjInvoiceRevenueCDREntity
SMASubscriptionIdService subscription linked to the line.String (20)
SMASubscriptionId
NoSMASubscriptionTable.SubscriptionIdProjInvoiceRevenueCDREntity
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
TaxAmountSales tax amount of the line. Currency not stated in the metadata.Real
TaxAmount
NoBusinessDocumentProjInvoiceRevenueLineEntityProjInvoiceRevenueCDREntity
TaxGroupIdSales tax group applied to the line.String
ProjTaxGroup
NoTaxGroupHeading.TaxGroupBusinessDocumentProjInvoiceRevenueLineEntityProjInvoiceRevenueCDREntity
TaxItemGroupIdItem sales tax group applied to the line.String
ProjTaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupProjInvoiceRevenueCDREntity
TaxWriteCodePrint code for the tax on the line.String
TaxWriteCode
NoProjInvoiceRevenueCDREntity
TransDateProject date of the underlying transaction.Date
ProjTransDate
NoBusinessDocumentProjInvoiceRevenueLineEntityProjInvoiceRevenueCDREntity
TransIdID of the project fee transaction that this line invoices.String (20)
ProjRevenueTransId
YesProjRevenueTrans.TransIdBusinessDocumentProjInvoiceRevenueLineEntityProjInvoiceRevenueCDREntity
TxtFree-text description of the line.String (255)
Description255
NoBusinessDocumentProjInvoiceRevenueLineEntityProjInvoiceRevenueCDREntity
WorkerWorker linked to the line, stored as a system record ID.Int64
ProjWorkerRecId
NoProjInvoiceRevenueCDREntity

Indexes (3)

Relations (15)

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

  • Currency → Currency

    Join on CurrencyId = Currency.CurrencyCode

    Many ProjInvoiceRevenue records → zero or one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many ProjInvoiceRevenue records → zero or one DimensionAttributeValueSet record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many ProjInvoiceRevenue records → zero or one FinTag record

  • ProjCategory → ProjCategory

    Join on CategoryId = ProjCategory.CategoryId

    Many ProjInvoiceRevenue records → zero or one ProjCategory record

  • ProjInvoiceJour → ProjInvoiceJour

    Join on InvoiceDate = ProjInvoiceJour.InvoiceDate, ProjInvoiceId = ProjInvoiceJour.ProjInvoiceId

    Many ProjInvoiceRevenue records → zero or one ProjInvoiceJour record

  • ProjProposalRevenue → ProjProposalRevenue

    Join on TransId = ProjProposalRevenue.TransId

    Cardinality not set in the metadata.

  • projRevenueTrans → ProjRevenueTrans

    Join on TransId = ProjRevenueTrans.TransId

    Many ProjInvoiceRevenue records → exactly one ProjRevenueTrans record

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many ProjInvoiceRevenue records → zero or one ProjTable record

  • PSAContractLineItems → PSAContractLineItems

    Join on PSAContractLineNum = PSAContractLineItems.ContractLineNum

    Many ProjInvoiceRevenue records → zero or one PSAContractLineItems record

  • Resource → ResourceView

    Join on Resource = ResourceView.RecId

    Many ProjInvoiceRevenue records → zero or one ResourceView record

  • ResourceCategory → ResourceCategoryView

    Join on ResourceCategory = ResourceCategoryView.RecId

    Many ProjInvoiceRevenue records → zero or one ResourceCategoryView record

  • SMASubscriptionTable → SMASubscriptionTable

    Join on SMASubscriptionId = SMASubscriptionTable.SubscriptionId

    Many ProjInvoiceRevenue records → zero or one SMASubscriptionTable record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroupId = TaxGroupHeading.TaxGroup

    Many ProjInvoiceRevenue records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroupId = TaxItemGroupHeading.TaxItemGroup

    Many ProjInvoiceRevenue records → zero or one TaxItemGroupHeading record

  • ResourceTable → ResResourceIdentifier

    Join on Resource = ResResourceIdentifier.RecId

    Many ProjInvoiceRevenue records → exactly one ResResourceIdentifier record

Get this data out

Tables are not exposed directly. These public entities read from ProjInvoiceRevenue; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk