RE_LS_CSCNT_SUM

(SQL View)
Index Back

Lease Customer Contact Detail

This view is used in Customer Contact of the Lease Abstract Summary

SELECT CONTACT.LS_KEY , CUSTOMER.PARTY_KEY , CUSTOMER.NAME1 , CONTACT.PARTY_TYPE_CD , CUSTOMER.EMAILID , CUSTOMER.COMM_METHOD , CUSTOMER.PHONE , CUSTOMER.EXTENSION , CUSTOMER.FAX , %subrec(ADDRESS_SBR,CUSTOMER) FROM PS_RE_SUM_CS_CNTCT CUSTOMER , PS_RE_LS_CNTCT CONTACT , PS_RE_LS LEASE WHERE CUSTOMER.PARTY_KEY=CONTACT.PARTY_KEY AND LEASE.LS_KEY = CONTACT.LS_KEY AND CUSTOMER.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = LEASE.BUSINESS_UNIT AND RECNAME = 'CUST_CONTACT' ) AND CUSTOMER.NAME1 <>' '

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 LS_KEY Number(15,0) DECIMAL(15) NOT NULL Lease Key, Unique Key
2 PARTY_KEY Number(10,0) DECIMAL(10) NOT NULL Party Key
3 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
4 PARTY_TYPE_CD Character(20) VARCHAR2(20) NOT NULL Party type code (Internal or External)
5 EMAILID Character(70) VARCHAR2(70) NOT NULL A user's E-mail address
6 COMM_METHOD Character(1) VARCHAR2(1) NOT NULL Preferred Communication
A=Email Invoice as Attachment
C=Call
E=Email only
F=Fax
I=XML only
M=Standard Mail
N=Email Notification
P=Email & Print
R=XML & Print
7 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
8 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone Extension
9 FAX Character(24) VARCHAR2(24) NOT NULL Fax Number
10 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

11 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
12 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
13 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
14 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
15 CITY Character(30) VARCHAR2(30) NOT NULL City
16 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
17 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
18 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat
WW=Trailer
19 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
20 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
21 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
22 COUNTY Character(30) VARCHAR2(30) NOT NULL County
23 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: %EDIT_STATE

24 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
25 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
26 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit

Y/N Table Edit