TGT_COMP_CNT_VW

(SQL View)
Index Back

Company Representatives

View to fetch the Company Representatives.

SELECT DISTINCT A.BO_ID , A.PERSON_ID , A.BIRTHDATE , A.FIRST_NAME , A.LAST_NAME , A.MIDDLE_NAME , A.NAME , A.NAME_AC , A.SECOND_LAST_NAME , A.PREF_FIRST_NAME , A.SEX , A.EMPLID , A.TITLE , A.BO_NAME_AC , A.AUTHORIZATION_ID , A.COMM_METHOD , A.NAME_TITLE , A.PIM_ACCT_NAME , B.BO_ID , B.ROLE_TYPE_ID , B.BO_REL_ID FROM PS_TGT_PERSON_VW A , PS_BO_ROL_CNT_VW B WHERE A.BO_ID = B.BO_ID_CONTACT AND B.START_DT <= %CurrentDateIn AND B.END_DT > %CurrentDateIn

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BO_ID Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID
2 PERSON_ID Character(15) VARCHAR2(15) NOT NULL Person ID
3 BIRTHDATE Date(10) DATE Birthdate of the person.
4 FIRST_NAME Character(30) VARCHAR2(30) NOT NULL First Name
5 LAST_NAME Character(30) VARCHAR2(30) NOT NULL Last Name
6 MIDDLE_NAME Character(30) VARCHAR2(30) NOT NULL Middle Name
7 NAME Character(50) VARCHAR2(50) NOT NULL Name
8 NAME_AC Character(50) VARCHAR2(50) NOT NULL Name (Alternate Character)
9 SECOND_LAST_NAME Character(30) VARCHAR2(30) NOT NULL Second Last Name
10 PREF_FIRST_NAME Character(30) VARCHAR2(30) NOT NULL PREF_FIRST_NAME field is used to identify the employees preferred first name
11 SEX Character(1) VARCHAR2(1) NOT NULL Gender of the person.
F=Female
M=Male
U=Unknown
12 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID
13 TITLE Character(35) VARCHAR2(35) NOT NULL Title
14 BO_NAME_AC Character(50) VARCHAR2(50) NOT NULL Name Description of Business Object
15 AUTHORIZATION_ID Character(10) VARCHAR2(10) NOT NULL Identification used for authorization purposes.
16 COMM_METHOD Character(1) VARCHAR2(1) NOT NULL The person's preferred method of communication.
C=Call
E=Email Only
F=Fax
I=XML only
M=Standard Mail
P=Email & Print
R=XML & Print
S=SMS
17 NAME_TITLE Character(30) VARCHAR2(30) NOT NULL Title
18 PIM_ACCT_NAME Character(30) VARCHAR2(30) NOT NULL PIM Account Name
19 BO_ID_2 Signed Number(32,0) DECIMAL(31) NOT NULL Business Object ID 2
20 ROLE_TYPE_ID Number(12,0) DECIMAL(12) NOT NULL Role Type ID
21 BO_REL_ID Signed Number(32,0) DECIMAL(31) NOT NULL Relationship ID of a Business Object