SAC_SS_SHPTO_VW

(SQL View)
Index Back

SELECT P.BUSINESS_UNIT ,P.AUC_ID , P.AUC_ROUND , P.AUC_VERSION , P.BIDNUM , P.BIDDER_SETID , P.BIDDER_ID , P.BIDDER_TYPE , P.BIDDER_LOC , P.AUC_AWARD_NBR ,P.LINE_NBR ,P.SCHED_NBR , B.DESCR , B.COUNTRY , B.ADDRESS1 , B.ADDRESS2 , B.ADDRESS3 , B.ADDRESS4 , B.CITY , B.NUM1 , B.NUM2 , B.HOUSE_TYPE , B.COUNTY , B.STATE , B.POSTAL , B.ATTN_TO ,B.BUILDING ,B.FLOOR ,B.COUNTRY_CODE ,B.PHONE ,B.EXTENSION ,B.FAX FROM PS_SET_CNTRL_REC A , PS_LOCATION_TBL B , PS_AUC_AWARD_SHIP P WHERE A.SETCNTRLVALUE = P.BUSINESS_UNIT AND A.RECNAME = 'LOCATION_TBL' AND B.SETID = A.SETID AND B.LOCATION = P.SHIPTO_ID AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_LOCATION_TBL WHERE B.SETID = SETID AND B.LOCATION = LOCATION AND EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 AUC_ID Character(10) VARCHAR2(10) NOT NULL Event ID
3 AUC_ROUND Number(5,0) INTEGER NOT NULL Event Round
4 AUC_VERSION Number(5,0) INTEGER NOT NULL Event Version
5 BIDNUM Signed Number(6,0) DECIMAL(5) NOT NULL Bid ID
6 BIDDER_SETID Character(5) VARCHAR2(5) NOT NULL Bidder Setid
7 BIDDER_ID Character(15) VARCHAR2(15) NOT NULL Bidder ID
8 BIDDER_TYPE Character(1) VARCHAR2(1) NOT NULL Bidder Type
B=Bidder
C=Customer
P=Public
U=Uploaded
V=Supplier
9 BIDDER_LOC Character(10) VARCHAR2(10) NOT NULL Bidder Location
10 AUC_AWARD_NBR Number(3,0) SMALLINT NOT NULL Award Number
11 LINE_NBR Number(5,0) INTEGER NOT NULL Line Number: 11/24/08 - Added TARGET label [PC product]
12 SCHED_NBR Number(3,0) SMALLINT NOT NULL Schedule Number

Default Value: 1

13 DESCR Character(30) VARCHAR2(30) NOT NULL Description
14 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
15 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
16 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
17 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
18 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
19 CITY Character(30) VARCHAR2(30) NOT NULL City
20 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
21 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
22 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat
WW=Trailer
23 COUNTY Character(30) VARCHAR2(30) NOT NULL County
24 STATE Character(6) VARCHAR2(6) NOT NULL State
25 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
26 ATTN_TO Character(30) VARCHAR2(30) NOT NULL Attention
27 BUILDING Character(10) VARCHAR2(10) NOT NULL Building #
28 FLOOR Character(10) VARCHAR2(10) NOT NULL Floor #
29 COUNTRY_CODE Character(3) VARCHAR2(3) NOT NULL Int'l Prefix
30 PHONE Character(24) VARCHAR2(24) NOT NULL Telephone
31 EXTENSION Character(6) VARCHAR2(6) NOT NULL Phone Extension
32 FAX Character(24) VARCHAR2(24) NOT NULL Fax Number