GPCN_CAL_FV_LNG(SQL View) |
Index Back |
---|---|
Finalized RUNs by OPRID ctryView populates all finalized calendar groups. |
SELECT B.OPRID ,A.CAL_RUN_ID ,C.LANGUAGE_CD ,C.DESCR FROM PS_GP_CAL_RUN A INNER JOIN PS_GP_CAL_RUN_LANG C ON A.CAL_RUN_ID = C.CAL_RUN_ID ,PS_GP_OPR_RULE_PRF B WHERE (A.RUN_FINALIZED_IND = 'Y') AND (B.USED_BY = 'A' OR (B.USED_BY = 'C'AND A.COUNTRY = B.COUNTRY)) AND (EXISTS ( SELECT 'X' FROM PS_GP_CAL_RUN_DTL DTL WHERE A.CAL_RUN_ID = DTL.CAL_RUN_ID AND DTL.CALC_TYPE = 'P') OR EXISTS ( SELECT 'X' FROM PS_GP_CAL_RUN_OFF DT2 WHERE A.CAL_RUN_ID = DT2.CAL_RUN_ID )) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | CAL_RUN_ID | Character(18) | VARCHAR2(18) NOT NULL | Calendar Run Id |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |