Data entity

BusinessDocumentProjInvoiceEmplLineV2Entity

Second version of the read-only employee lines of project invoices. It adds the record ID of the line to the key. Each row has the date, voucher, hours, unit price, line amount and sales tax.

Entity name
BusinessDocumentProjInvoiceEmplLineV2Entity
Public entity name
DocumentProjInvoiceEmplLineV2
OData collection
DocumentProjInvoiceEmplLineV2
Category
Transaction
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
Yes
Configuration key
Project
Keys
TransId, ProjInvoiceEmplRecId
Staging table
BusinessDocumentProjInvoiceEmplLineV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/DocumentProjInvoiceEmplLineV2
Dataverse virtual table
mserp_businessdocumentprojinvoiceempllinev2entity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • ProjInvoiceEmpl · root
  • ProjInvoiceJour · InnerJoin to ProjInvoiceEmpl

Fields (14)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
InvoiceDateDate of the invoice.Date
TransDate
YesYesProjInvoiceJour.InvoiceDate
LedgerVoucherVoucher number of the ledger posting.String (20)
Voucher
NoYesProjInvoiceJour.LedgerVoucher
LineAmountAmount of the invoice line, in the transaction currency.Real
AmountCur
NoYesProjInvoiceEmpl.LineAmount
ProjInvoiceIdInvoice number.String (50)
ProjInvoiceId
YesYesProjInvoiceJour.ProjInvoiceId
QtyNumber of hours invoiced.Real
ProjQtyEmpl
NoYesProjInvoiceEmpl.Qty
SalesPricePrice for one unit on the invoice line.Real
PriceUnit
NoYesvirtual
TaxAmountSales tax amount of the line. Currency not stated in the metadata.Real
TaxAmount
NoYesProjInvoiceEmpl.TaxAmount
TaxGroupIdSales tax group applied to the line.String
ProjTaxGroup
NoYesTaxGroupHeading.TaxGroupProjInvoiceEmpl.TaxGroupId
TransDateProject date of the underlying transaction.Date
ProjTransDate
NoYesProjInvoiceEmpl.TransDate
TransIdID of the project hour transaction that this line invoices.String (20)
ProjEmplTransId
NoYesProjEmplTrans.TransIdProjInvoiceEmpl.TransId
TxtFree-text description of the line.String (255)
Description255
NoYesProjInvoiceEmpl.Txt
ProjInvoiceEmplRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesProjInvoiceEmpl.RecId
ProjInvoiceEmplTableIdNumeric ID of the project invoice employee table, used to identify the record type.Integer
TableId
NoYesvirtual
DataAreaThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesProjInvoiceEmpl.DataAreaId

Foreign keys (2)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

  • TaxGroupId → TaxGroupHeading.TaxGroup (key of TaxGroupHeading)

    Many ProjInvoiceEmpl records → zero or one TaxGroupHeading record

    TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity

  • TransId → ProjEmplTrans.TransId (key of ProjEmplTrans)

    Many ProjInvoiceEmpl records → zero or one ProjEmplTrans record

    Not exposed by a public entity.

Need help with BusinessDocumentProjInvoiceEmplLineV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk