Operation Details
Description: Reads questionnaire version ID and name based on determination package and status
Sterotype: nsmulti
SQL
SELECT
  QuestionnaireVersion.questionnaireVersionID,
  QuestionnaireVersion.name
INTO
  :questionnaireVersionID,
  :name 
FROM
  QuestionnaireVersion,
  DPQuestionnaireLink 
WHERE QuestionnaireVersion.questionnaireVersionID = DPQuestionnaireLink.questionnaireVersionID 
  AND determinationPackageVersionID = :determinationPackageVersionID 
  AND QuestionnaireVersion.versionStatus = :versionStatus