VCHR_SRCH_LG_VW(SQL View) |
Index Back |
---|
SELECT a.business_unit , a.voucher_id , c.language_cd , a.invoice_id , a.gross_amt , a.pay_amt , a.invoice_dt , a.vendor_setid , c.vendor_name_short , a.vendor_id , c.name1 , a.voucher_style , a.txn_currency_cd , a.voucher_id_related , a.entry_status , a.vchr_src FROM PS_VOUCHER a , ps_vendor b , ps_vendor_lang c , PS_VCHR_REG_LC D WHERE a.vendor_setid = b.setid AND a.vendor_id = b.vendor_id AND b.setid = c.setid AND b.vendor_id = c.vendor_id AND D.BUSINESS_UNIT = A.BUSINESS_UNIT AND D.VOUCHER_ID = A.VOUCHER_ID AND ((a.entry_status = 'R') OR (a.entry_status IN ('P','T') AND D.REG_CMPL_FLAG IN ('N', 'C'))) |
# | 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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | INVOICE_ID | Character(30) | VARCHAR2(30) NOT NULL | Invoice Number |
5 | GROSS_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Gross Invoice Amount |
6 | PAY_AMT | Signed Number(28,3) | DECIMAL(26,3) NOT NULL | Payment Amount |
7 | INVOICE_DT | Date(10) | DATE | Invoice Date |
8 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL |
Vendor SetID
Default Value: VENDOR.SETID |
9 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
10 | VENDOR_ID | Character(10) | VARCHAR2(10) NOT NULL |
Vendor Identifier
Default Value: VENDOR_SHRT_VW.VENDOR_ID Prompt Table: VENDOR_PRIM_VW |
11 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
12 | 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 Default Value: REG |
13 | TXN_CURRENCY_CD | Character(3) | VARCHAR2(3) NOT NULL | Transaction Currency |
14 | VOUCHER_ID_RELATED | Character(8) | VARCHAR2(8) NOT NULL | Related Voucher |
15 | ENTRY_STATUS_SRH | Character(1) | VARCHAR2(1) NOT NULL |
Entry Status
P=Postable R=Recycle T=Template Voucher |
16 | VCHR_SRC | Character(4) | VARCHAR2(4) NOT NULL | Voucher Source |