AP_TINEXTR_VW

(SQL View)
Index Back

TIN Matching Extract VW

TIN Matching Extract VW

SELECT DISTINCT A.SETID , A.VENDOR_ID , A.VNDR_LOC , A.WTHD_ENTITY , A.TIN_TYPE , A.TIN , A.AP_TIN_STATUS_CD , B.NAME1_WTHD , B.NAME2_WTHD , C.NAME1 , C.NAME2 FROM %Table(VENDOR_WTHD) A , %Table(VENDOR_ADDR) B , %Table(VENDOR) C WHERE %EffdtCheck(VENDOR_WTHD AA, A, %CurrentDateIn) AND B.SETID = A.SETID AND B.VENDOR_ID = A.VENDOR_ID AND B.ADDRESS_SEQ_NUM = A.ADDRESS_SEQ_NUM AND %EffdtCheck(VENDOR_ADDR BB, B, %CurrentDateIn) AND C.SETID = A.SETID AND C.VENDOR_ID = A.VENDOR_ID AND C.VENDOR_STATUS <> 'I' AND A.TIN <> ' '

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
3 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
4 WTHD_ENTITY Character(5) VARCHAR2(5) NOT NULL Withholding Entity
5 TIN_TYPE Character(1) VARCHAR2(1) NOT NULL TIN Type
F=Federal Employer ID Number
S=Social Security Number
6 TIN Character(20) VARCHAR2(20) NOT NULL Taxpayer Identification Number
7 AP_TIN_STATUS_CD Character(1) VARCHAR2(1) NOT NULL TIN Status Matching process
E=Error
F=Format Error
M=Matched
N=New
P=Pending
8 NAME1_WTHD Character(40) VARCHAR2(40) NOT NULL Name 1
9 NAME2_WTHD Character(40) VARCHAR2(40) NOT NULL Name 2
10 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
11 NAME2 Character(40) VARCHAR2(40) NOT NULL Name 2