VNDR_BAL_VWA(SQL View) |
Index Back |
---|---|
Supplier Balance View |
select a.vendor_setid, a.vendor_id, a.txn_currency_cd, sum(b.pymnt_gross_amt), sum(b.dscnt_pay_amt) from PS_VOUCHER a, ps_pymnt_vchr_xref b, ps_vendor c where a.business_unit = b.business_unit and a.voucher_id = b.voucher_id and a.entry_status = 'P' and b.pymnt_selct_status = 'N' and a.vendor_setid = c.setid and a.vendor_id = c.vendor_id group by a.vendor_setid, a.vendor_id, a.txn_currency_cd |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Prompt Table: SETID_TBL |
2 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL |
Vendor Identifier
Prompt Table: VENDOR_PRIM_VW |
3 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
4 | GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Invoice Amount |
5 | DSCNT_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Discount Amount |