FO_CSF_GRPC_VW3(SQL View) |
Index Back |
---|---|
Customer Group View |
SELECT B.SETID , B.CUST_ID , B.NAME1 , C.CITY , C.STATE FROM PS_CUSTOMER B , PS_CUST_ADDRESS C WHERE B.SETID = C.SETID AND B.CUST_ID = C.CUST_ID AND C.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_CUST_ADDRESS D WHERE C.SETID = D.SETID AND C.CUST_ID = D.CUST_ID AND C.ADDRESS_SEQ_NUM = D.ADDRESS_SEQ_NUM AND D.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | 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 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |
4 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
5 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |