AP_WC_VCHRCY_VW(SQL View) |
Index Back |
---|---|
AP Workcenter Recycled VchrsAP Workcenter Recycled Vouchers |
SELECT A.BUSINESS_UNIT , A.VOUCHER_ID , A.VENDOR_SETID , A.VENDOR_ID , B.VENDOR_NAME_SHORT , B.NAME1 , A.INVOICE_ID , A.INVOICE_DT , A.GROSS_AMT , A.TXN_CURRENCY_CD , A.VCHR_SRC , 0 , A.OPRID , A.OPRID_LAST_UPDT , A.ORIGIN , A.VOUCHER_STYLE , A.ENTERED_DT , CASE G.VOUCHER_ID WHEN A.VOUCHER_ID THEN 'Y' ELSE 'N' END FROM PS_VOUCHER A LEFT OUTER JOIN PS_VCHR_SRCH_DEL G ON A.BUSINESS_UNIT = G.BUSINESS_UNIT AND A.VOUCHER_ID = G.VOUCHER_ID , PS_VENDOR B WHERE A.VENDOR_SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND A.ENTRY_STATUS = 'R' AND A.VCHR_DRAFT_FLG IN ('N',' ') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL | Voucher ID |
3 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
4 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL | Vendor Identifier |
5 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
6 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
7 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
8 | INVOICE_DT | Date(10) | DATE | Invoice Date |
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 |
11 | VCHR_SRC | Character(4) | VARCHAR2(4) NOT NULL | Voucher Source |
12 | COUNTER | Number(10,0) | DECIMAL(10) NOT NULL | Counter |
13 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
14 | OPRID_LAST_UPDT | Character(30) | VARCHAR2(30) NOT NULL | Last User to Update |
15 | ORIGIN | Character(3) | VARCHAR2(3) NOT NULL | Origin |
16 | 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 |
17 | ENTERED_DT | Date(10) | DATE | Entered on |
18 | SELECTED_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Selected Flag
N=Not Selected Y=Seleted |