POSN_BUDGET_VW(SQL View) |
Index Back |
---|---|
Current Budget by Posn #POSN_BUDGET_VW is a view which retrieves the current budget into the Position Data panels. Once a budget end date has passed, no budget information will appear until new budgets are entered. |
SELECT B.POSITION_NBR ,A.EFFDT ,A.BUDGET_END_DT ,B.CURR_BUDGET_COUNT ,B.CURR_BUDGET_FTE ,B.CURR_BUDGET_AMT ,B.CURRENCY_CD FROM PS_POSN_BUDGET_DT A ,PS_POSN_BUDGET B WHERE B.SETID=A.SETID AND B.DEPTID = A.DEPTID AND B.EFFDT = A.EFFDT AND B.POSITION_NBR <> ' ' AND A.EFFDT =(SELECT MAX(C.EFFDT) FROM PS_POSN_BUDGET_DT C WHERE C.SETID = A.SETID AND C.DEPTID = A.DEPTID AND C.EFFDT <= %CURRENTDATEIN AND C.BUDGET_END_DT >= %CURRENTDATEIN) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | POSITION_NBR | Character(8) | VARCHAR2(8) NOT NULL |
Position Number
Prompt Table: POSITION_DATA |
2 | EFFDT | Date(10) | DATE NOT NULL | Effective Date |
3 | BUDGET_END_DT | Date(10) | DATE | Budget End Date |
4 | CURR_BUDGET_COUNT | Number(4,0) | SMALLINT NOT NULL | Current Budget Head Count |
5 | CURR_BUDGET_FTE | Number(7,2) | DECIMAL(6,2) NOT NULL | Current Budget FTE |
6 | CURR_BUDGET_AMT | Number(19,3) | DECIMAL(18,3) NOT NULL | Current Budget Amount |
7 | CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL |
Currency Code
Default Value: OPR_DEF_TBL_HR.EXCHNG_TO_CURRENCY Prompt Table: CURRENCY_CD_TBL |