VENDOR_SIC_VW

(SQL View)
Index Back

Supplier Search Record

Used as a search record for several supplier related panel groups

select a.setid, a.vendor_id, b.vndr_loc, a.default_loc, a.vendor_name_short, a.ar_num, a.name1, a.vendor_status, b.sic_cd_qual, b.sic_code from PS_VENDOR a, ps_vndr_ind_class b where a.setid = b.setid and a.vendor_id = b.vendor_id and b.effdt = (select max(effdt) from ps_vndr_ind_class d where a.setid = d.setid and a.vendor_id = d.vendor_id and b.vndr_loc = d.vndr_loc)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Default Value: OPR_DEF_TBL_FS.SETID

Prompt Table: SP_SETVC_NONVW

2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier

Default Value: NEXT

Prompt Table: VENDOR_VW

3 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
4 DEFAULT_LOC Character(10) VARCHAR2(10) NOT NULL Default Location
5 VENDOR_NAME_SHORT Character(14) VARCHAR2(14) NOT NULL Short Vendor Name

Prompt Table: VENDOR_SHRT_VW1

6 AR_NUM Character(15) VARCHAR2(15) NOT NULL Our Customer Number

Prompt Table: VNDR_AR_VW

7 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1

Prompt Table: VNDR_NAME1_VW

8 VENDOR_STATUS Character(1) VARCHAR2(1) NOT NULL Vendor Status
A=Approved
D=Denied
E=Unapproved
I=Inactive
X=To Be Archived
9 SIC_CD_QUAL Character(3) VARCHAR2(3) NOT NULL SIC Code Type
ANZ=Australia-New Zealand SIC Code
CAN=Canadian NAICS Codes
GER=German SIC Codes
NAF=French SIC Codes
SIC=US SIC Codes
UK=UK 92 SIC Codes
USA=US - NAICS Codes
USE=NAICS Exception Codes
USP=Primary NAICS Codes
10 SIC_CODE Character(10) VARCHAR2(10) NOT NULL Standard Industry Code