LM_ML_PRG_LG_VW

(SQL View)
Index Back

Learner Group Description

To get all the Learner Groups and its descriptions for a class. The combined LG is split in to individual LGs.

SELECT C.LM_PRG_ID , A.LM_LRNR_GROUP_ID , A.LM_LRNR_GRP_DESCR , A.LM_LRNR_GRP_SDESCR FROM PS_LM_LRNR_GROUPS A , PS_LM_PRG_SEC C WHERE A.LM_LRNR_GROUP_ID = C.LM_LRNR_GROUP_ID AND A.LM_LG_TYPE <> 'X' AND A.LM_ACTIVE = 'Y' UNION SELECT DISTINCT H.LM_PRG_ID , F.LM_LRNR_GROUP_ID , F.LM_LRNR_GRP_DESCR , F.LM_LRNR_GRP_SDESCR FROM PS_LM_LRNR_GROUPS F , PS_LM_PRG_SEC H WHERE F.LM_ACTIVE = 'Y' AND %NumToChar(F.LM_LRNR_GROUP_ID) IN ( SELECT DISTINCT E.LM_CRITERIA_VALUE FROM PS_LM_LRNR_GROUPS A , PS_LM_PRG_SEC C , PS_LM_GROUPS_CRIT E WHERE A.LM_LRNR_GROUP_ID = C.LM_LRNR_GROUP_ID AND A.LM_LG_TYPE = 'X' AND A.LM_LRNR_GROUP_ID = E.LM_LRNR_GROUP_ID AND C.LM_PRG_ID = H.LM_PRG_ID)

  • Related Language Record: LM_ML_PRGLG_LVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 LM_PRG_ID Number(10,0) DECIMAL(10) NOT NULL Program ID is a unique identifier for curriculum and certification Programs.
    2 LM_LRNR_GROUP_ID Number(15,0) DECIMAL(15) NOT NULL Learner Group ID - Business Role/ Student Group ID
    3 LM_LRNR_GRP_DESCR Character(50) VARCHAR2(50) NOT NULL Learner Group Description
    4 LM_LRNR_GRP_SDESCR Character(10) VARCHAR2(10) NOT NULL Learner group - Description