Table
ProjInvoiceEmpl
Project - invoice lines, employee
Holds hour lines on project invoices. Each line links to a project invoice and to the original project hour transaction. It records hours, amount, tax, resource, worker and dimension details.
- Table name
ProjInvoiceEmpl- 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 | ProjActivity.ActivityNumbersmmActivities.ActivityNumber | ProjInvoiceEmplCDREntity |
BookableResourceNameName of the bookable resource. | String (60)ProjBookableResourceName | No | ProjInvoiceEmplCDREntity | |
CategoryIdProject category of the line. | String (30)ProjCategoryId | Yes | ProjCategory.CategoryId | ProjInvoiceEmplCDREntity |
CurrencyIdSales currency of the invoice line. | String (3)ProjSalesCurrencyCode | No | Currency.CurrencyCode | ProjInvoiceEmplCDREntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | BusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity | |
DefaultDimensionSet of financial dimension values for the line. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | ProjInvoiceEmplCDREntity |
EInvoiceAccountCodeDimension account code, a text value of up to 35 characters used for electronic invoicing.low confidence | String (35)EInvoiceAccountCode | No | ProjInvoiceEmplCDREntity | |
FinTagFinancial tag linked to the line, stored as a system record ID. | Int64FinTagRecId | No | FinTag.RecId | None |
InvoiceDateDate of the project invoice. | DateInvoiceDate | No | ProjInvoiceEmplCDREntity | |
LineAmountAmount of the invoice line, in the transaction currency. | RealAmountCur | No | BusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity | |
OrderLineReference_NOReference to an order line. Used for Norway. | String (30)OrderLineReference_NO | No | ProjInvoiceEmplCDREntity | |
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 | ProjInvoiceEmplCDREntity |
ProjInvoiceIdProject invoice the line belongs to. | String (50)ProjInvoiceId | No | ProjInvoiceEmplCDREntity | |
PSAContractLineNumBilling rule (contract line) that the line comes from. | StringPSAContractLineNum | No | PSAContractLineItems.ContractLineNum | ProjInvoiceEmplCDREntity |
QtyNumber of hours invoiced. | RealProjQtyEmpl | No | BusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | BusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity | |
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 | ProjInvoiceEmplCDREntity | |
RefInvoiceId_MYNumber of the original invoice. Used for Malaysia. | String (50)InvoiceId | No | ProjInvoiceEmplCDREntity | |
ResourceProject resource linked to the line. | Int64ResourceRecId | No | ResResourceIdentifier.RecIdResourceView.RecId | ProjInvoiceEmplCDREntity |
ResourceCategoryRole of the resource, stored as a system record ID. | Int64ResourceCategoryRecId | No | ResourceCategoryView.RecId | ProjInvoiceEmplCDREntity |
ResourceLegalEntityCompany of the resource. | Int64CompanyInfoRecId | No | CompanyInfo.RecId | ProjInvoiceEmplCDREntity |
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 | BusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity | |
TaxGroupIdSales tax group applied to the line. | StringProjTaxGroup | No | TaxGroupHeading.TaxGroup | BusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity |
TaxItemGroupIdItem sales tax group applied to the line. | StringProjTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | ProjInvoiceEmplCDREntity |
TaxWriteCodePrint code for the tax on the line. | StringTaxWriteCode | No | ProjInvoiceEmplCDREntity | |
TransDateProject date of the underlying transaction. | DateProjTransDate | No | BusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity | |
TransIdID of the project hour transaction that this line invoices. | String (20)ProjEmplTransId | No | ProjEmplTrans.TransId | BusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity |
TxtFree-text description of the line. | String (255)Description255 | No | BusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity | |
WorkerWorker who did the work. | Int64ProjWorkerRecId | No | HcmWorker.RecId | ProjInvoiceEmplCDREntity |
WorkerLegalEntityCompany of the worker, stored as a system record ID. | Int64CompanyInfoRecId | No | ProjInvoiceEmplCDREntity |
Indexes (3)
InvoiceIdxNot unique.
ProjIdxNot unique.
TransIdIdxNot unique.
Relations (18)
Each relation joins ProjInvoiceEmpl to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyId = Currency.CurrencyCodeMany ProjInvoiceEmpl records → zero or one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany ProjInvoiceEmpl records → zero or one DimensionAttributeValueSet record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany ProjInvoiceEmpl records → zero or one FinTag record
HcmWorker→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany ProjInvoiceEmpl records → zero or one HcmWorker record
ProjActivity→ProjActivityJoin on
ActivityNumber = ProjActivity.ActivityNumberMany ProjInvoiceEmpl records → zero or one ProjActivity record
ProjCategory→ProjCategoryJoin on
CategoryId = ProjCategory.CategoryIdMany ProjInvoiceEmpl records → exactly one ProjCategory record
projEmplTrans→ProjEmplTransJoin on
TransId = ProjEmplTrans.TransIdMany ProjInvoiceEmpl records → zero or one ProjEmplTrans record
ProjInvoiceJour→ProjInvoiceJourJoin on
InvoiceDate = ProjInvoiceJour.InvoiceDate,ProjInvoiceId = ProjInvoiceJour.ProjInvoiceIdMany ProjInvoiceEmpl records → zero or one ProjInvoiceJour record
ProjProposalEmpl→ProjProposalEmplJoin on
TransId = ProjProposalEmpl.TransIdCardinality not set in the metadata.
ProjTable→ProjTableJoin on
ProjId = ProjTable.ProjIdMany ProjInvoiceEmpl records → exactly one ProjTable record
PSAContractLineItems→PSAContractLineItemsJoin on
PSAContractLineNum = PSAContractLineItems.ContractLineNumMany ProjInvoiceEmpl records → zero or one PSAContractLineItems record
Resource→ResourceViewJoin on
Resource = ResourceView.RecIdMany ProjInvoiceEmpl records → zero or one ResourceView record
ResourceCategory→ResourceCategoryViewJoin on
ResourceCategory = ResourceCategoryView.RecIdMany ProjInvoiceEmpl records → zero or one ResourceCategoryView record
ResourceLegalEntity→CompanyInfoJoin on
ResourceLegalEntity = CompanyInfo.RecIdMany ProjInvoiceEmpl records → zero or one CompanyInfo record
smmActivities→smmActivitiesJoin on
ActivityNumber = smmActivities.ActivityNumberMany ProjInvoiceEmpl records → zero or one smmActivities record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroupId = TaxGroupHeading.TaxGroupMany ProjInvoiceEmpl records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroupId = TaxItemGroupHeading.TaxItemGroupMany ProjInvoiceEmpl records → zero or one TaxItemGroupHeading record
ResourceTable→ResResourceIdentifierJoin on
Resource = ResResourceIdentifier.RecIdMany ProjInvoiceEmpl records → exactly one ResResourceIdentifier record
Get this data out
Tables are not exposed directly. These public entities read from ProjInvoiceEmpl; use one of them in Power BI, Power Platform or a data management project.
BusinessDocumentProjInvoiceEmplLineV2Entity· 9 fields from this tableBusinessDocumentProjInvoiceEmplLineEntity· 9 fields from this tableProjInvoiceEmplCDREntity· 29 fields from this table
Need help with ProjInvoiceEmpl in a report, an integration or a migration? Talk to Dr Dynamics.