PGM_EPTREE_LVW(SQL View) |
Index Back |
---|---|
Language view of all BU/EPTThis language view returns all business units with an enterprise program tree. |
SELECT A.BUSINESS_UNIT , L.LANGUAGE_CD , C.DESCR FROM PS_BUS_UNIT_OPT_PC A , PSTREEDEFN B , PS_BUS_UNIT_TBL_FS C , PS_BUS_UNIT_LANG L WHERE A.BUSINESS_UNIT = B.SETCNTRLVALUE AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.BUSINESS_UNIT = L.BUSINESS_UNIT AND B.TREE_NAME = A.PGM_EPT_NAME AND B.EFFDT = ( SELECT MAX(D.EFFDT) FROM PSTREENODE D WHERE D.SETCNTRLVALUE = B.SETCNTRLVALUE AND D.TREE_NAME = B.TREE_NAME AND D.EFFDT <= %CurrentDateIn ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: BUS_UNIT_OPT_PC |
2 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |