PV_DC_SUPP_VW2

(SQL View)
Index Back

Direct Connect Suppliers View


SELECT ' ' ,A.MERCHANTID ,'D' FROM PSMERCHANTID A , PS_PV_MERCHANT C ,PSMERCHANTAPP D WHERE A.MERCHINSTALLED = 'Y' AND A.OBJECTOWNERID = 'DPV' AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PSMERCHANTID B WHERE A.MERCHANTID = B.MERCHANTID AND B.EFFDT <= %CurrentDateIn) AND C.EFFDT = A.EFFDT AND C.MERCHANTID = A.MERCHANTID AND D.EFFDT = A.EFFDT AND D.MERCHANTID = A.MERCHANTID AND D.MRCHAPPATTRNAME='CATEGORY_ID'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 MERCHANTID Character(30) VARCHAR2(30) NOT NULL Merchant ID
3 CATALOG_TYPE Character(3) VARCHAR2(3) NOT NULL Catalog Type