WTHD_VCHRDEF_VW

(SQL View)
Index Back

SELECT BU.BUSINESS_UNIT , VJUR.SETID , VJUR.VENDOR_ID , VJUR.VNDR_LOC , VJUR.WTHD_ENTITY , VJUR.WTHD_TYPE , VJUR.WTHD_JUR_CD , VJUR.DEFAULT_CLASS FROM PS_WTHD_BU_JUR BU , PS_VENDOR_WTHD_JUR VJUR , PS_VENDOR VNDR WHERE BU.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_WTHD_BU_HDR B WHERE B.BUSINESS_UNIT = BU.BUSINESS_UNIT AND B.EFFDT <= %CurrentDateIn AND B.EFF_STATUS = 'A') AND BU.COLLECT_AGENT_FLG = 'Y' AND VJUR.EFFDT = ( SELECT MAX(V.EFFDT) FROM PS_VENDOR_LOC V WHERE V.SETID = VJUR.SETID AND V.VENDOR_ID = VJUR.VENDOR_ID AND V.VNDR_LOC = VJUR.VNDR_LOC AND V.EFFDT <= %CurrentDateIn AND V.EFF_STATUS = 'A') AND VJUR.WTHD_ENTITY = BU.WTHD_ENTITY AND VJUR.WTHD_TYPE = BU.WTHD_TYPE AND VJUR.WTHD_JUR_CD = BU.WTHD_JUR_CD AND VJUR.DEFAULT_JUR_FLG = 'Y' AND VJUR.WTHD_FLG = 'Y' AND VNDR.SETID = VJUR.SETID AND VNDR.VENDOR_ID = VJUR.VENDOR_ID AND VNDR.WTHD_SW = 'Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT_GL Character(5) VARCHAR2(5) NOT NULL GL Business Unit
2 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
3 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
4 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
5 WTHD_ENTITY Character(5) VARCHAR2(5) NOT NULL Withholding Entity
6 WTHD_TYPE Character(5) VARCHAR2(5) NOT NULL Withholding Type
7 WTHD_JUR_CD Character(5) VARCHAR2(5) NOT NULL Withholding Jurisdiction
8 WTHD_CLASS Character(5) VARCHAR2(5) NOT NULL Withholding Class