CONTACT_CUST

(SQL View)
Index Back

Customer Contact Record

Customer Contact Record. This is used in RB_EIP.

SELECT A.SETID , A.CONTACT_ID , B.CUSTOMER_SETID , B.CUST_ID , B.EFF_STATUS , B.CNTCT_SEQ_NUM , B.ADDRESS_SEQ_NUM , B.BILL_TO_FLG , B.SOLD_TO_FLG , B.SHIP_TO_FLG , B.ROW_LASTMANT_OPRID , %DatePart(B.ROW_LASTMANT_DTTM) FROM PS_RB_INT_CONTACT A , PS_RB_INT_CNTCT_CU B WHERE A.BO_ID = B.BO_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.

Default Value: OPR_DEF_TBL_FS.SETID

2 CONTACT_ID Character(15) VARCHAR2(15) NOT NULL Contact Identifier for Treasury Contacts
3 CUSTOMER_SETID Character(5) VARCHAR2(5) NOT NULL Customer SETID

Default Value: OPR_DEF_TBL_FS.SETID

4 CUST_ID Character(15) VARCHAR2(15) NOT NULL Customer ID
5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive

Default Value: A

6 CNTCT_SEQ_NUM Number(5,0) INTEGER NOT NULL Contact Sequence Number Field size increased from 3 to 5 in CRM 8.95, as Supply Chain Management has increased the size to 5 in SCM 8.9 release.
7 ADDRESS_SEQ_NUM Number(5,0) INTEGER NOT NULL Address Sequence Number from Supply Chain Management. Field size increased from 3 to 5 in CRM 8.95, as Supply Chain Management has increased the size to 5 in SCM 8.9 release.
8 BILL_TO_FLG Character(1) VARCHAR2(1) NOT NULL A boolean that flags whether or not the customer is a valid Bill To customer.

Y/N Table Edit

Default Value: N

9 SOLD_TO_FLG Character(1) VARCHAR2(1) NOT NULL A boolean that flags whether or not the customer is a valid Sold To customer.

Y/N Table Edit

Default Value: N

10 SHIP_TO_FLG Character(1) VARCHAR2(1) NOT NULL A flag indicating that the customer or address is a valid Ship To customer or address.

Y/N Table Edit

Default Value: N

11 LAST_MAINT_OPRID Character(30) VARCHAR2(30) NOT NULL This field determines the last user or operator that last changed this item.
12 DATE_LAST_MAINT Date(10) DATE This field determines the date of last maintenance.