SSF_BU_CHRG_VW(SQL View) |
Index Back |
---|---|
Due Charges ViewDue Charges View by Business Unit. |
SELECT B.COMMON_ID ,C.INSTITUTION_SET ,A.BUSINESS_UNIT ,SUM(B.DUE_AMT) - SUM(B.APPLIED_AMT) 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, C.INSTITUTION_SET, A.BUSINESS_UNIT |
# | 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 | INSTITUTION_SET | Character(5) | VARCHAR2(5) NOT NULL | Institution Set |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
4 | DUE_AMT | Signed Number(18,2) | DECIMAL(16,2) NOT NULL | Due Amount |