PYCYCL_DATA_VW2(SQL View) |
Index Back |
---|
SELECT a.pay_cycle , a.pay_cycle_seq_num , a.bank_setid , a.bank_cd , a.bank_acct_key , a.currency_pymnt , COUNT(*) , SUM(a.paid_amt) , SUM(a.paid_amt_gross) , SUM(a.paid_amt_dscnt) , SUM(a.LATE_CHRG_PAID) FROM PS_PYCYCL_DATA a WHERE a.PYMNT_SELCT_STATUS NOT IN ('D','V','N') AND A.PAY_CYCLE_SEQ_NUM = ( SELECT MAX(B.PAY_CYCLE_SEQ_NUM) FROM PS_PYCYCL_STAT B WHERE B.PAY_CYCLE = A.PAY_CYCLE) GROUP BY a.pay_cycle , a.pay_cycle_seq_num , a.bank_setid , a.bank_cd , a.bank_acct_key , a.currency_pymnt |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | PAY_CYCLE | Character(6) | VARCHAR2(6) NOT NULL | Pay Cycle |
2 | PAY_CYCLE_SEQ_NUM | Number(6,0) | INTEGER NOT NULL | Pay Cycle Sequence Number |
3 | BANK_SETID | Character(5) | VARCHAR2(5) NOT NULL | The PeopleSoft tableset ID associated with a given bank/counterparty. |
4 | BANK_CD | Character(5) | VARCHAR2(5) NOT NULL | Bank Code |
5 | BANK_ACCT_KEY | Character(4) | VARCHAR2(4) NOT NULL | A user defined unique identifier that facilitates the identification of a given account with a given bank |
6 | CURRENCY_PYMNT | Character(3) | VARCHAR2(3) NOT NULL | Payment Currency |
7 | NUM_OF_VOUCHERS | Number(8,0) | INTEGER NOT NULL | Sched Pymnts |
8 | PAID_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Paid Amount |
9 | PAID_AMT_GROSS | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Paid Amount |
10 | PAID_AMT_DSCNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Discount on Paid Amount |
11 | LATE_CHRG_PAID | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Late Charge Paid |