AR_CUST_ALL_VLG(SQL View) |
Index Back |
---|---|
Customer Search Related LangCustomer 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 %Join(COMMON_KEYS, CUSTOMER A, CUSTOMER_LANG D) AND A.CUST_STATUS IN ('A', 'I') AND A.BILL_TO_FLG = 'Y' AND A.CUST_LEVEL <> 'P' 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 |