Data entity

BusinessDocumentProjectInvoiceBaseV2Entity

Second version of the read-only project invoice header data, joined to the customer. It adds the project invoice record ID to the key, so each invoice row is unique. Each row has the invoice, date, voucher, amounts and sales currency.

Entity name
BusinessDocumentProjectInvoiceBaseV2Entity
Public entity name
DocumentProjectInvoiceBaseV2
OData collection
DocumentProjectInvoiceBaseV2
Category
Transaction
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
Yes
Configuration key
Project
Keys
ProjInvoiceId, InvoiceDate, NumberSequenceGroupId, ProjInvoiceJourRecId
Staging table
BusinessDocumentProjectInvoiceBaseV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/DocumentProjectInvoiceBaseV2
Dataverse virtual table
mserp_businessdocumentprojectinvoicebasev2entity. 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

  • ProjInvoiceJour · root
  • CustTable · InnerJoin to ProjInvoiceJour

Fields (21)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CurrencyIdSales currency of the invoice.String (3)
ProjSalesCurrencyCode
NoYesCurrency.CurrencyCodeProjInvoiceJour.CurrencyId
CustTableRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesCustTable.RecId
DataAreaThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesProjInvoiceJour.DataAreaId
InvoiceAccountUnique customer account number. It identifies the customer record and is the table key.String (20)
CustAccount
YesYesCustTable.AccountNum
InvoiceAccountAddressMain address of the invoice account.String (250)
LogisticsAddressing
NoYesvirtual
InvoiceAccountAddressAdditionalAdditional address of the invoice account.String (250)
LogisticsAddressing
NoYesvirtual
InvoiceAccountVATRegistrationNumberTax registration number of the invoice account.String (60)
TaxRegistrationNumber
NoYesvirtual
InvoiceAccountNameName of the customer on the invoice account.String (60)
Name
NoYesvirtual
InvoiceAmountTotal invoice amount in the invoice currency.Real
AmountCur
NoYesProjInvoiceJour.InvoiceAmount
InvoiceDateDate of the invoice.Date
TransDate
YesYesProjInvoiceJour.InvoiceDate
OrderAccountCustomer account that placed the order, pointing to the customers table.String (20)
CustAccount
NoYesCustTable.AccountNumProjInvoiceJour.OrderAccount
LedgerVoucherVoucher number of the ledger posting.String (20)
Voucher
NoYesProjInvoiceJour.LedgerVoucher
ProjInvoiceIdInvoice number.String (50)
ProjInvoiceId
YesYesProjInvoiceJour.ProjInvoiceId
ProjInvoiceJourRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesProjInvoiceJour.RecId
ProjInvoiceJourTableIdNumeric ID of the project invoice table, used to identify the record type.Integer
TableId
NoYesvirtual
ProjInvoiceTypeType of invoice: invoice, on-account, or debit note.Enum
ProjInvoiceType
  • Invoice 0
  • OnAccount 1
  • DebitNote_BR 2
NoYesProjInvoiceJour.ProjInvoiceType
ProjInvoiceTypeStrType of the project invoice, shown as text.String (50)
String50
NoYesvirtual
SumLineDiscTotal of line discounts.Real
DiscAmount
NoYesProjInvoiceJour.SumLineDisc
TaxInvoiceSalesId_IDSales tax invoice ID, used for Indonesia.String (50)
TaxInvoiceSalesId
NoYesProjInvoiceJour.TaxInvoiceSalesId_ID
NumberSequenceGroupIdNumber sequence group used for the invoice.String
NumberSequenceGroupId
NoYesNumberSequenceGroup.numberSequenceGroupIdProjInvoiceJour.NumberSequenceGroupId
PrepaymentShows whether the invoice is a prepayment. The values come from an enum.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesvirtual

Foreign keys (3)

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.

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

Email sales@drdynamics.co.uk