GP_ELN_PIN_VW(SQL View) |
Index Back |
---|---|
View on List Set/Element ListView on List Set/Element List |
SELECT A.COUNTRY , A.GP_ELN_SET , A.EFFDT , A.PIN_ELEM_GRP_NUM , B.GP_ORDER , B.PIN_ELEM_NUM FROM PS_GP_ELN_SET_LST A , PS_GP_ELEM_GRP_MBR B WHERE A.PIN_ELEM_GRP_NUM=B.PIN_NUM AND B.EFFDT=( SELECT MAX(D.EFFDT) FROM PS_GP_ELEM_GRP D WHERE D.PIN_NUM=B.PIN_NUM AND D.EFFDT<=A.EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
2 | GP_ELN_SET | Character(15) | VARCHAR2(15) NOT NULL | Element Set |
3 | EFFDT | Date(10) | DATE | Effective Date |
4 | PIN_ELEM_GRP_NUM | Number(8,0) | INTEGER NOT NULL | PIN Number for Element Group |
5 | GP_ORDER | Number(3,0) | SMALLINT NOT NULL | Utility field for data ordering |
6 | PIN_NUM | Number(8,0) | INTEGER NOT NULL | PIN Number |