AP_S360_DSP_VW(SQL View) |
Index Back |
---|---|
Displuted Invoices |
SELECT b.oprid , a.business_unit , a.business_unit , a.voucher_id , a.invoice_id , a.invoice_dt , a.vendor_setid , a.vendor_id , a.gross_amt , a.txn_currency_cd FROM PS_VOUCHER a , PS_sec_bu_opr b , PS_EM_BUY_REG_TBL c , PS_EM_HDRLINES_HVW H WHERE b.business_unit = c.BUSINESS_UNIT AND a.business_unit = c.business_unit AND a.business_unit = H.EM_business_unit AND a.voucher_id = H.voucher_id AND H.PYMNT_HOLD = 'Y' GROUP BY b.oprid, a.business_unit, a.voucher_id, a.invoice_id, a.invoice_dt, a.vendor_setid, a.vendor_id, a.gross_amt, a.txn_currency_cd |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | EM_BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Buyer |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
4 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
5 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
6 | INVOICE_DT | Date(10) | DATE | Invoice Date |
7 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL | Vendor SetID |
8 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
9 | GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Invoice Amount |
10 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |