Data entity
QMSCAPAProcessTemplateNodeEntity
Holds the nodes of a CAPA process template. Each record is a step in the template hierarchy with its level, parent element, path and required flag. It also carries activity details such as category, status, dates, reminder, priority, notes, responsible person and CAPA worker group. The key is the template hierarchy ID plus the node number.
- Entity name
QMSCAPAProcessTemplateNodeEntity- Public entity name
CAPAProcessTemplateNode- OData collection
CAPAProcessTemplateNodes- Category
Reference- Module
@QMS:CAPA process templates- Read-only
No- Data management enabled
Yes- Configuration key
InventQualityManagement- Keys
TemplateHierarchyId, NodeNumber- Staging table
QMSCAPAProcessTemplateNodeStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CAPAProcessTemplateNodes- Dataverse virtual table
mserp_qmscapaprocesstemplatenodeentity. 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
HierarchyTreeTable· rootsmmActivities· OuterJoin toHierarchyTreeTableQMSCAPAWorkerGroup· OuterJoin tosmmActivities· read-onlyHierarchy· InnerJoin toHierarchyTreeTable· read-only
Fields (32)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
TemplateHierarchyIdID of the hierarchy that the element belongs to. | StringHierarchyIdBase | Yes | Yes | Hierarchy.HierarchyId | HierarchyTreeTable.HierarchyId |
NodeTypeShows whether the element is a node or an activity. | Enum
| No | Yes | HierarchyTreeTable.ElementNodeType | |
NodeNumberNumber that identifies the element within its hierarchy. | StringElementNumber | Yes | Yes | smmProcessStage.ElementNumber | HierarchyTreeTable.ElementNumber |
IsActivityRequiredYes/No flag showing whether the activity is required. | EnumsmmActivityIsRequired
| No | Yes | HierarchyTreeTable.IsRequired | |
NodeLevelDepth of the element in the tree. | IntegerInteger | No | Yes | HierarchyTreeTable.Level | |
NodeNameName of the element. | String (60)Name | No | Yes | HierarchyTreeTable.Name | |
ParentNodeNumberElement number of the parent element in the same hierarchy. | StringElementNumber | No | Yes | HierarchyTreeTable.ElementNumber | HierarchyTreeTable.ParentElementNumber |
HierarchyPathText path that shows where the element sits in the tree. | String (255)HierarchyPath | No | Yes | HierarchyTreeTable.Path | |
SiblingNumberLine number that orders the element among its siblings. | RealLineNum | No | Yes | HierarchyTreeTable.SiblingNumber | |
ActivityNumberUnique number of the activity. | String (50)smmActivityNumber | No | Yes | smmActivities.ActivityNumber | |
ActivityCategoryKind of activity: appointment, task, action or event. | Enum
| No | Yes | smmActivities.Category | |
ActivityTaskTimeTypeProgress state of the task, such as not started or completed. | Enum
| No | Yes | smmActivities.ActivityTaskTimeType | |
ActivityTimeTypeHow the time shows in a calendar: free, tentative, busy or out of office. | Enum
| No | Yes | smmActivities.ActivityTimeType | |
WillSendCAPANotificationToWorkerGroupWhether the CAPA worker group is notified: inherit, no or yes. | EnumQMSCAPANotifyGroup
| No | Yes | smmActivities.QMSNotifyGroup | |
WillSendCAPAActivityEmailOnCloseAndReopenWhether an email is sent on close or reopen: inherit, no or yes. | EnumQMSCAPAEmailActivity
| No | Yes | smmActivities.QMSEmailActivity | |
WillPrintActivityOnReportWhether the record prints on the report: inherit, no or yes. | EnumQMSCAPAPrintOnReport
| No | Yes | smmActivities.QMSCAPAPrintOnReport | |
ActivityPurposeShort text stating the purpose of the activity. | String (255)smmActivityPurpose | No | Yes | smmActivities.Purpose | |
IsReminderActiveYes or No flag for a reminder. | EnumsmmActivityReminderActive
| No | Yes | smmActivities.ReminderActive | |
ReminderDateTimeDate and time of the reminder. | UtcDateTimesmmActivityReminderDateTime | No | Yes | smmActivities.ReminderDateTime | |
ReminderMinutesMinutes before the start that the reminder is set. | IntegersmmActivityReminderMinutes | No | Yes | smmActivities.ReminderMinutes | |
ActivitySourceApplication the activity came from. | String (255)smmActivitySource | No | Yes | smmActivities.Source | |
OriginalAppointmentStartDateTimeOriginal start date and time of the appointment. | UtcDateTimesmmActivityStartDateTime | No | Yes | smmActivities.OriginalAppointmentStartDateTime | |
ActivityStartDateTimeStart date and time of the activity. | UtcDateTimesmmActivityStartDateTime | No | Yes | smmActivities.StartDateTime | |
ActivityEndDateTimePlanned end date and time. | UtcDateTimesmmActivityEndDateTime | No | Yes | smmActivities.EndDateTime | |
IsAllDayYes or No flag for an all-day activity. | EnumsmmActivityAllDay
| No | Yes | smmActivities.AllDay | |
ActivityTaskPriorityPriority of the task: low, normal or high. | Enum
| No | Yes | smmActivities.TaskPriority | |
ActivityNotesNotes entered by the user. | String (-1)smmActivityUserMemo | No | Yes | smmActivities.UserMemo | |
LastEditDateTimeDate and time of the last edit. The label looks unrelated to this meaning.low confidence | UtcDateTimesmmActivityLastEditAxDateTime | No | Yes | smmActivities.LastEditAxDateTime | |
ResponsibleWorkerWorker responsible for the activity. | Int64HcmWorkerRecId | No | No (private) | HcmWorker.RecId | smmActivities.ResponsibleWorker |
ResponsibleWorkerNumberPersonnel number of the worker responsible for this node. | String (25)HcmPersonnelNumberId | No | Yes | computed | |
QMSWorkerGroupCAPA worker group linked to the activity. | Int64QMSCAPAWorkerGroupRecId | No | No (private) | QMSCAPAWorkerGroup.RecId | smmActivities.QMSWorkerGroup |
CAPAWorkerGroupIdUnique code of the CAPA worker group. | String (20)QMSCAPAWorkerGroupId | No | Yes | QMSCAPAWorkerGroup.GroupId |
Foreign keys (5)
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.
TemplateHierarchyId→Hierarchy.HierarchyId(key of Hierarchy)Many HierarchyTreeTable records → exactly one Hierarchy record
Hierarchy details: see QMSCAPAProcessTemplateEntity, ProjProjectTaskEntity, ProjWBSTemplateTasksEntity
NodeNumber→smmProcessStage.ElementNumber(key of smmProcessStage)Join on all of:
NodeNumber=smmProcessStage.ElementNumber,TemplateHierarchyId=smmProcessStage.HierarchyIdZero or one HierarchyTreeTable record → exactly one smmProcessStage record
Not exposed by a public entity.
ParentNodeNumber→HierarchyTreeTable.ElementNumber(key of HierarchyTreeTable)Join on all of:
ParentNodeNumber=HierarchyTreeTable.ElementNumber,TemplateHierarchyId=HierarchyTreeTable.HierarchyIdMany HierarchyTreeTable records → zero or one HierarchyTreeTable record
HierarchyTreeTable details: see ProjProjectTaskEntity, TrvExpMobileActivitiesEntity, HierarchyTreeTableBiEntity
ResponsibleWorker→HcmWorker.RecId(key of HcmWorker)Many smmActivities records → zero or one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
QMSWorkerGroup→QMSCAPAWorkerGroup.RecId(key of QMSCAPAWorkerGroup)Many smmActivities records → zero or one QMSCAPAWorkerGroup record
QMSCAPAWorkerGroup details: see QMSCAPAWorkerGroupEntity, QMSCAPAWorkerGroupAssignmentEntity
Need help with QMSCAPAProcessTemplateNodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.