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· rootCustTable· InnerJoin toProjInvoiceJour
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CurrencyIdSales currency of the invoice. | String (3)ProjSalesCurrencyCode | No | Yes | Currency.CurrencyCode | ProjInvoiceJour.CurrencyId |
CustTableRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | CustTable.RecId | |
DataAreaThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | ProjInvoiceJour.DataAreaId | |
InvoiceAccountUnique customer account number. It identifies the customer record and is the table key. | String (20)CustAccount | Yes | Yes | CustTable.AccountNum | |
InvoiceAccountAddressMain address of the invoice account. | String (250)LogisticsAddressing | No | Yes | virtual | |
InvoiceAccountAddressAdditionalAdditional address of the invoice account. | String (250)LogisticsAddressing | No | Yes | virtual | |
InvoiceAccountVATRegistrationNumberTax registration number of the invoice account. | String (60)TaxRegistrationNumber | No | Yes | virtual | |
InvoiceAccountNameName of the customer on the invoice account. | String (60)Name | No | Yes | virtual | |
InvoiceAmountTotal invoice amount in the invoice currency. | RealAmountCur | No | Yes | ProjInvoiceJour.InvoiceAmount | |
InvoiceDateDate of the invoice. | DateTransDate | Yes | Yes | ProjInvoiceJour.InvoiceDate | |
OrderAccountCustomer account that placed the order, pointing to the customers table. | String (20)CustAccount | No | Yes | CustTable.AccountNum | ProjInvoiceJour.OrderAccount |
LedgerVoucherVoucher number of the ledger posting. | String (20)Voucher | No | Yes | ProjInvoiceJour.LedgerVoucher | |
ProjInvoiceIdInvoice number. | String (50)ProjInvoiceId | Yes | Yes | ProjInvoiceJour.ProjInvoiceId | |
ProjInvoiceJourRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | ProjInvoiceJour.RecId | |
ProjInvoiceJourTableIdNumeric ID of the project invoice table, used to identify the record type. | IntegerTableId | No | Yes | virtual | |
ProjInvoiceTypeType of invoice: invoice, on-account, or debit note. | Enum
| No | Yes | ProjInvoiceJour.ProjInvoiceType | |
ProjInvoiceTypeStrType of the project invoice, shown as text. | String (50)String50 | No | Yes | virtual | |
SumLineDiscTotal of line discounts. | RealDiscAmount | No | Yes | ProjInvoiceJour.SumLineDisc | |
TaxInvoiceSalesId_IDSales tax invoice ID, used for Indonesia. | String (50)TaxInvoiceSalesId | No | Yes | ProjInvoiceJour.TaxInvoiceSalesId_ID | |
NumberSequenceGroupIdNumber sequence group used for the invoice. | StringNumberSequenceGroupId | No | Yes | NumberSequenceGroup.numberSequenceGroupId | ProjInvoiceJour.NumberSequenceGroupId |
PrepaymentShows whether the invoice is a prepayment. The values come from an enum.low confidence | Enum
| No | Yes | virtual |
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.
CurrencyId→Currency.CurrencyCode(key of Currency)Many ProjInvoiceJour records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
OrderAccount→CustTable.AccountNum(key of CustTable)Many ProjInvoiceJour records → zero or one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
NumberSequenceGroupId→NumberSequenceGroup.numberSequenceGroupId(key of NumberSequenceGroup)Many ProjInvoiceJour records → zero or one NumberSequenceGroup record
NumberSequenceGroup details: see NumberSequenceGroupEntity
Need help with BusinessDocumentProjectInvoiceBaseV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.