CA_PPD_I_VW

(SQL View)
Index Back

Inclsv. Prepaids (Pre-Active)


SELECT PPD.CONTRACT_NUM , SUM(PPD.PURCHASED_AMOUNT) , PPD.CURRENCY_CD FROM PS_CA_CONTR_HDR HDR , PS_CA_PREPAID_TBL PPD WHERE %Join(COMMON_KEYS, CA_CONTR_HDR HDR, CA_PREPAID_TBL PPD) AND PPD.PREPAID_TRANS_TYPE = 'BUN' AND PPD.CA_PPD_STATUS IN ('A' , 'C') AND CA_PROC_STATUS = 'P' GROUP BY PPD.CONTRACT_NUM, PPD.CURRENCY_CD

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 CONTRACT_NUM Character(25) VARCHAR2(25) NOT NULL Contract
2 PURCHASED_AMOUNT Number(27,3) DECIMAL(26,3) NOT NULL Purchased Amount
3 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code