CNT_DST_SHIP_VW

(SQL View)
Index Back

Shipto Descr view

PO002. Shipto prompt on markup detail page.

SELECT C.SETID , C.CNTRCT_ID , A.SETID , A.SHIPTO_ID , A.DESCR FROM PS_SHIPTO_TBL A , PS_CNT_CTRL_TYPE C WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_SHIPTO_TBL B WHERE B.SETID = A.SETID AND B.SHIPTO_ID = A.SHIPTO_ID AND B.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' AND C.CONTROL_TYPE = 'SHIP' AND C.CTRL_SETID = A.SETID AND C.SHIPTO_ID = A.SHIPTO_ID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 CNTRCT_ID_DST Character(25) VARCHAR2(25) NOT NULL Contract ID To
3 SHIPTO_SETID Character(5) VARCHAR2(5) NOT NULL ShipTo SetID

Prompt Table: SP_SETID_NONVW

4 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location
5 DESCR Character(30) VARCHAR2(30) NOT NULL Description