Table
ProjInvoiceCost
Project - invoice lines, expense
Holds expense lines on project invoices. Each line links to a project invoice and to the original project expense transaction. It also carries amount, tax, category, resource and dimension details.
- Table name
ProjInvoiceCost- 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 (34)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ActivityNumberActivity linked to the invoice line. | String (50)ProjActivityNumber | No | smmActivities.ActivityNumber | ProjInvoiceCostCDREntity |
BookableResourceNameName of the bookable resource. | String (60)ProjBookableResourceName | No | ProjInvoiceCostCDREntity | |
CategoryIdProject category of the line. | String (30)ProjCategoryId | Yes | ProjCategory.CategoryId | ProjInvoiceCostCDREntity |
CurrencyIdSales currency of the invoice line. | String (3)ProjSalesCurrencyCode | No | Currency.CurrencyCode | ProjInvoiceCostCDREntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | BusinessDocumentProjInvoiceCostLineEntityProjInvoiceCostCDREntity | |
DefaultDimensionSet of financial dimension values for the line. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | ProjInvoiceCostCDREntity |
EInvoiceAccountCodeDimension account code, a text value of up to 35 characters used for electronic invoicing.low confidence | String (35)EInvoiceAccountCode | No | ProjInvoiceCostCDREntity | |
FinTagFinancial tag linked to the line, stored as a system record ID. | Int64FinTagRecId | No | FinTag.RecId | None |
InvoiceDateDate of the project invoice. | DateInvoiceDate | Yes | ProjInvoiceCostCDREntity | |
LineAmountAmount of the invoice line. | RealProjSalesAmount | No | BusinessDocumentProjInvoiceCostLineEntityProjInvoiceCostCDREntity | |
OrderLineReference_NOReference to an order line. Used for Norway. | String (30)OrderLineReference_NO | No | ProjInvoiceCostCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjIdProject the line belongs to. | String (20)ProjId | Yes | ProjTable.ProjId | ProjInvoiceCostCDREntity |
ProjInvoiceIdProject invoice the line belongs to. | String (50)ProjInvoiceId | Yes | ProjInvoiceCostCDREntity | |
PSAContractLineNumBilling rule (contract line) that the line comes from. | StringPSAContractLineNum | No | PSAContractLineItems.ContractLineNum | ProjInvoiceCostCDREntity |
QtyQuantity invoiced on the line. | RealProjQtyCost | No | BusinessDocumentProjInvoiceCostLineEntityProjInvoiceCostCDREntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | BusinessDocumentProjInvoiceCostLineEntityProjInvoiceCostCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefInvoiceDate_MYDate of the original invoice. Used for Malaysia. | DateTransDate | No | ProjInvoiceCostCDREntity | |
RefInvoiceId_MYNumber of the original invoice. Used for Malaysia. | String (50)InvoiceId | No | ProjInvoiceCostCDREntity | |
ResourceProject resource linked to the line. | Int64ResourceRecId | No | ResResourceIdentifier.RecIdResourceView.RecId | ProjInvoiceCostCDREntity |
ResourceCategoryRole of the resource, stored as a system record ID. | Int64ResourceCategoryRecId | No | ResourceCategoryView.RecId | ProjInvoiceCostCDREntity |
ResourceLegalEntityCompany of the resource, stored as a system record ID. | Int64CompanyInfoRecId | No | ProjInvoiceCostCDREntity | |
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 | |
TaxAmountSales tax amount of the line. Currency not stated in the metadata. | RealTaxAmount | No | BusinessDocumentProjInvoiceCostLineEntityProjInvoiceCostCDREntity | |
TaxGroupIdSales tax group applied to the line. | StringProjTaxGroup | No | TaxGroupHeading.TaxGroup | BusinessDocumentProjInvoiceCostLineEntityProjInvoiceCostCDREntity |
TaxItemGroupIdItem sales tax group applied to the line. | StringProjTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | ProjInvoiceCostCDREntity |
TaxWriteCodePrint code for the tax on the line. | StringTaxWriteCode | No | ProjInvoiceCostCDREntity | |
TransDateProject date of the underlying transaction. | DateProjTransDate | No | BusinessDocumentProjInvoiceCostLineEntityProjInvoiceCostCDREntity | |
TransIdID of the project expense transaction that this line invoices. | String (20)ProjCostTransId | No | ProjCostTrans.TransId | BusinessDocumentProjInvoiceCostLineEntityProjInvoiceCostCDREntity |
TxtFree-text description of the line. | String (255)Description255 | No | BusinessDocumentProjInvoiceCostLineEntityProjInvoiceCostCDREntity | |
WorkerWorker linked to the line, stored as a system record ID. | Int64ProjWorkerRecId | No | ProjInvoiceCostCDREntity | |
WorkerLegalEntityCompany of the worker, stored as a system record ID. | Int64CompanyInfoRecId | No | ProjInvoiceCostCDREntity |
Indexes (3)
InvoiceIdxNot unique.
ProjIdxNot unique.
TransIdIdxNot unique.
Relations (15)
Each relation joins ProjInvoiceCost to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyId = Currency.CurrencyCodeMany ProjInvoiceCost records → zero or one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany ProjInvoiceCost records → zero or one DimensionAttributeValueSet record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany ProjInvoiceCost records → zero or one FinTag record
ProjCategory→ProjCategoryJoin on
CategoryId = ProjCategory.CategoryIdMany ProjInvoiceCost records → exactly one ProjCategory record
projCostTrans→ProjCostTransJoin on
TransId = ProjCostTrans.TransIdMany ProjInvoiceCost records → zero or one ProjCostTrans record
ProjInvoiceJour→ProjInvoiceJourJoin on
InvoiceDate = ProjInvoiceJour.InvoiceDate,ProjInvoiceId = ProjInvoiceJour.ProjInvoiceIdMany ProjInvoiceCost records → exactly one ProjInvoiceJour record
projProposalCost→ProjProposalCostJoin on
TransId = ProjProposalCost.TransIdCardinality not set in the metadata.
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany ProjInvoiceCost records → exactly one ProjTable record
PSAContractLineItems→PSAContractLineItemsJoin on
PSAContractLineNum = PSAContractLineItems.ContractLineNumMany ProjInvoiceCost records → zero or one PSAContractLineItems record
Resource→ResourceViewJoin on
Resource = ResourceView.RecIdMany ProjInvoiceCost records → zero or one ResourceView record
ResourceCategory→ResourceCategoryViewJoin on
ResourceCategory = ResourceCategoryView.RecIdMany ProjInvoiceCost records → zero or one ResourceCategoryView record
smmActivities→smmActivitiesJoin on
ActivityNumber = smmActivities.ActivityNumberMany ProjInvoiceCost records → zero or one smmActivities record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroupId = TaxGroupHeading.TaxGroupMany ProjInvoiceCost records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroupId = TaxItemGroupHeading.TaxItemGroupMany ProjInvoiceCost records → zero or one TaxItemGroupHeading record
ResourceTable→ResResourceIdentifierJoin on
Resource = ResResourceIdentifier.RecIdMany ProjInvoiceCost records → exactly one ResResourceIdentifier record
Get this data out
Tables are not exposed directly. These public entities read from ProjInvoiceCost; use one of them in Power BI, Power Platform or a data management project.
BusinessDocumentProjInvoiceCostLineEntity· 9 fields from this tableProjInvoiceCostCDREntity· 29 fields from this table
Need help with ProjInvoiceCost in a report, an integration or a migration? Talk to Dr Dynamics.