SSF_UNINV_LN_VW

(SQL View)
Index Back

SELECT A.BUSINESS_UNIT , A.COMMON_ID , A.SA_ID_TYPE , A.ITEM_NBR , A.ITEM_AMT , A.APPLIED_AMT , SUM(B.LINE_AMT) FROM PS_ITEM_SF A , PS_ITEM_LINE_SF B WHERE A.BUSINESS_UNIT = B.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 B.ACTUAL_BILLING_DT IS NULL AND A.ITEM_TYPE_CD IN ('C','A','R') GROUP BY A.BUSINESS_UNIT, A.COMMON_ID , A.SA_ID_TYPE , A.ITEM_NBR , A.ITEM_AMT,A.APPLIED_AMT

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
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 ITEM_NBR Character(15) VARCHAR2(15) NOT NULL Item Nbr
5 ITEM_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Item Amount
6 APPLIED_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Applied Amount
7 LINE_AMT Signed Number(18,2) DECIMAL(16,2) NOT NULL Line Amount