CUST_PTSFSH_LVW(SQL View) |
Index Back |
---|---|
Valid Ship To for Sold To -RLRValid Ship To for Sold To -RLR |
SELECT A.SETID ,A.CUST_ID ,A.SHIP_TO_CUST_ID ,C.ADDRESS_SEQ_NUM ,B.LANGUAGE_CD ,B.NAME1 FROM PS_CUST_SHIPTO A , PS_CUSTOMER_LANG B , PS_CUSTOMER CUST , PS_CUST_ADDRESS C WHERE A.SETID = B.SETID AND A.SHIP_TO_CUST_ID = B.CUST_ID AND B.SETID = C.SETID AND B.CUST_ID = C.CUST_ID AND %EffdtCheck(cust_address,C,%currentdatein) AND C.eff_status='A' AND CUST.SETID = B.SETID AND CUST.CUST_ID = B.CUST_ID AND CUST.CUST_STATUS = 'A' AND CUST.EXP_PENDING = 'N' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL | SetID |
2 | SOLD_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Sold To Customer |
3 | SHIP_TO_CUST_ID | Character(15) | VARCHAR2(15) NOT NULL | Ship To Customer |
4 | ADDRESS_SEQ_SHIP | Number(5,0) | INTEGER NOT NULL | Primary Address - Ship To |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | NAME1 | Character(40) | VARCHAR2(40) NOT NULL | Name 1 |