EM_PYCY_VRBK_VW

(SQL View)
Index Back

EBPP-Pymts sum view by Bnk&Ven

EBPP-Added 2000/10/04-Last Mod 2000/10/19 by Matthias Davet View used on the level 1 of the EM_PYCYCL_SUM page.

SELECT a.pay_cycle , a.pay_cycle_seq_num , a.bank_setid , a.bank_cd , a.bank_acct_key , b.descrshort , a.remit_setid , a.remit_vendor , a.vendor_name_short , a.currency_pymnt , c.pymnt_hold , SUM(a.paid_amt) , COUNT(*) FROM ps_pycycl_data a , PS_BANK_CD_TBL b , ps_pymnt_vchr_xref c WHERE a.pymnt_selct_status IN ('R','D') AND a.bank_setid = b.setid AND a.bank_cd = b.bank_cd AND a.pay_cycle = c.pay_cycle AND a.pay_cycle_seq_num = c.pay_cycle_seq_num AND a.business_unit = c.business_unit AND a.pay_doc_id = c.voucher_id AND a.pay_doc_seq = c.pymnt_cnt GROUP BY a.pay_cycle , a.pay_cycle_seq_num , a.bank_setid , a.bank_cd , a.bank_acct_key , b.descrshort , a.remit_setid , a.remit_vendor , a.vendor_name_short , a.currency_pymnt, c.pymnt_hold

  • Related Language Record: EM_PYCY_VRBK_LN
  • # 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.

    Default Value: OPR_BANK_VW_AP.BANK_SETID

    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 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
    7 REMIT_SETID Character(5) VARCHAR2(5) NOT NULL Remit SetID
    8 REMIT_VENDOR Character(10) VARCHAR2(10) NOT NULL Remit Vendor
    9 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name
    10 CURRENCY_PYMNT Character(3) VARCHAR2(3) NOT NULL Payment Currency
    11 PYMNT_HOLD Character(1) VARCHAR2(1) NOT NULL Hold Payment
    N=No
    Y=Yes
    12 PAID_AMT Signed Number(28,3) DECIMAL(26,3) NOT NULL Paid Amount
    13 NUM_OF_VOUCHERS Number(8,0) INTEGER NOT NULL Number of Installments