Data entity

ProjSubContractPurchaseOrderLineEntity

Holds the lines of purchase orders linked to a project subcontract. It is keyed by project subcontract line number. It shows item or category, quantity, unit price, unit, site, warehouse, project ID, activity number and line status.

Entity name
ProjSubContractPurchaseOrderLineEntity
Public entity name
ProjSubContractPurchaseOrderLine
OData collection
ProjSubContractPurchaseOrderLines
Category
Document
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Project
Keys
ProjSubContractLineNumber
Staging table
ProjSubContractPurchaseOrderLineStaging

Use it in Power BI and Power Platform

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

  • PurchLine · root
  • ProjSubConLine · InnerJoin to PurchLine

Fields (22)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
NameFree text description of the line or item.String (1000)
ItemFreeTxt
NoYesPurchLine.Name
ProcurementCategoryProcurement category of the line. It points to a category record.Int64
PurchCategory
NoYesEcoResCategory.RecIdPurchLine.ProcurementCategory
ProjIdProject that the line is charged to. It points to a project record.String (20)
ProjId
NoYesProjTable.ProjIdPurchLine.ProjId
PurchIdNumber of the purchase order that the line belongs to. It points to the purchase order header.String (20)
PurchIdBase
NoYesPurchTable.PurchIdPurchLine.PurchId
PurchPricePrice for one price unit of the item.Real
PurchPrice
NoYesPurchLine.PurchPrice
PurchStatusStatus of the line: None, Open order, Received, Invoiced or Canceled.Enum
PurchStatus
  • None 0
  • Backorder 1
  • Received 2
  • Invoiced 3
  • Canceled 4
NoYesPurchLine.PurchStatus
PurchUnitUnit of measure used for the purchase quantity.String
PurchUnit
NoYesUnitOfMeasure.SymbolPurchLine.PurchUnit
ProjSubContractLineNumberNumber of the subcontract line linked to the line.String (20)
ProjSubcontractLine
NoYesPurchLine.ProjSubContractLineNumber
SubConLineStatusStatus of the line: active or inactive.Enum
ProjSubConLineStatus
  • Active 0
  • Inactive 1
NoYesProjSubConLine.SubConLineStatus
SubConLineTypeType of line: quantity based or work based.Enum
ProjSubConLineType
  • QuantityBased 0
  • WorkBased 1
NoYesProjSubConLine.SubConLineType
SubConRoleIDRole ID for the line.String (20)
PSASchedRoleId
NoYesProjSubConLine.SubConRoleID
SubConWriteInNameName typed in for the line.String (20)
ProjSubConWriteInName
NoYesProjSubConLine.SubConWriteInName
DeliveryDateReceipt date requested for the goods on this line.Date
PurchLineRequestedReceiptDate
NoYesPurchLine.DeliveryDate
ActivityNumberNumber of the activity that the line is linked to. It points to an activity record.String (50)
ProjActivityNumber
NoYessmmActivities.ActivityNumberPurchLine.ActivityNumber
PurchQtyQuantity ordered, in the purchase unit.Real
PurchOrderedQty
NoYesPurchLine.PurchQty
SubcontractNumberNumber of the project subcontract the line belongs to.String (20)
ProjSubConIdBase
YesYesProjSubConLine.SubConNumber
SubConTransCategoryTransaction category of the line.String (28)
ProjTransCategoryId
NoYesProjSubConLine.SubConTransCategory
SubConTransClassType of transaction: hour, expense or material.Enum
ProjSubConTransClass
  • Time 0
  • Expense 1
  • Material 2
NoYesProjSubConLine.SubConTransClass
InventSiteIdSite for the line.String
InventSiteId
NoYesProjSubConLine.InventSiteId
InventLocationIdWarehouse for the line.String
InventLocationId
NoYesProjSubConLine.InventLocationId
DisplayProductNumberProduct number shown for the line.String (70)
EcoResProductDisplayProductNumber
NoYesProjSubConLine.DisplayProductNumber
ItemIdNumber of the item being purchased. It points to an item record.String (20)
ItemIdSmall
NoYesInventTable.ItemIdPurchLine.ItemId

Foreign keys (6)

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

Email sales@drdynamics.co.uk