ITEM_DEP_TYP_VW(SQL View) |
Index Back |
---|---|
Item Deposits and Type View |
SELECT a.business_unit ,a.common_id ,a.common_id ,a.adm_appl_nbr ,SUM(a.item_amt) FROM ps_item_sf a ,PS_ITEM_TYPE_TBL b WHERE a.item_type = b.item_type AND a.sa_id_type = 'P' AND b.item_type_cd = 'D' AND b.tuition_deposit = 'Y' AND b.effdt=( SELECT MAX(effdt) FROM PS_ITEM_TYPE_TBL c WHERE b.setid=c.setid AND b.item_type=c.item_type AND c.effdt <= %CurrentDateIn AND c.eff_status = 'A' ) AND b.setid=( SELECT setid FROM ps_set_cntrl_rec d WHERE d.recname='ITEM_TYPE_TBL' AND d.setcntrlvalue=( SELECT e.institution FROM ps_bus_unit_tbl_sf e WHERE e.business_unit=a.business_unit)) GROUP BY BUSINESS_UNIT ,COMMON_ID ,COMMON_ID ,ADM_APPL_NBR |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_CS.BUSINESS_UNIT Prompt Table: SP_BU_SF_NONVW |
2 | COMMON_ID | Character(11) | VARCHAR2(11) NOT NULL | Common ID to store Personal ID / Ext Org ID value |
3 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PEOPLE_SRCH |
4 | ADM_APPL_NBR | Character(8) | VARCHAR2(8) NOT NULL | Application Nbr |
5 | ITEM_AMT | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Item Amount |