CUST_SRCHVW_LNG

(SQL View)
Index Back

Customer Search Related Lang

Customer Search Related Lang

SELECT DISTINCT A.SETID , A.CUST_ID , D.LANGUAGE_CD , D.NAME1 , D.NAME2 FROM PS_CUSTOMER A , PS_CUST_ADDRESS B , PS_CUST_OPTION C , PS_CUSTOMER_LANG D WHERE A.CUST_STATUS = 'A' AND A.BILL_TO_FLG = 'Y' AND A.CUST_LEVEL <> 'P' AND A.SETID = D.SETID AND A.CUST_ID = D.CUST_ID AND A.SETID = B.SETID AND A.CUST_ID = B.CUST_ID AND %EffdtCheck(cust_address,B,%CurrentDateIn) AND B.EFF_STATUS='A' AND A.SETID = C.SETID AND A.CUST_ID = C.CUST_ID AND %EffdtCheck(cust_option,C,%CurrentDateIn) AND C.EFF_STATUS='A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID_INQ Character(5) VARCHAR2(5) NOT NULL SetID
2 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.
3 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
4 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
5 NAME2 Character(40) VARCHAR2(40) NOT NULL Name 2