AR_WC_INCCDF_VW

(SQL View)
Index Back

Incomp CC Pymt - Dep ID View


SELECT DISTINCT a.DEPOSIT_ID FROM PS_PAYMENT a , PS_DEPOSIT_CONTROL b LEFT OUTER JOIN PS_AR_CRCARD_SCR c ON b.DEPOSIT_BU= c.DEPOSIT_BU AND b.DEPOSIT_ID= c.DEPOSIT_ID WHERE a.deposit_bu=b.deposit_bu AND a.deposit_id=b.deposit_id AND ((NOT EXISTS ( SELECT 'x' FROM ps_group_control WHERE group_bu = a.deposit_bu AND group_id = a.group_id) AND a.misc_payment = 'N') OR (a.payment_status <> 'J' AND a.misc_payment = 'Y'))

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 DEPOSIT_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies a deposit of customer payments. The deposit ID can be manually assigned or system-generated.