Table

PurchReqQuestionnaireAnswerTableHistory

Plan a questionnaire

Keeps a time-stamped history of planned questionnaires and their answers. It holds the questionnaire, the people involved, the start and end times, the status and the score. Each row links to the original answer record.

Table name
PurchReqQuestionnaireAnswerTableHistory
Module
Procurement and sourcing
Table group
TransactionHeader
Table type
Regular
Data per company
Yes
Configuration key
KMQuestionnaireBasic
Primary index
RecId
Replacement key
IdIdx
Key fields
kmVirtualNetworkAnswerTableId, ValidFrom, ValidTo
Model
Foundation

Fields (26)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
kmVirtualNetworkAnswerTableIdIdentifier of the answer record for the planned questionnaire.String
KMVirtualNetworkAnswerTableId
YesKMVirtualNetworkAnswerTable.kmVirtualNetworkAnswerTableIdNone
ValidFromDate and time from which this history row applies.UtcDateTime
ValidFromDateTime
NoNone
ValidToDate and time until which this history row applies.UtcDateTime
ValidToDateTime
NoNone
correctAnswersNumber of correct answers.Integer
KMNumberOfCorrectAnswers
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DiscussionIdIdentifier of the related discussion (review).String (15)
HcmDiscussionId
NoNone
EndDateTimeDate and time when the questionnaire ended.UtcDateTime
EndDateTime
NoNone
evaluationResult of the evaluation: none, failed or passed.Enum
KMCollectionEvaluation (enum)
NoNone
EvaluationOfPerson who is being evaluated, pointing to the people table.Int64
HcmPersonRecId
NoDirPerson.RecIdNone
ExecutedByPerson who completed the questionnaire, pointing to the people table.Int64
HcmPersonRecId
NoDirPerson.RecIdNone
kmCollectionIdQuestionnaire that was planned or answered.String
KMCollectionId
YesKMCollection.kmCollectionIdNone
kmKnowledgeCollectorPlanningTableIdScheduled questionnaire that this record comes from.String
KMKnowledgeCollectorPlanningTableId
NoKMKnowledgeCollectorPlanningTable.kmKnowledgeCollectorPlanningTableIdNone
KMVirtualNetworkAnswerTablePoints to the questionnaire answer record that this history row describes.Int64
RefRecId
NoKMVirtualNetworkAnswerTable.RecIdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
percentScore as a percentage.Real
Percent
NoNone
pointNumber of points scored.Real
KMAnswerPoint
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
roleRole of the person answering: self, management, colleague or other.Enum
KMVirtualNetworkAnswerTableRole (enum)
NoNone
startDateTimeDate and time when the questionnaire started.UtcDateTime
StartDateTime
NoNone
statusProgress of the questionnaire, such as not started, started, finished, skipped, second attempt or scheduled.Enum
KMCollectionAnswerStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (7)

Each relation joins PurchReqQuestionnaireAnswerTableHistory to another table on the fields shown.

  • DiscussionId → HcmDiscussion

    Join on DiscussionId = HcmDiscussion.DiscussionId

    Many PurchReqQuestionnaireAnswerTableHistory records → zero or one HcmDiscussion record

  • EvaluationOf_FK → DirPerson

    Join on ExecutedBy = DirPerson.RecId

    Many PurchReqQuestionnaireAnswerTableHistory records → zero or one DirPerson record

  • ExecutedBy_FK → DirPerson

    Join on EvaluationOf = DirPerson.RecId

    Many PurchReqQuestionnaireAnswerTableHistory records → zero or one DirPerson record

  • KMCollection → KMCollection

    Join on kmCollectionId = KMCollection.kmCollectionId

    Many PurchReqQuestionnaireAnswerTableHistory records → exactly one KMCollection record

  • KMKnowledgeCollectorPlanningTable → KMKnowledgeCollectorPlanningTable

    Join on kmKnowledgeCollectorPlanningTableId = KMKnowledgeCollectorPlanningTable.kmKnowledgeCollectorPlanningTableId

    Many PurchReqQuestionnaireAnswerTableHistory records → zero or one KMKnowledgeCollectorPlanningTable record

  • KMVirtualNetworkAnswerTable → KMVirtualNetworkAnswerTable

    Join on KMVirtualNetworkAnswerTable = KMVirtualNetworkAnswerTable.RecId

    Many PurchReqQuestionnaireAnswerTableHistory records → zero or one KMVirtualNetworkAnswerTable record

  • KMVirtualNetworkAnswerTable1 → KMVirtualNetworkAnswerTable

    Join on kmVirtualNetworkAnswerTableId = KMVirtualNetworkAnswerTable.kmVirtualNetworkAnswerTableId

    Many PurchReqQuestionnaireAnswerTableHistory records → exactly one KMVirtualNetworkAnswerTable record

Get this data out

No public entity reads from PurchReqQuestionnaireAnswerTableHistory. Its data is only reachable through the application, a custom entity or a database export.

Need help with PurchReqQuestionnaireAnswerTableHistory in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk