SSF_DUE_CHRG_VW

(SQL View)
Index Back

Due Charges View

Due Charges View by Business Unit.

SELECT B.COMMON_ID ,B.DUE_DT ,A.CURRENCY_CD ,B.EMPLID ,SUM(B.DUE_AMT) - SUM(B.APPLIED_AMT) ,C.INSTITUTION_SET FROM PS_ITEM_SF A ,PS_ITEM_DUE_SF B ,PS_ISET_BU_DTL C WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.BUSINESS_UNIT = C.BUSINESS_UNIT AND A.COMMON_ID = B.COMMON_ID AND A.SA_ID_TYPE = B.SA_ID_TYPE AND A.ITEM_NBR = B.ITEM_NBR AND A.SA_ID_TYPE = 'P' AND (B.DUE_AMT - B.APPLIED_AMT > 0) AND A.ITEM_TYPE_CD <> 'T' GROUP BY B.COMMON_ID,B.DUE_DT,A.CURRENCY_CD, B.EMPLID, C.INSTITUTION_SET

# 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 DUE_DT Date(10) DATE Due Date
3 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code

Default Value: INSTALLATION.EXCHNG_TO_CURRENCY

4 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
5 DUE_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Due Amount
6 INSTITUTION_SET Character(5) VARCHAR2(5) NOT NULL Institution Set