VNDR_LOC_INV1VW

(SQL View)
Index Back

SELECT DISTINCT D.BUSINESS_UNIT , B.VENDOR_ID , B.VNDR_LOC FROM PS_VENDOR A , PS_VENDOR_LOC B , PS_BUS_UNIT_TBL_IN D , PS_SET_CNTRL_REC E WHERE D.BUSINESS_UNIT_AP = E.SETCNTRLVALUE AND E.RECNAME = 'VENDOR' AND E.SETID = A.SETID AND A.SETID = B.SETID AND A.VENDOR_ID = B.VENDOR_ID AND B.EFF_STATUS = 'A' AND B.CONSIGNED_FLAG = 'Y' AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_VENDOR_LOC C WHERE B.SETID = C.SETID AND B.VENDOR_ID = C.VENDOR_ID AND B.VNDR_LOC = C.VNDR_LOC AND B.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
3 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location

Prompt Table: VNDR_LOC_PR_VW