Data entity

PurchPurchaseOrderLineCDSEntity

Holds purchase order lines for Dataverse integration, keyed by purchase order number and line number. It shows the product, quantity, unit price, discount, net amount, dates, warehouse and a delivery address. It is built on the purchase order line V2 entity.

Entity name
PurchPurchaseOrderLineCDSEntity
Public entity name
CDSPurchaseOrderLine
OData collection
CDSPurchaseOrderLines
Category
Document
Module
Product information management
Read-only
No
Data management enabled
Yes
Configuration key
CDSIntegration
Keys
PurchaseOrderNumber, LineNumber
Staging table
PurchPurchaseOrderLineCDSStaging

Use it in Power BI and Power Platform

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

  • PurchPurchaseOrderLineV2Entity · root
  • PurchTable · InnerJoin to PurchPurchaseOrderLineV2Entity · read-only
  • PurchParameters · OuterJoin to PurchPurchaseOrderLineV2Entity · read-only
  • EcoResCategory · OuterJoin to PurchPurchaseOrderLineV2Entity · read-only
  • EcoResCategory_PCClass (table PCClass) · Derived to EcoResCategory
  • EcoResCategoryHierarchy · OuterJoin to PurchPurchaseOrderLineV2Entity · read-only
  • InventDistinctProduct · OuterJoin to PurchPurchaseOrderLineV2Entity · read-only
  • EcoResDistinctProduct · OuterJoin to InventDistinctProduct · read-only
  • EcoResProductSystemLanguage · OuterJoin to EcoResDistinctProduct · read-only
  • EcoResProductTranslationToSystemLanguage (table EcoResProductTranslation) · OuterJoin to EcoResDistinctProduct · read-only
  • InventTable · OuterJoin to EcoResDistinctProduct · read-only
  • EcoResProductMaster · OuterJoin to InventTable · read-only
  • EcoResProductMasterTranslationToSystemLanguage (table EcoResProductTranslation) · OuterJoin to InventTable · read-only
  • EcoResDistinctProduct_EcoResDistinctProductVariant (table EcoResDistinctProductVariant) · Derived to EcoResDistinctProduct

Fields (49)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
PurchaseOrderNumberNumber of the purchase order that the line belongs to. It points to the purchase order header.String (20)
PurchIdBase
NoYesPurchTable.PurchIdPurchLine.PurchId
ExternalItemNumberThe item number that the vendor uses for this item.String (20)
PurchExternalItemId
NoYesPurchLine.ExternalItemId
PurchaseOrderLineStatusStatus of the line: None, Open order, Received, Invoiced or Canceled.Enum
PurchStatus
  • None 0
  • Backorder 1
  • Received 2
  • Invoiced 3
  • Canceled 4
