EM_PYCY_DATA_VW(SQL View) |
Index Back |
---|---|
EBPP-Approved paymentsEBPP-Added 2000/10/09-Last Mod 2000/10/09 by Matthias Davet View used on the level 1 of the EM_PAY_PAGE page. 03 Oct '02 - added pymnt_cnt to view so as to allow display on EM_PAY_PAGE |
SELECT DISTINCT a.pay_cycle , a.pay_cycle_seq_num , a.source_txn , a.business_unit , a.pay_doc_id , a.pay_doc_seq , a.pycycl_key_field1 , a.pycycl_key_field2 , a.pycycl_key_field3 , a.remit_setid , a.remit_vendor , a.vendor_name_short , b.vendor_setid , b.vendor_id , e.vendor_name_short , c.pymnt_cnt , c.due_dt , c.scheduled_pay_dt , a.txn_currency_cd , C.PYMNT_GROSS_AMT , a.paid_rate_mult , a.paid_rate_div , a.cur_rt_type_pymnt , a.invoice_id , a.currency_pymnt , a.paid_amt , b.voucher_style , b.invoice_dt , b.pymnt_terms_cd , c.dscnt_due_dt , C.paid_amt_dscnt , c.dscnt_pay_amt , a.bank_setid , a.bank_cd , a.bank_acct_key , d.bank_account_num , c.pymnt_hold FROM ps_pycycl_data a , PS_VOUCHER b , ps_pymnt_vchr_xref c , ps_bank_acct_tbl d , ps_vendor e WHERE a.PYMNT_SELCT_STATUS IN ('R','D') AND a.business_unit = b.business_unit AND a.pay_doc_id = b.voucher_id 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 AND a.bank_setid = d.setid AND a.bank_cd = d.bank_cd AND a.bank_acct_key = d.bank_acct_key AND e.setid = b.vendor_setid AND e.vendor_id = b.vendor_id |
# | 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 | SOURCE_TXN | Character(4) | VARCHAR2(4) NOT NULL | Source Transaction |
4 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
5 | PAY_DOC_ID | Character(20) | VARCHAR2(20) NOT NULL | Advice ID |
6 | PAY_DOC_SEQ | Number(5,0) | INTEGER NOT NULL | Advice Sequence |
7 | PYCYCL_KEY_FIELD1 | Character(20) | VARCHAR2(20) NOT NULL | Pay Cycle Mapping Key Field 1 |
8 | PYCYCL_KEY_FIELD2 | Date(10) | DATE | Pay Cycle Mapping Key Field 2 |
9 | PYCYCL_KEY_FIELD3 | Number(15,0) | DECIMAL(15) NOT NULL | Pay Cycle Mapping Key Field 3 |
10 | REMIT_SETID | Character(5) | VARCHAR2(5) NOT NULL | Remit SetID |
11 | REMIT_VENDOR | Character(10) | VARCHAR2(10) NOT NULL | Remit Vendor |
12 | PV_VNDR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Supplier Name |
13 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
14 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
15 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
16 | PYMNT_CNT | Number(5,0) | INTEGER NOT NULL | Payments |
17 | DUE_DT | Date(10) | DATE | Specifies the date that a transaction is due. It is a generic field used in multiple PeopleSoft applications including Receivables Payables and Purchasing. For example it represents the date that payment is due for a voucher or the date that a scheduled shipment is due to be received. |
18 | SCHEDULED_PAY_DT | Date(10) | DATE | Scheduled to Pay |
19 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
20 | GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Invoice Amount |
21 | PYMNT_RATE_MULT | Number(16,8) | DECIMAL(15,8) NOT NULL | An internal convention utilized for determining whether a currency exchange rate is stored |
22 | PYMNT_RATE_DIV | Number(16,8) | DECIMAL(15,8) NOT NULL | An internal convention utilized for determining whether a currency exchange rate is store |
23 | CUR_RT_TYPE_PYMNT | Character(5) | VARCHAR2(5) NOT NULL | Payment Currency Rate Type |
24 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
25 | CURRENCY_PYMNT | Character(3) | VARCHAR2(3) NOT NULL | Payment Currency |
26 | PAID_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Paid Amount |
27 | VOUCHER_STYLE | Character(4) | VARCHAR2(4) NOT NULL |
Voucher Style
ADJ=Adjustments AMR=Amortization Voucher CLBK=Claim Voucher CORR=Reversal Voucher JRNL=Journal Voucher PPAY=Prepaid Voucher REG=Regular Voucher RGTR=Register Voucher SGLP=Single Payment Voucher THRD=Third Party Voucher TMPL=Template Voucher |
28 | INVOICE_DT | Date(10) | DATE | Invoice Date |
29 | PYMNT_TERMS_CD | Character(5) | VARCHAR2(5) NOT NULL |
Specifies how the payment due date and discount due date are calculated. A payment terms code is associated with various business units bill-to customers vendors as well as sales orders purchase orders and vouchers.
Prompt Table: PYMT_TR_EFF_VW |
30 | DSCNT_DUE_DT | Date(10) | DATE | Discount Due Date |
31 | PAID_AMT_DSCNT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Discount on Paid Amount |
32 | DSCNT_PAY_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Payment Discount Amount |
33 | BANK_SETID | Character(5) | VARCHAR2(5) NOT NULL | The PeopleSoft tableset ID associated with a given bank/counterparty. |
34 | BANK_CD | Character(5) | VARCHAR2(5) NOT NULL | Bank Code |
35 | 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 |
36 | BANK_ACCOUNT_NUM | Character(35) | VARCHAR2(35) NOT NULL | The literal unique identifier associated with a given bank/counterparty account. |
37 | PYMNT_HOLD | Character(1) | VARCHAR2(1) NOT NULL |
Hold Payment
N=No Y=Yes |