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· rootProjSubConTable· InnerJoin toPurchTable
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
OrderAccountAccount number of the vendor the order is placed with. | String (20)VendAccount | Yes | Yes | VendTable.AccountNum | PurchTable.OrderAccount |
AccountingDateAccounting date set on the order. | DateAccountingDate | No | Yes | PurchTable.AccountingDate | |
ProjSubContractNumberProject subcontract number. | String (20)ProjSubConIdBase | No | Yes | PurchTable.ProjSubContractNumber | |
PurchaseOrderNumberPurchase order number. It identifies the order. | String (20)PurchIdBase | Yes | Yes | PurchTable.PurchId | |
PurchStatusOrder status: open, received, invoiced or cancelled. | Enum
| No | Yes | PurchTable.PurchStatus | |
ProjIdProject that the order is linked to. | String (20)ProjId | No | Yes | ProjTable.ProjId | PurchTable.ProjId |
SubConNameShort name given to the subcontract. | String (20)ProjSubConName | No | Yes | ProjSubConTable.SubConName | |
SubConStateShows whether the subcontract is active or inactive. | Enum
| No | Yes | ProjSubConTable.SubConState | |
SubConStatusStage of the subcontract: draft, confirmed, closed or cancelled. | Enum
| No | Yes | ProjSubConTable.SubConStatus | |
SubConDateDate of the subcontract. | Date | No | Yes | ProjSubConTable.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.
OrderAccount→VendTable.AccountNum(key of VendTable)Many PurchTable records → exactly one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
ProjId→ProjTable.ProjId(key of ProjTable)Many PurchTable records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
Need help with ProjSubContractPurchaseOrderHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.