Data entity

ProjSubContractPurchaseOrderHeaderEntity

Holds the header of a purchase order linked to a project subcontract. It is keyed by project subcontract number. It shows the vendor account, project ID, purchase order and its status, and the subcontract name, state, status and date.

Entity name
ProjSubContractPurchaseOrderHeaderEntity
Public entity name
SubContractPurchaseOrderHeader
OData collection
SubContractPurchaseOrderHeaders
Category
Document
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Project
Keys
ProjSubContractNumber
Staging table
ProjSubContractPurchaseOrderHeaderStaging

Use it in Power BI and Power Platform

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

  • PurchTable · root
  • ProjSubConTable · InnerJoin to PurchTable

Fields (10)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
OrderAccountAccount number of the vendor the order is placed with.String (20)
VendAccount
YesYesVendTable.AccountNumPurchTable.OrderAccount
AccountingDateAccounting date set on the order.Date
AccountingDate
NoYesPurchTable.AccountingDate
ProjSubContractNumberProject subcontract number.String (20)
ProjSubConIdBase
NoYesPurchTable.ProjSubContractNumber
PurchaseOrderNumberPurchase order number. It identifies the order.String (20)
PurchIdBase
YesYesPurchTable.PurchId
PurchStatusOrder status: open, received, invoiced or cancelled.Enum
PurchStatus
  • None 0
  • Backorder 1
  • Received 2
  • Invoiced 3
  • Canceled 4
NoYesPurchTable.PurchStatus
ProjIdProject that the order is linked to.String (20)
ProjId
NoYesProjTable.ProjIdPurchTable.ProjId
SubConNameShort name given to the subcontract.String (20)
ProjSubConName
NoYesProjSubConTable.SubConName
SubConStateShows whether the subcontract is active or inactive.Enum
ProjSubConState
  • Active 0
  • Inactive 1
NoYesProjSubConTable.SubConState
SubConStatusStage of the subcontract: draft, confirmed, closed or cancelled.Enum
ProjSubconStatus
  • Draft 0
  • Confirmed 1
  • Closed 2
  • Canceled 3
NoYesProjSubConTable.SubConStatus
SubConDateDate of the subcontract.DateNoYesProjSubConTable.SubConDate

Foreign keys (2)

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

Email sales@drdynamics.co.uk