LM_AP_HD_ENR_VW(SQL View) |
Index Back |
---|---|
Enrollment Approval HeaderThis view is used for the HTML Email Enrollment Approval header. |
SELECT M.LM_ENRLMT_ID , A.CURRENCY_CD , A.LM_ACT_ID , A.LM_ACT_CD , C.LM_CI_ID , C.LM_CRSE_CODE , C.LM_CS_DESCR , C.LM_CS_LONG_NM , A.LM_DISP_DATES , D.LM_DM_LONG_NM , ' ' , ' ' , A.LM_DURN_DAYS , A.LM_DURN_HRS , A.LM_DURN_MINS , A.LM_END_DT , ' ' , A.LM_EXT_PRICE , A.LM_INT_PRICE , A.LM_EXT_DP_PRICE , A.LM_INT_DP_PRICE , P.LM_EXT_PERSON_FLG , P.LM_HR_EMPLID , ' ' , P.LM_PERSON_ID , ' ' , A.LM_START_DT , ' ' FROM PS_LM_ENRLMT M , PS_LM_ACT A , PS_LM_CI_TBL C , PS_LM_DMTH_TYP_TBL D , PS_LM_PERSON P WHERE M.LM_ACT_ID = A.LM_ACT_ID AND M.LM_PERSON_ID = P.LM_PERSON_ID AND A.LM_CI_ID = C.LM_CI_ID AND %CurrentDateIn BETWEEN C.EFFDT AND C.LM_END_EFFDT AND C.LM_CI_STATUS='10' AND A.LM_DMTHD_TYPE_ID = D.LM_DMTHD_TYPE_ID AND EXISTS ( SELECT 1 FROM PS_LM_ENR_APR_XREF X WHERE X.LM_ENRLMT_ID = M.LM_ENRLMT_ID) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | LM_ENRLMT_ID | Number(10,0) | DECIMAL(10) NOT NULL | Enrollment ID |
2 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Currency Code |
3 | LM_ACT_ID | Number(10,0) | DECIMAL(10) NOT NULL | Activity ID |
4 | LM_ACT_CD | Character(30) | VARCHAR2(30) NOT NULL | Activity Code |
5 | LM_CI_ID | Number(10,0) | DECIMAL(10) NOT NULL | Catalog Item ID - System Generated ID Number associated with each Catalog Item |
6 | LM_CRSE_CODE | Character(30) | VARCHAR2(30) NOT NULL | Course Code - User defined Code |
7 | LM_CS_DESCR | Character(254) | VARCHAR2(254) NOT NULL | Description - Describes an object with further detail |
8 | LM_CS_LONG_NM | Character(200) | VARCHAR2(200) NOT NULL | Long Name - Describes the long name of an object |
9 | LM_DISP_DATES | Character(1) | VARCHAR2(1) NOT NULL | Use Display Dates |
10 | LM_DM_LONG_NM | Character(200) | VARCHAR2(200) NOT NULL | Long Name - the long name of a Delivery Method Type |
11 | LM_DP_PRICE_TEXT | Character(23) | VARCHAR2(23) NOT NULL | Drop Charge Text |
12 | LM_DURATION_TEXT | Character(40) | VARCHAR2(40) NOT NULL | Duration |
13 | LM_DURN_DAYS | Number(4,0) | SMALLINT NOT NULL | Length of Activity in Days |
14 | LM_DURN_HRS | Number(3,0) | SMALLINT NOT NULL | Duration - Hours |
15 | LM_DURN_MINS | Number(3,0) | SMALLINT NOT NULL | Duration - Minutes |
16 | LM_END_DT | Date(10) | DATE | End Date |
17 | LM_END_DT_TEXT | Character(100) | VARCHAR2(100) NOT NULL | End Date |
18 | LM_EXT_PRICE | Number(19,3) | DECIMAL(18,3) NOT NULL | External Learner - Price |
19 | LM_INT_PRICE | Number(19,3) | DECIMAL(18,3) NOT NULL | Internal Learner - Price |
20 | LM_EXT_DP_PRICE | Number(19,3) | DECIMAL(18,3) NOT NULL | External Learner - Drop Price |
21 | LM_INT_DP_PRICE | Number(19,3) | DECIMAL(18,3) NOT NULL | Internal Learner - Drop Price |
22 | LM_EXT_PERSON_FLG | Character(1) | VARCHAR2(1) NOT NULL | External Person Flag |
23 | LM_HR_EMPLID | Character(11) | VARCHAR2(11) NOT NULL | EMPLID from the HR System |
24 | LM_NAME_TEXT | Character(64) | VARCHAR2(64) NOT NULL | Name Display Text |
25 | LM_PERSON_ID | Number(15,0) | DECIMAL(15) NOT NULL | ELM Person ID |
26 | LM_PRICE_TEXT | Character(23) | VARCHAR2(23) NOT NULL | Price Text |
27 | LM_START_DT | Date(10) | DATE NOT NULL | Start Date |
28 | LM_START_DT_TEXT | Character(100) | VARCHAR2(100) NOT NULL | Start Date |