FED_CST_POC_VW

(SQL View)
Index Back

FEDREG New Cust Address


SELECT X.DUNS_NUMBER , X.CCR_DUNS_PLUS4 , X.CUSTOMER_SETID , X.CUST_ID , %DateNull , 'A' , X.CUST_OBJ_TYPE , X.SOURCE_SYSTEM , X.ADDRESS_SEQ_NUM , A.NAME1 , A.NAME2 , %Substring(A.NAME1, 1, 30) , %Substring(A.EMAIL_TO, 1, 70) , ' ' , 'Y' , 'N' , 'N' , 'N' , A.CPARTY_PHONE_NBR FROM PS_CCR_CUST_XREF X , PS_CCR_VNDR_ADDR A WHERE %Join(COMMON_KEYS, CCR_CUST_XREF X, CCR_VNDR_ADDR A) AND X.SOURCE_SYSTEM = 'FED' AND X.CUST_OBJ_TYPE = 'LAF' AND A.CCR_ADDR_TYPE = 'AF'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 DUNS_NUMBER Character(9) VARCHAR2(9) NOT NULL DUNS Number
2 CCR_DUNS_PLUS4 Character(4) VARCHAR2(4) NOT NULL DUNS Suffix
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 EFFDT Date(10) DATE Effective Date
6 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
7 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
8 SOURCE_SYSTEM Character(3) VARCHAR2(3) NOT NULL Source System
CCR=CCR
EBL=eBill Contact Maintenance
FED=FED
PEN=Pension Customer
9 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number
10 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
11 NAME2 Character(40) VARCHAR2(40) NOT NULL Name 2
12 PREF_FIRST_NAME Character(30) VARCHAR2(30) NOT NULL Preferred First Name
13 EMAILID Character(70) VARCHAR2(70) NOT NULL A user's E-mail address
14 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
15 PRIMARY_BILL_CNTCT Character(1) VARCHAR2(1) NOT NULL Primary Bill To
16 PRIMARY_SHIP_CNTCT Character(1) VARCHAR2(1) NOT NULL Primary Ship To
17 PRIMARY_SOLD_CNTCT Character(1) VARCHAR2(1) NOT NULL Primary Sold To
18 PRIMARY_IPAC Character(1) VARCHAR2(1) NOT NULL Primary IPAC Contact
19 CPARTY_PHONE_NBR Character(30) VARCHAR2(30) NOT NULL The phone number for a given bank/counterparty contact person.