SUP_VNDR_LANG

(SQL View)
Index Back

Supplier Search -supplier lang


SELECT a.setid , b.vendor_id , b.language_cd , b.name1 , a.default_loc , b.vendor_name_short , a.vndr_status_po , a.last_modified_date FROM PS_VENDOR a , PS_VENDOR_lang b WHERE a.setid = b.setid AND a.vendor_id = b.vendor_id AND a.vendor_status = 'A' AND a.vendor_persistence <> 'S' UNION SELECT aa.setid , aa.vendor_id , ' ' , aa.name1 , aa.default_loc , aa.vendor_name_short , aa.vndr_status_po ,aa.last_modified_date FROM PS_VENDOR aa WHERE aa.vendor_status = 'A' AND aa.vendor_persistence <> 'S' AND NOT EXISTS ( SELECT 'X' FROM PS_VENDOR_LANG BB WHERE BB.SETID = AA.SETID AND BB.VENDOR_ID = AA.VENDOR_ID)

# 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
3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
4 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
5 DEFAULT_LOC Character(10) VARCHAR2(10) NOT NULL Default Location
6 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name
7 VNDR_STATUS_PO Character(1) VARCHAR2(1) NOT NULL Open For Ordering
N=No
Y=Yes
8 LAST_MODIFIED_DATE DateTime(26) TIMESTAMP Last modified date