PV_MS_VNDR_VW(SQL View) |
Index Back |
---|---|
Supplier Search Record |
SELECT A.SETID , A.VENDOR_ID , A.VENDOR_NAME_SHORT , A.AR_NUM , A.NAME1 , A.VENDOR_STATUS FROM PS_VENDOR A WHERE A.VENDOR_STATUS = 'A' AND EXISTS ( SELECT 'X' FROM PS_VENDOR_LOC B WHERE A.SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND B.EFFDT=( SELECT MAX(EFFDT) FROM PS_VENDOR_LOC B_ED WHERE B_ED.VENDOR_ID=B.VENDOR_ID AND B_ED.SETID=B.SETID AND B_ED.VNDR_LOC=B.VNDR_LOC AND B.EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A' AND NOT EXISTS ( SELECT 'X' FROM PS_PV_MS_SUPPLIER C WHERE C.SETID=B.SETID AND C.VENDOR_ID=B.VENDOR_ID AND C.VNDR_LOC=B.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 | VENDOR_NAME_SHORT | Character(14) | VARCHAR2(14) NOT NULL |
Short Vendor Name
Prompt Table: VENDOR_SHRT_VW1 |
4 | AR_NUM | Character(15) | VARCHAR2(15) NOT NULL |
Our Customer Number
Prompt Table: VNDR_AR_VW |
5 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL |
Name 1
Prompt Table: VNDR_NAME1_VW |
6 | VENDOR_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Vendor Status
A=Approved D=Denied E=Unapproved I=Inactive X=To Be Archived |