VCHR_QV_SRCH_VW(SQL View) |
Index Back |
---|
SELECT A.BUSINESS_UNIT , A.VOUCHER_ID , A.INVOICE_ID , A.GROSS_AMT , A.INVOICE_DT , A.VENDOR_SETID , A.VENDOR_ID , B.VENDOR_NAME_SHORT , B.NAME1 , A.VCHR_BLD_STATUS , A.TXN_CURRENCY_CD , A.ORIGIN , A.GRP_AP_ID , A.VCHR_SRC FROM PS_VCHR_HDR_QV A , PS_VENDOR B WHERE A.VENDOR_SETID = B.SETID (+) AND A.VENDOR_ID = B.VENDOR_ID (+) AND (A.VCHR_SRC <> 'SSI' OR (A.VCHR_SRC = 'SSI' AND A.VCHR_BLD_STATUS IN ('B','D','E'))) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_FS.BUSINESS_UNIT Prompt Table: SP_BU_AP_NONVW |
2 | VOUCHER_ID | Character(8) | VARCHAR2(8) NOT NULL |
Voucher ID
Default Value: NEXT |
3 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
4 | GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Invoice Amount |
5 | INVOICE_DT | Date(10) | DATE | Invoice Date |
6 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL |
Vendor SetID
Default Value: VENDOR.SETID |
7 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL |
Vendor Identifier
Default Value: VENDOR_SHRT_VW.VENDOR_ID Prompt Table: VENDOR_PRIM_VW |
8 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
9 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
10 | VCHR_BLD_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Build Status
B=Build Voucher D=Delete Voucher E=Pre-Edit Error H=Tolerance Hold I=Initiated N=Not processed S=Voucher Staged T=Stage Voucher |
11 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
12 | ORIGIN | Character(3) | VARCHAR2(3) NOT NULL | Origin |
13 | GRP_AP_ID | Character(10) | VARCHAR2(10) NOT NULL | Control Group ID |
14 | VCHR_SRC | Character(4) | VARCHAR2(4) NOT NULL | Voucher Source |