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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ActivityNumberActivity linked to the invoice line.String (50)
ProjActivityNumber
NoProjActivity.ActivityNumbersmmActivities.ActivityNumberProjInvoiceEmplCDREntity
BookableResourceNameName of the bookable resource.String (60)
ProjBookableResourceName
NoProjInvoiceEmplCDREntity
CategoryIdProject category of the line.String (30)
ProjCategoryId
YesProjCategory.CategoryIdProjInvoiceEmplCDREntity
CurrencyIdSales currency of the invoice line.String (3)
ProjSalesCurrencyCode
NoCurrency.CurrencyCodeProjInvoiceEmplCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoBusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity
DefaultDimensionSet of financial dimension values for the line.Int64
DimensionDefault
NoDimensionAttributeValueSet.RecIdProjInvoiceEmplCDREntity
EInvoiceAccountCodeDimension account code, a text value of up to 35 characters used for electronic invoicing.low confidenceString (35)
EInvoiceAccountCode
NoProjInvoiceEmplCDREntity
FinTagFinancial tag linked to the line, stored as a system record ID.Int64
FinTagRecId
NoFinTag.RecIdNone
InvoiceDateDate of the project invoice.Date
InvoiceDate
NoProjInvoiceEmplCDREntity
LineAmountAmount of the invoice line, in the transaction currency.Real
AmountCur
NoBusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity
OrderLineReference_NOReference to an order line. Used for Norway.String (30)
OrderLineReference_NO
NoProjInvoiceEmplCDREntity
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
YesProjTable.ProjIdProjInvoiceEmplCDREntity
ProjInvoiceIdProject invoice the line belongs to.String (50)
ProjInvoiceId
NoProjInvoiceEmplCDREntity
PSAContractLineNumBilling rule (contract line) that the line comes from.String
PSAContractLineNum
NoPSAContractLineItems.ContractLineNumProjInvoiceEmplCDREntity
QtyNumber of hours invoiced.Real
ProjQtyEmpl
NoBusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoBusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity
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
NoProjInvoiceEmplCDREntity
RefInvoiceId_MYNumber of the original invoice. Used for Malaysia.String (50)
InvoiceId
NoProjInvoiceEmplCDREntity
ResourceProject resource linked to the line.Int64
ResourceRecId
NoResResourceIdentifier.RecIdResourceView.RecIdProjInvoiceEmplCDREntity
ResourceCategoryRole of the resource, stored as a system record ID.Int64
ResourceCategoryRecId
NoResourceCategoryView.RecIdProjInvoiceEmplCDREntity
ResourceLegalEntityCompany of the resource.Int64
CompanyInfoRecId
NoCompanyInfo.RecIdProjInvoiceEmplCDREntity
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
NoBusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity
TaxGroupIdSales tax group applied to the line.String
ProjTaxGroup
NoTaxGroupHeading.TaxGroupBusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity
TaxItemGroupIdItem sales tax group applied to the line.String
ProjTaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupProjInvoiceEmplCDREntity
TaxWriteCodePrint code for the tax on the line.String
TaxWriteCode
NoProjInvoiceEmplCDREntity
TransDateProject date of the underlying transaction.Date
ProjTransDate
NoBusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity
TransIdID of the project hour transaction that this line invoices.String (20)
ProjEmplTransId
NoProjEmplTrans.TransIdBusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity
TxtFree-text description of the line.String (255)
Description255
NoBusinessDocumentProjInvoiceEmplLineV2EntityBusinessDocumentProjInvoiceEmplLineEntityProjInvoiceEmplCDREntity
WorkerWorker who did the work.Int64
ProjWorkerRecId
NoHcmWorker.RecIdProjInvoiceEmplCDREntity
WorkerLegalEntityCompany of the worker, stored as a system record ID.Int64
CompanyInfoRecId
NoProjInvoiceEmplCDREntity

Indexes (3)

Relations (18)

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

  • Currency → Currency

    Join on CurrencyId = Currency.CurrencyCode

    Many ProjInvoiceEmpl records → zero or one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many ProjInvoiceEmpl records → zero or one DimensionAttributeValueSet record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many ProjInvoiceEmpl records → zero or one FinTag record

  • HcmWorker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many ProjInvoiceEmpl records → zero or one HcmWorker record

  • ProjActivity → ProjActivity

    Join on ActivityNumber = ProjActivity.ActivityNumber

    Many ProjInvoiceEmpl records → zero or one ProjActivity record

  • ProjCategory → ProjCategory

    Join on CategoryId = ProjCategory.CategoryId

    Many ProjInvoiceEmpl records → exactly one ProjCategory record

  • projEmplTrans → ProjEmplTrans

    Join on TransId = ProjEmplTrans.TransId

    Many ProjInvoiceEmpl records → zero or one ProjEmplTrans record

  • ProjInvoiceJour → ProjInvoiceJour

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

    Many ProjInvoiceEmpl records → zero or one ProjInvoiceJour record

  • ProjProposalEmpl → ProjProposalEmpl

    Join on TransId = ProjProposalEmpl.TransId

    Cardinality not set in the metadata.

  • ProjTable → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many ProjInvoiceEmpl records → exactly one ProjTable record

  • PSAContractLineItems → PSAContractLineItems

    Join on PSAContractLineNum = PSAContractLineItems.ContractLineNum

    Many ProjInvoiceEmpl records → zero or one PSAContractLineItems record

  • Resource → ResourceView

    Join on Resource = ResourceView.RecId

    Many ProjInvoiceEmpl records → zero or one ResourceView record

  • ResourceCategory → ResourceCategoryView

    Join on ResourceCategory = ResourceCategoryView.RecId

    Many ProjInvoiceEmpl records → zero or one ResourceCategoryView record

  • ResourceLegalEntity → CompanyInfo

    Join on ResourceLegalEntity = CompanyInfo.RecId

    Many ProjInvoiceEmpl records → zero or one CompanyInfo record

  • smmActivities → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber

    Many ProjInvoiceEmpl records → zero or one smmActivities record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroupId = TaxGroupHeading.TaxGroup

    Many ProjInvoiceEmpl records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroupId = TaxItemGroupHeading.TaxItemGroup

    Many ProjInvoiceEmpl records → zero or one TaxItemGroupHeading record

  • ResourceTable → ResResourceIdentifier

    Join on Resource = ResResourceIdentifier.RecId

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

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

Email sales@drdynamics.co.uk