SSF_FL_CHRG_DUE

(SQL View)
Index Back

Charges Due Detail - Fluid

This view identifies all charges due for a student. This view is used in Fluid version of Charges Due - Detail tab

SELECT A.COMMON_ID ,A.ITEM_NBR ,A.ITEM_TYPE ,D.DESCR ,A.BUSINESS_UNIT ,G.DUE_AMT - G.APPLIED_AMT ,A.ITEM_TERM ,A.CLASS_NBR ,G.DUE_DT ,B.INSTITUTION_SET ,A.CURRENCY_CD ,A.CONTRACT_NUM , A.ITEM_AMT , H.POSTED_DATE FROM PS_ITEM_SF A , PS_ISET_BU_DTL B , PS_BUS_UNIT_TBL_SF C , PS_ITEM_TYPE_TBL D , PS_ITEM_DUE_SF G , PS_ITEM_LINE_SF H WHERE A.SA_ID_TYPE = 'P' AND A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.ITEM_TYPE = D.ITEM_TYPE AND A.BUSINESS_UNIT = G.BUSINESS_UNIT AND A.COMMON_ID = G.COMMON_ID AND A.SA_ID_TYPE = G.SA_ID_TYPE AND A.ITEM_NBR = G.ITEM_NBR AND A.BUSINESS_UNIT = H.BUSINESS_UNIT AND A.COMMON_ID = H.COMMON_ID AND A.SA_ID_TYPE = H.SA_ID_TYPE AND A.ITEM_NBR = H.ITEM_NBR AND H.LINE_SEQ_NBR = 1 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 A.PAYMENT_ID_NBR = 0 AND A.ITEM_AMT - A.APPLIED_AMT > 0 AND G.DUE_AMT > 0

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 COMMON_ID Character(11) VARCHAR2(11) NOT NULL Common ID to store Personal ID / Ext Org ID value
2 ITEM_NBR Character(15) VARCHAR2(15) NOT NULL Item Nbr
3 ITEM_TYPE Character(12) VARCHAR2(12) NOT NULL Item Type
4 SSF_DESCR100 Character(100) VARCHAR2(100) NOT NULL Length 100 Description
5 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
6 ITEM_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Item Amount
7 ITEM_TERM Character(4) VARCHAR2(4) NOT NULL Item Term
8 CLASS_NBR Number(5,0) INTEGER NOT NULL Class Nbr
9 DUE_DT Date(10) DATE Expected Birth Date
10 INSTITUTION_SET Character(5) VARCHAR2(5) NOT NULL Institution Set
11 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
12 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract Number
13 SSF_AMOUNT Signed Number(19,2) DECIMAL(17,2) NOT NULL Amount
14 CHARGE_DT Date(10) DATE Charge Date