FO_CUST_CNT_SRC(SQL View) |
Index Back |
---|---|
Contact Customer Search View |
SELECT DISTINCT A.CUSTOMER_SETID , C.NAME1 , A.CUST_ID FROM PS_CONTACT_CUST A , PS_CUSTOMER C WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_CONTACT_CUST B WHERE B.CUST_ID = A.CUST_ID AND B.CUSTOMER_SETID = A.CUSTOMER_SETID AND B.EFFDT <= %CurrentDateIn) AND A.CUST_ID = C.CUST_ID AND A.CUSTOMER_SETID = C.SETID AND A.EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(5) | VARCHAR2(5) NOT NULL |
Customer SetID
Prompt Table: SP_SETID_NONVW |
|
2 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 | |
3 | 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.
Prompt Table: FO_CUST_CNT_SRC |