WV_HST_SHIP_VW

(SQL View)
Index Back

ShipTo ID Prompt View

Added for CN#WV802-2.0

SELECT DISTINCT A.REPORT_ENTITY ,A.PRCR_YEAR ,A.PRCR_PERIOD ,A.VENDOR_SETID ,A.VENDOR_ID ,B.DESCR ,A.SHIPTO_ID FROM PS_PRCR_ITEM_HST A , PS_SHIPTO_TBL B WHERE B.SETID = A.SHIPTO_SETID AND B.SHIPTO_ID = A.SHIPTO_ID AND B.EFFDT <= %CurrentDateIn AND B.EFF_STATUS = 'A' AND A.NUM_OF_RECEIPTS > 0

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 REPORT_ENTITY Character(5) VARCHAR2(5) NOT NULL Reporting Entity ID
2 PRCR_YEAR Number(4,0) SMALLINT NOT NULL Procurement Year
3 PRCR_PERIOD Number(3,0) SMALLINT NOT NULL Procurement Period
4 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
5 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
6 DESCR Character(30) VARCHAR2(30) NOT NULL Description
7 SHIPTO_ID Character(10) VARCHAR2(10) NOT NULL Ship To Location