TRN_DISSRCH_LNG(SQL View) |
Index Back |
---|---|
Rellang Cost DetailRelated language record for TRN_DIS_SRCH. |
SELECT SEC.OPRID , B.BUDGET_PERIOD ,B.BUSINESS_UNIT ,B.DEPTID ,A2.LANGUAGE_CD ,A2.DESCR FROM PS_TRN_SIMULATION B , PS_DEPT_TBL A , PS_DEPT_TBL_LANG A2 , PS_DEPT_SEC_SRCH SEC WHERE SEC.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC SC WHERE SC.SETCNTRLVALUE = B.BUSINESS_UNIT AND SC.RECNAME = 'DEPT_TBL') AND A.DEPTID = SEC.DEPTID AND B.DEPTID = SEC.DEPTID AND A.SETID = SEC.SETID AND A2.SETID = SEC.SETID AND A2.DEPTID = SEC.DEPTID AND B.SCENARIO = 'BASE' AND (A.EFFDT>=%CurrentDateIn OR A.EFFDT= ( SELECT MAX(D.EFFDT) FROM PS_DEPT_TBL D WHERE A.DEPTID = D.DEPTID AND D.SETID = A.SETID AND D.EFFDT<=%CurrentDateIn)) AND A.SETID = A2.SETID AND A.DEPTID = A2.DEPTID AND A.EFFDT = A2.EFFDT |
# | 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 | BUDGET_PERIOD | Character(10) | VARCHAR2(10) NOT NULL |
Budget Period
Prompt Table: BUDGET_PERIOD |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Prompt Table: BUDGET_BUS_UNIT |
4 | DEPTID | Character(10) | VARCHAR2(10) NOT NULL |
Department
Prompt Table: DEPT_TBL |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |