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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
kmVirtualNetworkAnswerTableIdIdentifier of the answer record for the planned questionnaire. | StringKMVirtualNetworkAnswerTableId | Yes | KMVirtualNetworkAnswerTable.kmVirtualNetworkAnswerTableId | None |
ValidFromDate and time from which this history row applies. | UtcDateTimeValidFromDateTime | No | None | |
ValidToDate and time until which this history row applies. | UtcDateTimeValidToDateTime | No | None | |
correctAnswersNumber of correct answers. | IntegerKMNumberOfCorrectAnswers | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DiscussionIdIdentifier of the related discussion (review). | String (15)HcmDiscussionId | No | None | |
EndDateTimeDate and time when the questionnaire ended. | UtcDateTimeEndDateTime | No | None | |
evaluationResult of the evaluation: none, failed or passed. | EnumKMCollectionEvaluation (enum) | No | None | |
EvaluationOfPerson who is being evaluated, pointing to the people table. | Int64HcmPersonRecId | No | DirPerson.RecId | None |
ExecutedByPerson who completed the questionnaire, pointing to the people table. | Int64HcmPersonRecId | No | DirPerson.RecId | None |
kmCollectionIdQuestionnaire that was planned or answered. | StringKMCollectionId | Yes | KMCollection.kmCollectionId | None |
kmKnowledgeCollectorPlanningTableIdScheduled questionnaire that this record comes from. | StringKMKnowledgeCollectorPlanningTableId | No | KMKnowledgeCollectorPlanningTable.kmKnowledgeCollectorPlanningTableId | None |
KMVirtualNetworkAnswerTablePoints to the questionnaire answer record that this history row describes. | Int64RefRecId | No | KMVirtualNetworkAnswerTable.RecId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
percentScore as a percentage. | RealPercent | No | None | |
pointNumber of points scored. | RealKMAnswerPoint | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
roleRole of the person answering: self, management, colleague or other. | EnumKMVirtualNetworkAnswerTableRole (enum) | No | None | |
startDateTimeDate and time when the questionnaire started. | UtcDateTimeStartDateTime | No | None | |
statusProgress of the questionnaire, such as not started, started, finished, skipped, second attempt or scheduled. | EnumKMCollectionAnswerStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
IdIdxReplacement keykmVirtualNetworkAnswerTableId,ValidFrom,ValidToUnique, alternate key.
DirPersonIdxNot unique.
DirPersonIdx1Not unique.
Relations (7)
Each relation joins PurchReqQuestionnaireAnswerTableHistory to another table on the fields shown.
DiscussionId→HcmDiscussionJoin on
DiscussionId = HcmDiscussion.DiscussionIdMany PurchReqQuestionnaireAnswerTableHistory records → zero or one HcmDiscussion record
EvaluationOf_FK→DirPersonJoin on
ExecutedBy = DirPerson.RecIdMany PurchReqQuestionnaireAnswerTableHistory records → zero or one DirPerson record
ExecutedBy_FK→DirPersonJoin on
EvaluationOf = DirPerson.RecIdMany PurchReqQuestionnaireAnswerTableHistory records → zero or one DirPerson record
KMCollection→KMCollectionJoin on
kmCollectionId = KMCollection.kmCollectionIdMany PurchReqQuestionnaireAnswerTableHistory records → exactly one KMCollection record
KMKnowledgeCollectorPlanningTable→KMKnowledgeCollectorPlanningTableJoin on
kmKnowledgeCollectorPlanningTableId = KMKnowledgeCollectorPlanningTable.kmKnowledgeCollectorPlanningTableIdMany PurchReqQuestionnaireAnswerTableHistory records → zero or one KMKnowledgeCollectorPlanningTable record
KMVirtualNetworkAnswerTable→KMVirtualNetworkAnswerTableJoin on
KMVirtualNetworkAnswerTable = KMVirtualNetworkAnswerTable.RecIdMany PurchReqQuestionnaireAnswerTableHistory records → zero or one KMVirtualNetworkAnswerTable record
KMVirtualNetworkAnswerTable1→KMVirtualNetworkAnswerTableJoin on
kmVirtualNetworkAnswerTableId = KMVirtualNetworkAnswerTable.kmVirtualNetworkAnswerTableIdMany 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.