USF_CST_POC_VW

(SQL View)
Index Back

USF New Cust POC


SELECT X.USF_UEID , X.USF_EFT_IND , X.CUSTOMER_SETID , X.CUST_ID , X.DUNS_NUMBER , %DateNull , 'A' , X.CUST_OBJ_TYPE , X.ADDRESS_SEQ_NUM , A.USF_ADDR_POC , %Substring(A.USF_NAME1,1,40) , %Substring(A.USF_ADDR_POC,41,40) , %Substring(A.USF_ADDR_POC, 1, 30) , %Substring(A.EMAIL_TO, 1, 70) , ' ' , 'Y' , 'N' , 'N' , 'N' , A.CPARTY_PHONE_NBR FROM PS_USF_CUST_XREF X , PS_USF_VNDR_ADDR A WHERE %Join(COMMON_KEYS, USF_CUST_XREF X, USF_VNDR_ADDR A) AND X.CUST_OBJ_TYPE = 'LAP' AND A.USF_ADDR_TYPE = 'AP'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 USF_UEID Character(12) VARCHAR2(12) NOT NULL Unique Entity Identifier
2 USF_EFT_IND Character(4) VARCHAR2(4) NOT NULL Entity EFT Indicator
3 CUSTOMER_SETID Character(5) VARCHAR2(5) NOT NULL Customer SetID
4 CUST_ID Character(15) VARCHAR2(15) NOT NULL Uniquely identifies an organizational entity that purchases goods or services from the enterprise. Represents the sold-to customer which is the customer organization that places orders. The CUST_ID may or may not be the same as the identifiers for the bill-to and ship-to locations.
5 DUNS_NUMBER Character(9) VARCHAR2(9) NOT NULL DUNS Number
6 EFFDT Date(10) DATE Effective Date
7 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
8 CUST_OBJ_TYPE Character(4) VARCHAR2(4) NOT NULL Customer Object Type
BUSN=Business Phone
CAF=AP Point of Contact -obsolete
CAP=AP Point of Contact
CUST=Customer
DNS=DUNS Number
DOD=DODAAC Code
DP4=DUNS Plus 4
EIN=Employer ID Number
FAX=Fax Phone
FSC=Federal Supply Class
LAF=Accounts Receivable Address
LAP=Accounts Payable Address
LAR=Accounts Receivable Address
LCN=Corporate Address
LFE=Mailing Address
LRI=Remit Address Contact
LSL=Sales Address Contact
PSC=Public Service Code
SBA=SBA Business Types
SSN=Social Security Number
TIN=Tax Identification Number
USA=NAICS SIC Code
USE=Exception NAICS SIC Code
USP=Primary NAICS SIC Code
9 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number
10 USF_ADDR_POC Character(150) VARCHAR2(150) NOT NULL Operation Name
11 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
12 NAME2 Character(40) VARCHAR2(40) NOT NULL Name 2
13 PREF_FIRST_NAME Character(30) VARCHAR2(30) NOT NULL Preferred First Name
14 EMAILID Character(70) VARCHAR2(70) NOT NULL A user's E-mail address
15 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
16 PRIMARY_BILL_CNTCT Character(1) VARCHAR2(1) NOT NULL Primary Bill To
17 PRIMARY_SHIP_CNTCT Character(1) VARCHAR2(1) NOT NULL Primary Ship To
18 PRIMARY_SOLD_CNTCT Character(1) VARCHAR2(1) NOT NULL Primary Sold To
19 PRIMARY_IPAC Character(1) VARCHAR2(1) NOT NULL Primary IPAC Contact
20 CPARTY_PHONE_NBR Character(30) VARCHAR2(30) NOT NULL The phone number for a given bank/counterparty contact person.