PENDING_PAY_VW(SQL View) |
Index Back |
---|---|
Pending Payments |
Select deposit_bu, deposit_id, payment_seq_num, payment_id FROM PS_PAYMENT P WHERE GROUP_ID = ' ' OR ( GROUP_ID <> ' ' AND EXISTS ( SELECT 'X' FROM PS_GROUP_CONTROL WHERE GROUP_BU = P.DEPOSIT_BU AND GROUP_ID = P.GROUP_ID AND POST_STATUS <> 'C' ) ) OR ( GROUP_ID <> ' ' AND NOT EXISTS ( SELECT 'X' FROM PS_GROUP_CONTROL WHERE GROUP_BU = P.DEPOSIT_BU AND GROUP_ID = P.GROUP_ID ) ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL | Identifies the business unit to which a deposit is posted. | |
2 | Character(15) | VARCHAR2(15) NOT NULL | Uniquely identifies a deposit of customer payments. The deposit ID can be manually assigned or system-generated. | |
3 | Number(6,0) | INTEGER NOT NULL | Specifies the system-generated sequence number assigned to each payment as it is entered in a deposit. | |
4 | PAYMENT_ID | Character(15) | VARCHAR2(15) NOT NULL | Identifies a customer payment. This is usually a check number but may be some other identifying number. |