SCC_SFP_PAY_VW(SQL View) |
Index Back |
---|---|
Payment Item VW |
SELECT a.business_unit ,a.common_id ,a.sa_id_type ,a.payment_id_nbr ,a.ref1_descr ,a.emplid ,a.posted_date ,d.descr ,d.item_type_cd ,d.refundable_ind ,d.descrshort ,a.payment_amt FROM ps_payment_tbl a , ps_bus_unit_tbl_sf c , PS_ITEM_TYPE_TBL d WHERE a.business_unit = c.business_unit AND d.item_type = a.item_type AND d.setid = ( SELECT e.setid FROM ps_set_cntrl_rec e WHERE e.setcntrlvalue = c.institution AND e.recname = 'ITEM_TYPE_TBL') AND d.effdt = ( SELECT MAX(f.effdt) FROM PS_ITEM_TYPE_TBL f WHERE f.setid = d.setid AND f.item_type = d.item_type AND f.effdt <= %CurrentDateIn) AND d.eff_status = 'A' |
# | 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 | SA_ID_TYPE | Character(1) | VARCHAR2(1) NOT NULL |
ID Type
O=Organization P=Person |
4 | PAYMENT_ID_NBR | Number(12,0) | DECIMAL(12) NOT NULL | Payment ID Nbr |
5 | REF1_DESCR | Character(30) | VARCHAR2(30) NOT NULL | Reference Nbr |
6 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Prompt Table: PEOPLE_SRCH |
7 | POSTED_DATE | Date(10) | DATE | Date Posted |
8 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
9 | ITEM_TYPE_CD | Character(1) | VARCHAR2(1) NOT NULL |
Item Type Code
A=Application Fee B=Billing Only C=Charge D=Deposit F=Financial Aid G=GL Interface Only H=Withholding I=Interest L=Pre-Paid Tuition P=Payment R=Refund T=Transfers V=Contributor Relations W=Waiver X=Write-off Z=Pay Plan Credit |
10 | REFUNDABLE_IND | Character(1) | VARCHAR2(1) NOT NULL | Refundable Indicator |
11 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
12 | PAYMENT_AMT | Number(19,3) | DECIMAL(18,3) NOT NULL | Payment Amount |