Data entity

ProjInvoiceItemCDREntity

Read-only entity for item lines of project invoices. Each line has project, item number, quantity, line amount, discount and sales tax details. It also holds shipping and Intrastat details such as packing slip, commodity and country of origin. It is keyed by a source key and joins a Dataverse-related table.

Entity name
ProjInvoiceItemCDREntity
Public entity name
ProjInvoiceItemCDREntity
OData collection
ProjInvoiceItemCDREntities
Category
Transaction
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
LogisticsBasic
Keys
SourceKey
Staging table
None

Use it in Power BI and Power Platform

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

Data sources

  • ProjInvoiceItem · root
  • ProjInvoiceItemCDR · InnerJoin to ProjInvoiceItem

Fields (65)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ActivityNumberActivity linked to the invoice line.String (50)
ProjActivityNumber
NoYessmmActivities.ActivityNumberProjInvoiceItem.ActivityNumber
CategoryIdProject category of the line.String (30)
ProjCategoryId
NoYesProjCategory.CategoryIdProjInvoiceItem.CategoryId
CommissAmountCurCommission amount of the line.Real
CommissAmountMST
NoYesProjInvoiceItem.CommissAmountCur
CommissCalcYes/no flag showing whether commission has been calculated.Enum
CommissCalc
NoYes

Platform enum: values not in the metadata extract.

NoYesProjInvoiceItem.CommissCalc
CreditNoteInternalRef_PLInternal reference to a related invoice line, used for credit notes. Used for Poland.Int64
CreditNoteInternalRef_W
NoYesProjInvoiceItem.CreditNoteInternalRef_PL
CurrencyIdSales currency of the invoice line.String (3)
ProjSalesCurrencyCode
NoYesCurrency.CurrencyCodeProjInvoiceItem.CurrencyId
DefaultDimensionSet of financial dimension values for the line.Int64
DimensionDefault
NoYesDimensionAttributeValueSet.RecIdProjInvoiceItem.DefaultDimension
DlvDateShip date of the goods.Date
SalesShippingDate
NoYesProjInvoiceItem.DlvDate
EInvoiceAccountCodeDimension account code, a text value of up to 35 characters used for electronic invoicing.low confidenceString (35)
EInvoiceAccountCode
NoYesProjInvoiceItem.EInvoiceAccountCode
ExternalItemIdItem number used externally, for example by the customer.String (20)
SalesExternalItemId
NoYesProjInvoiceItem.ExternalItemId
IntrastatCommodityCommodity category for Intrastat, stored as a system record ID.Int64
IntrastatCommodityId
NoYesEcoResCategory.RecIdProjInvoiceItem.IntrastatCommodity
IntrastatDispatchIdShipment batch used for Intrastat reporting.String (20)
IntrastatDispatchId
NoYesProjInvoiceItem.IntrastatDispatchId
IntrastatFulfillmentDate_HUFulfilment date for Intrastat. Used for Hungary.Date
IntrastatFulfillmentDate_HU
NoYesProjInvoiceItem.IntrastatFulfillmentDate_HU
inventDimIdInventory dimension combination of the line.String (20)
InventDimId
NoYesInventDim.inventDimIdProjInvoiceItem.inventDimId
InventTransIdLot ID that links to the inventory transaction origin.String (20)
InventTransId
NoYesInventTransOrigin.InventTransIdProjInvoiceItem.InventTransId
InvoiceDateDate of the project invoice.Date
InvoiceDate
NoYesProjInvoiceItem.InvoiceDate
ItemCodeIdCommodity code. The EDT name suggests it is an older, deprecated field.low confidenceString
DEL_IntrastatItemCodeId
NoYesProjInvoiceItem.ItemCodeId
ItemIdItem on the invoice line.String (20)
ItemIdSmall
NoYesInventTable.ItemIdProjInvoiceItem.ItemId
ItemTypeOrigin of the item transaction. Values include item requirements, sales order, item journal, purchase order, production and vendor invoice.Enum
ProjItemType
  • Project 0
  • SalesOrder 1
  • InventJournal 2
  • PurchOrder 3
  • Production 4
  • ProdLine 5
  • BeginningBalance 6
  • VendorInvoice 7
NoYesProjInvoiceItem.ItemType
LedgerStatusCostLedger status of the line. Values are no ledger, balance, profit and loss, never ledger and deferred.Enum
ProjLedgerStatus
  • None 0
  • BalanceSheet 1
  • Operations 2
  • Never 3
  • Deferred 4
NoYesProjInvoiceItem.LedgerStatusCost
LineAmountAmount of the invoice line, in the transaction currency.Real
AmountCur
NoYesProjInvoiceItem.LineAmount
LineDiscDiscount amount on the line.Real
SalesLineDisc
NoYesProjInvoiceItem.LineDisc
LinePercentDiscount given as a percentage.Real
SalesLinePercent
NoYesProjInvoiceItem.LinePercent
NGPCodesTable_FRNGP code, stored as a system record ID. Used for France.Int64
NGPCodesTableFRId
NoYesNGPCodesTable_FR.RecIdProjInvoiceItem.NGPCodesTable_FR
OrderLineReference_NOReference to an order line. Used for Norway.String (30)
OrderLineReference_NO
NoYesProjInvoiceItem.OrderLineReference_NO
OrigCountryRegionIdCountry or region where the item comes from.String
ItemOrigCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdProjInvoiceItem.OrigCountryRegionId
OrigStateState where the item comes from.String
ItemOrigStateId
NoYesProjInvoiceItem.OrigState
OverrideSalesTaxYes/no flag that lets the line use its own sales tax setting.Enum
TaxIntegrationOverrideSalesTax
NoYes

Platform enum: values not in the metadata extract.

NoYesProjInvoiceItem.OverrideSalesTax
PackingSlipIdPacking slip linked to the line.String (20)
PackingSlipId
NoYesProjInvoiceItem.PackingSlipId
PortTransaction code for Intrastat.String
IntrastatTransactionCodeId
NoYesIntrastatTransactionCode.TransactionCodeProjInvoiceItem.Port
PriceUnitNumber of units that the price refers to.Real
PriceUnit
NoYesProjInvoiceItem.PriceUnit
ProjAdjustRefIdAdjustment number linked to the line.String (20)
ProjAdjustRefId
NoYesProjInvoiceItem.ProjAdjustRefId
ProjIdProject the line belongs to.String (20)
ProjId
YesYesProjTable.ProjIdProjInvoiceItem.ProjId
ProjInvoiceIdProject invoice the line belongs to.String (50)
ProjInvoiceId
NoYesProjInvoiceItem.ProjInvoiceId
ProjTransIdID of the project item transaction that this line invoices.String (20)
ProjItemTransId
NoYesProjItemTrans.ProjTransIdProjInvoiceItem.ProjTransId
PSAContractLineNumBilling rule (contract line) that the line comes from.String
PSAContractLineNum
NoYesPSAContractLineItems.ContractLineNumProjInvoiceItem.PSAContractLineNum
QtyQuantity to deliver now.Real
SalesQty
NoYesProjInvoiceItem.Qty
QtyPhysicalQuantity on the line.Real
SalesQty
NoYesProjInvoiceItem.QtyPhysical
RefInvoiceDate_MYDate of the original invoice. Used for Malaysia.Date
TransDate
NoYesProjInvoiceItem.RefInvoiceDate_MY
RefInvoiceId_MYNumber of the original invoice. Used for Malaysia.String (50)
InvoiceId
NoYesProjInvoiceItem.RefInvoiceId_MY
RefReturnInvoiceTrans_WSystem record ID of the invoice line that was returned.Int64
RefReturnInvoiceTrans_W
NoYesProjInvoiceItem.RecIdProjInvoiceItem.RefReturnInvoiceTrans_W
RemainQuantity that remains.Real
SalesQty
NoYesProjInvoiceItem.Remain
SalesGroupCommission sales group of the line.String
CommissSalesGroup
NoYesCommissionSalesGroup.GroupIdProjInvoiceItem.SalesGroup
SalesIdSales order linked to the line.String (20)
SalesId
NoYesSalesTable.SalesIdProjInvoiceItem.SalesId
SalesMarkupCharges amount added on the line.Real
SalesMarkup
NoYesProjInvoiceItem.SalesMarkup
SalesUnitUnit of measure used for sales.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.SymbolProjInvoiceItem.SalesUnit
SourceDocumentLineSource document line, stored as a system record ID.Int64
RefRecId
NoYesSourceDocumentLine.RecIdProjInvoiceItem.SourceDocumentLine
statProcIdStatistics procedure code for Intrastat.String
IntrastatProcId
NoYesProjInvoiceItem.statProcId
TaxGroupIdSales tax group applied to the line.String
ProjTaxGroup
NoYesTaxGroupHeading.TaxGroupProjInvoiceItem.TaxGroupId
TaxAmountSales tax amount of the line. Currency not stated in the metadata.Real
TaxAmount
NoYesProjInvoiceItem.TaxAmount
TaxItemGroupIdItem sales tax group applied to the line.String
ProjTaxItemGroup
NoYesTaxItemGroupHeading.TaxItemGroupProjInvoiceItem.TaxItemGroupId
TaxWriteCodePrint code for the tax on the line.String
TaxWriteCode
NoYesProjInvoiceItem.TaxWriteCode
TransactionCodeTrade (Intrastat transaction) code of the line.String
IntrastatTransactionCodeId
NoYesIntrastatTransactionCode.TransactionCodeProjInvoiceItem.TransactionCode
TransDateProject date of the underlying transaction.Date
ProjTransDate
NoYesProjInvoiceItem.TransDate
TransportTransport method code used for Intrastat.String
IntrastatTransport
NoYesIntrastatTransportMode.TransPortCodeProjInvoiceItem.Transport
TxtFree-text description of the line, up to 1,000 characters.String (1000)
ItemFreeTxt
NoYesProjInvoiceItem.Txt
WeightWeight of the goods on the line.Real
Weight
NoYesProjInvoiceItem.Weight
DefaultDimensionValuesJsonDefault financial dimension values for the record, held as JSON text.StringNoYescomputed
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesProjInvoiceItem.RecId
SysDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesProjInvoiceItem.DataAreaId
CDRDataAreaIdCompany (legal entity) that the row belongs to.String
DataAreaId
NoYesProjInvoiceItemCDR.CDRDataAreaId
CountryLawReferenceTwo-character code that identifies the country law the record refers to.String (2)
CDRCountryLawReference
NoYesProjInvoiceItemCDR.CountryLawReference
RetentionStartDateDate on which the retention period starts.Date
CDRRetentionStartDate
NoYesProjInvoiceItemCDR.RetentionStartDate
RetentionEndDateDate on which the retention period ends.Date
CDRRetentionEndDate
NoYesProjInvoiceItemCDR.RetentionEndDate
BookableResourceNameName of the bookable resource.String (60)
ProjBookableResourceName
NoYesProjInvoiceItem.BookableResourceName

Foreign keys (23)

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 ProjInvoiceItemCDREntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk