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· rootProjSubConLine· InnerJoin toPurchLine
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
NameFree text description of the line or item. | String (1000)ItemFreeTxt | No | Yes | PurchLine.Name | |
ProcurementCategoryProcurement category of the line. It points to a category record. | Int64PurchCategory | No | Yes | EcoResCategory.RecId | PurchLine.ProcurementCategory |
ProjIdProject that the line is charged to. It points to a project record. | String (20)ProjId | No | Yes | ProjTable.ProjId | PurchLine.ProjId |
PurchIdNumber of the purchase order that the line belongs to. It points to the purchase order header. | String (20)PurchIdBase | No | Yes | PurchTable.PurchId | PurchLine.PurchId |
PurchPricePrice for one price unit of the item. | RealPurchPrice | No | Yes | PurchLine.PurchPrice | |
PurchStatusStatus of the line: None, Open order, Received, Invoiced or Canceled. | Enum
| No | Yes | PurchLine.PurchStatus | |
PurchUnitUnit of measure used for the purchase quantity. | StringPurchUnit | No | Yes | UnitOfMeasure.Symbol | PurchLine.PurchUnit |
ProjSubContractLineNumberNumber of the subcontract line linked to the line. | String (20)ProjSubcontractLine | No | Yes | PurchLine.ProjSubContractLineNumber | |
SubConLineStatusStatus of the line: active or inactive. | Enum
| No | Yes | ProjSubConLine.SubConLineStatus | |
SubConLineTypeType of line: quantity based or work based. | Enum
| No | Yes | ProjSubConLine.SubConLineType | |
SubConRoleIDRole ID for the line. | String (20)PSASchedRoleId | No | Yes | ProjSubConLine.SubConRoleID | |
SubConWriteInNameName typed in for the line. | String (20)ProjSubConWriteInName | No | Yes | ProjSubConLine.SubConWriteInName | |
DeliveryDateReceipt date requested for the goods on this line. | DatePurchLineRequestedReceiptDate | No | Yes | PurchLine.DeliveryDate | |
ActivityNumberNumber of the activity that the line is linked to. It points to an activity record. | String (50)ProjActivityNumber | No | Yes | smmActivities.ActivityNumber | PurchLine.ActivityNumber |
PurchQtyQuantity ordered, in the purchase unit. | RealPurchOrderedQty | No | Yes | PurchLine.PurchQty | |
SubcontractNumberNumber of the project subcontract the line belongs to. | String (20)ProjSubConIdBase | Yes | Yes | ProjSubConLine.SubConNumber | |
SubConTransCategoryTransaction category of the line. | String (28)ProjTransCategoryId | No | Yes | ProjSubConLine.SubConTransCategory | |
SubConTransClassType of transaction: hour, expense or material. | Enum
| No | Yes | ProjSubConLine.SubConTransClass | |
InventSiteIdSite for the line. | StringInventSiteId | No | Yes | ProjSubConLine.InventSiteId | |
InventLocationIdWarehouse for the line. | StringInventLocationId | No | Yes | ProjSubConLine.InventLocationId | |
DisplayProductNumberProduct number shown for the line. | String (70)EcoResProductDisplayProductNumber | No | Yes | ProjSubConLine.DisplayProductNumber | |
ItemIdNumber of the item being purchased. It points to an item record. | String (20)ItemIdSmall | No | Yes | InventTable.ItemId | PurchLine.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.
ProcurementCategory→EcoResCategory.RecId(key of EcoResCategory)Many PurchLine records → zero or one EcoResCategory record
EcoResCategory details: see EcoResProductCategoryEntity, EcoResProductCDSCategoryAssignmentEntity, EcoResProductCDSCategoryEntity
ProjId→ProjTable.ProjId(key of ProjTable)Many PurchLine records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
PurchId→PurchTable.PurchId(key of PurchTable)Many PurchLine records → exactly one PurchTable record
PurchTable details: see PurchPurchaseOrderHeaderV2Entity, PurchPurchaseOrderHeaderEntity, ProjSubContractPurchaseOrderHeaderEntity
PurchUnit→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many PurchLine records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
ActivityNumber→smmActivities.ActivityNumber(key of smmActivities)Many PurchLine records → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
ItemId→InventTable.ItemId(key of InventTable)Many PurchLine records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
Need help with ProjSubContractPurchaseOrderLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.