VCHR_AF_APP_LNG(SQL View) |
Index Back |
---|---|
Voucher Approval Search |
SELECT a.business_unit , a.voucher_id , c.language_cd , a.invoice_id , c.setid , c.vendor_name_short , c.name1 FROM PS_VOUCHER a , ps_vendor b , ps_vendor_lang c , ps_bus_unit_tbl_ap e WHERE a.vendor_setid = b.setid AND a.vendor_id = b.vendor_id AND a.vchr_apprvl_flg = 'W' AND a.close_status <> 'C' AND a.process_man_close <> 'Y' AND a.entry_status <> 'X' AND a.APPR_STATUS IN ('P','D') AND e.BUSINESS_UNIT = a.BUSINESS_UNIT AND ((e.MATCH_APPRV_FLG = 'N' AND a.MATCH_STATUS_VCHR IN ('M','O','N')) OR (e.MATCH_APPRV_FLG = 'Y' AND a.MATCH_STATUS_VCHR = 'N')) AND c.setid = b.setid AND c.vendor_id = b.vendor_id |
# | 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 | VENDOR_SETID | Character(5) | VARCHAR2(5) NOT NULL |
Vendor SetID
Default Value: VENDOR.SETID |
6 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL | Short Vendor Name |
7 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |