SPF_LOC_VW

(SQL View)
Index Back

SELECT BUSINESS_UNIT ,SP_REQ_ID ,LINE_NBR ,C.LOCATION ,SHIPTO_ID ,A.DESCR FROM PS_SHIPTO_TBL A , PSTREELEAF B ,PS_SPF_REQ_LINE C ,PS_LOCATION_TBL D , PS_SET_CNTRL_GROUP S WHERE A.SETID=D.SETID AND A.SHIPTO_ID=D.LOCATION AND C.BUSINESS_UNIT = S.SETCNTRLVALUE AND S.REC_GROUP_ID = 'SP_01' AND B.SETID = S.SETID AND SHIPTO_ID BETWEEN RANGE_FROM AND RANGE_TO AND TREE_NAME ='REGION_TREE' AND TREE_NODE_NUM =( SELECT DISTINCT TREE_NODE_NUM FROM PSTREELEAF F WHERE C.LOCATION BETWEEN RANGE_FROM AND RANGE_TO AND TREE_NAME ='REGION_TREE' AND F.SETID = S.SETID)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 SP_REQ_ID Character(10) VARCHAR2(10) NOT NULL Service Request ID
3 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
4 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
5 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location
6 DESCR Character(30) VARCHAR2(30) NOT NULL Description