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 · root
  • smmActivities · OuterJoin to HierarchyTreeTable
  • QMSCAPAWorkerGroup · OuterJoin to smmActivities · read-only
  • Hierarchy · InnerJoin to HierarchyTreeTable · read-only

Fields (32)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
TemplateHierarchyIdID of the hierarchy that the element belongs to.String
HierarchyIdBase
YesYesHierarchy.HierarchyIdHierarchyTreeTable.HierarchyId
NodeTypeShows whether the element is a node or an activity.Enum
ElementNodeType
  • Node 0
  • Activity 1
NoYesHierarchyTreeTable.ElementNodeType
NodeNumberNumber that identifies the element within its hierarchy.String
ElementNumber
YesYessmmProcessStage.ElementNumberHierarchyTreeTable.ElementNumber
IsActivityRequiredYes/No flag showing whether the activity is required.Enum
smmActivityIsRequired
NoYes

Platform enum: values not in the metadata extract.

NoYesHierarchyTreeTable.IsRequired
NodeLevelDepth of the element in the tree.Integer
Integer
NoYesHierarchyTreeTable.Level
NodeNameName of the element.String (60)
Name
NoYesHierarchyTreeTable.Name
ParentNodeNumberElement number of the parent element in the same hierarchy.String
ElementNumber
NoYesHierarchyTreeTable.ElementNumberHierarchyTreeTable.ParentElementNumber
HierarchyPathText path that shows where the element sits in the tree.String (255)
HierarchyPath
NoYesHierarchyTreeTable.Path
SiblingNumberLine number that orders the element among its siblings.Real
LineNum
NoYesHierarchyTreeTable.SiblingNumber
ActivityNumberUnique number of the activity.String (50)
smmActivityNumber
NoYessmmActivities.ActivityNumber
ActivityCategoryKind of activity: appointment, task, action or event.Enum
smmActivityCategory
  • Appointment 0
  • Task 1
  • Action 2
  • Event 3
NoYessmmActivities.Category
ActivityTaskTimeTypeProgress state of the task, such as not started or completed.Enum
smmActivityTaskTimeType
  • NotStarted 0
  • InProgress 1
  • Completed 2
  • Waiting 3
  • Deferred 4
NoYessmmActivities.ActivityTaskTimeType
ActivityTimeTypeHow the time shows in a calendar: free, tentative, busy or out of office.Enum
smmShowTimeAs
  • Free 0
  • Tentative 1
  • Busy 2
  • OutOfOffice 3
NoYessmmActivities.ActivityTimeType
WillSendCAPANotificationToWorkerGroupWhether the CAPA worker group is notified: inherit, no or yes.Enum
QMSCAPANotifyGroup
QMSNoYesInherit
  • Inherit 0
  • No 1
  • Yes 2
NoYessmmActivities.QMSNotifyGroup
WillSendCAPAActivityEmailOnCloseAndReopenWhether an email is sent on close or reopen: inherit, no or yes.Enum
QMSCAPAEmailActivity
QMSNoYesInherit
  • Inherit 0
  • No 1
  • Yes 2
NoYessmmActivities.QMSEmailActivity
WillPrintActivityOnReportWhether the record prints on the report: inherit, no or yes.Enum
QMSCAPAPrintOnReport
QMSNoYesInherit
  • Inherit 0
  • No 1
  • Yes 2
NoYessmmActivities.QMSCAPAPrintOnReport
ActivityPurposeShort text stating the purpose of the activity.String (255)
smmActivityPurpose
NoYessmmActivities.Purpose
IsReminderActiveYes or No flag for a reminder.Enum
smmActivityReminderActive
NoYes

Platform enum: values not in the metadata extract.

NoYessmmActivities.ReminderActive
ReminderDateTimeDate and time of the reminder.UtcDateTime
smmActivityReminderDateTime
NoYessmmActivities.ReminderDateTime
ReminderMinutesMinutes before the start that the reminder is set.Integer
smmActivityReminderMinutes
NoYessmmActivities.ReminderMinutes
ActivitySourceApplication the activity came from.String (255)
smmActivitySource
NoYessmmActivities.Source
OriginalAppointmentStartDateTimeOriginal start date and time of the appointment.UtcDateTime
smmActivityStartDateTime
NoYessmmActivities.OriginalAppointmentStartDateTime
ActivityStartDateTimeStart date and time of the activity.UtcDateTime
smmActivityStartDateTime
NoYessmmActivities.StartDateTime
ActivityEndDateTimePlanned end date and time.UtcDateTime
smmActivityEndDateTime
NoYessmmActivities.EndDateTime
IsAllDayYes or No flag for an all-day activity.Enum
smmActivityAllDay
NoYes

Platform enum: values not in the metadata extract.

NoYessmmActivities.AllDay
ActivityTaskPriorityPriority of the task: low, normal or high.Enum
smmActivityPriority
  • Low 1
  • Normal 0
  • High 2
NoYessmmActivities.TaskPriority
ActivityNotesNotes entered by the user.String (-1)
smmActivityUserMemo
NoYessmmActivities.UserMemo
LastEditDateTimeDate and time of the last edit. The label looks unrelated to this meaning.low confidenceUtcDateTime
smmActivityLastEditAxDateTime
NoYessmmActivities.LastEditAxDateTime
ResponsibleWorkerWorker responsible for the activity.Int64
HcmWorkerRecId
NoNo (private)HcmWorker.RecIdsmmActivities.ResponsibleWorker
ResponsibleWorkerNumberPersonnel number of the worker responsible for this node.String (25)
HcmPersonnelNumberId
NoYescomputed
QMSWorkerGroupCAPA worker group linked to the activity.Int64
QMSCAPAWorkerGroupRecId
NoNo (private)QMSCAPAWorkerGroup.RecIdsmmActivities.QMSWorkerGroup
CAPAWorkerGroupIdUnique code of the CAPA worker group.String (20)
QMSCAPAWorkerGroupId
NoYesQMSCAPAWorkerGroup.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.

Need help with QMSCAPAProcessTemplateNodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk