TRN_BUDGET_SRCH(SQL View) |
Index Back |
---|---|
Training Budget Search ViewBudget Training - Security search view for BUDGET_TBL. |
SELECT DISTINCT SEC.OPRID , A.BUDGET_PERIOD , A.BUSINESS_UNIT , A.DEPTID , B.DESCR , C.DESCR , D.DESCR FROM PS_TRN_BUDGET A , PS_BUDGET_PERIOD B , PS_BUS_UNIT_TBL_HR C , PS_DEPT_TBL D , PS_DEPT_SEC_SRCH SEC WHERE A.BUDGET_PERIOD = B.BUDGET_PERIOD AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND SEC.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC SC WHERE SC.SETCNTRLVALUE = A.BUSINESS_UNIT AND SC.RECNAME = 'DEPT_TBL') AND A.DEPTID = SEC.DEPTID AND D.SETID = SEC.SETID AND D.DEPTID = SEC.DEPTID AND (D.EFFDT>=%CurrentDateIn OR D.EFFDT= ( SELECT MAX(G.EFFDT) FROM PS_DEPT_TBL G WHERE D.DEPTID = G.DEPTID AND D.SETID = G.SETID AND G.EFFDT<=%CurrentDateIn)) |
# | 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 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | DESCR2 | Character(30) | VARCHAR2(30) NOT NULL | Descr2 |
7 | DEPT_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Department Description |