NoYesPurchLine.PurchStatus
ConfirmedDeliveryDateDate on which the vendor confirmed the receipt of the goods.Date
PurchLineConfirmedReceiptDate
NoYesPurchLine.ConfirmedDlv
DeliveryAddressCityName of the city, as text.String (60)
LogisticsAddressCityName
NoYesLogisticsPostalAddress.City
DeliveryAddressCountryRegionIdThe country or region of the address.String
LogisticsAddressCountryRegionId
NoYesLogisticsAddressCountryRegion.CountryRegionIdLogisticsPostalAddress.CountryRegionId
DeliveryAddressStateIdState or province code of the address.String
LogisticsAddressStateId
NoYesLogisticsAddressCounty.StateIdLogisticsAddressState.StateIdLogisticsPostalAddress.State
DeliveryAddressStreetStreet name of the address.String (250)
LogisticsAddressStreet
NoYesLogisticsPostalAddress.Street
DeliveryAddressStreetNumberStreet or house number.String (20)
LogisticsAddressStreetNumber
NoYesLogisticsPostalAddress.StreetNumber
DeliveryAddressZipCodeZIP or postal code, as text.String
LogisticsAddressZipCodeId
NoYesLogisticsPostalAddress.ZipCode
FormattedDelveryAddressDelivery address built as one text string.low confidenceString (250)NoYesNone
RequestedDeliveryDateReceipt date requested for the goods on this line.Date
PurchLineRequestedReceiptDate
NoYesPurchLine.DeliveryDate
LineDiscountAmountDiscount value on the line.Real
PurchLineDisc
NoYesPurchLine.LineDisc
PurchasePricePrice for one price unit of the item.Real
PurchPrice
NoYesPurchLine.PurchPrice
PurchasePriceQuantityNumber of units that the unit price applies to.Real
PriceUnit
NoYesPurchLine.PriceUnit
PurchaseUnitSymbolUnit of measure used for the purchase quantity.String
PurchUnit
NoYesUnitOfMeasure.SymbolPurchLine.PurchUnit
OrderedPurchaseQuantityQuantity ordered, in the purchase unit.Real
PurchOrderedQty
NoYesPurchLine.PurchQty
LineAmountNet amount of the line.Real
PurchLineAmount
NoYesPurchLine.LineAmount
LineNumberNumber of the line within the purchase order.Int64
TradeLineNumber
NoYesPurchLine.LineNumber
LineDescriptionFree text description of the line or item.String (1000)
ItemFreeTxt
NoYesPurchLine.Name
CurrencyCodeCurrency code of the order.String (3)
VendCurrencyCode
NoYesCurrency.CurrencyCodePurchTable.CurrencyCode
ProductNumberProduct number shown to users. It identifies the product.String (70)
EcoResProductDisplayProductNumber
YesYesEcoResProduct.DisplayProductNumber
ProductNameName of the product on the line.String (60)
EcoResProductName
NoYescomputed
ReceivingWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
BarcodeBar code value of the item on the line.String (80)
PurchBarCode
NoYesPurchLine.BarCode
CatchWeightUnitSymbolUnit used for catch weight. Points to UnitOfMeasure.String
PdsCWUnitId
NoYesUnitOfMeasure.SymbolPdsCatchWeightItem.PdsCWUnitId
ConfirmedShippingDateShip date confirmed for the line.Date
SalesShippingDateConfirmed
NoYesPurchLine.ShippingDateConfirmed
CustomerReferenceCustomer reference text for the line.String (60)
CustRefLine
NoYesPurchLine.CustomerRef
IsPartialDeliveryPreventedYes/No flag. When set, the line should be delivered in full, with no partial deliveries.Enum
LineComplete
NoYes

Platform enum: values not in the metadata extract.

NoYesPurchLine.Complete
LineDiscountPercentageLine discount, as a percentage.Real
PurchLinePercent
NoYesPurchLine.LinePercent
OrderedCatchWeightQuantityOrdered quantity in catch weight units.Real
PdsCWInventQty
NoYesPurchLine.PdsCWQty
ProcurementProductCategoryNameName of the category.String (254)
EcoResCategoryName
NoYesEcoResCategory.Name
ProcurementProductCategoryHierachyNameName of the category hierarchy.String (128)
EcoResCategoryHierarchyName
NoYesEcoResCategoryHierarchy.Name
ProjectIdProject that the line is charged to. It points to a project record.String (20)
ProjId
NoYesProjTable.ProjIdPurchLine.ProjId
ReceivingSiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
RequestedShippingDateShip date requested for the line.Date
SalesShippingDateRequested
NoYesPurchLine.ShippingDateRequested
RequesterPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
CustomerRequisitionNumberCustomer requisition number linked to the line.String (20)
CustPurchaseOrder
NoYesPurchLine.CustPurchaseOrderFormNum
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoYesEcoResVersion.NameInventDim.InventVersionId
ItemBatchNumberBatch number of the inventory.String (20)
InventBatchId
NoYesInventDim.inventBatchId
OrderedInventoryStatusIdInventory status of the stock.String
WHSInventStatusId
NoYesWHSInventStatus.InventStatusIdInventDim.InventStatusId
DeliveryAddressDescriptionName or description of the location.String (60)
LogisticsDescription
NoYesLogisticsLocation.Description
DeliveryAddressNameName of the delivery location or recipient.String (100)
LogisticsDeliveryName
NoYesPurchLine.DeliveryName
DeliveryAddressLocationIdUnique ID of the location. It is the key of the table.String (40)
LogisticsLocationId
NoYesLogisticsLocation.LocationId
WorkflowStateWorkflow approval state of the line, from Not submitted to Approved.Enum
TradeWorkflowState
  • NotSubmitted 0
  • Submitted 1
  • PendingApproval 2
  • PendingCompletion 3
  • Returned 4
  • ChangeRequest 5
  • Completed 6
  • Approved 7
NoYesPurchLine.WorkflowState

Foreign keys (16)

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

Email sales@drdynamics.co.uk