CUST_IND_A1S_VW(SQL View) |
Index Back |
---|---|
Active Indirect Customers |
SELECT DISTINCT C.setid , C.cust_id , C.name1 , A.city , a.state FROM ps_customer C , PS_CUST_ADDRESS A WHERE C.cust_status = 'A' AND C.indirect_cust_flg = 'Y' AND C.setid = A.setid AND C.cust_id = A.cust_id AND %EffdtCheck(cust_address, A, %currentdatein) AND A.eff_status='A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | INDIRECT_SETID | Character(5) | VARCHAR2(5) NOT NULL |
Indirect Customer SetID
Prompt Table: SP_SETID_NONVW |
2 | INDIRECT_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL |
Indirect Customer ID
Prompt Table: CUST_IND_A1S_VW |
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
Prompt Table: STATE_TBL |