SPB_LOC_TBL_VW

(SQL View)
Index Back

Location Table View

Location Table View

SELECT A.SETID , A.SHIPTO_ID , A.DESCR FROM PS_SHIPTO_TBL A WHERE A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_SHIPTO_TBL A_ED WHERE A.SETID = A_ED.SETID AND A.SHIPTO_ID = A_ED.SHIPTO_ID AND A_ED.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS='A' AND A.SHIPTO_ID NOT IN ( SELECT B.LOCATION FROM PS_SPB_REGIONLOCAT B WHERE A.SETID=B.SETID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code

Prompt Table: LOCATION_TBL
Set Control Field: SETID

3 DESCR Character(30) VARCHAR2(30) NOT NULL Description