PV_PERF_VM_VW

(SQL View)
Index Back

Item Search View

This view is used on Item Description page. For Sybase, additional peoplecode is needed to get the Item Mfg information because a UNION is not allowed in the view.

SELECT A.SETID ,A.INV_ITEM_ID ,A.VENDOR_SETID ,A.VENDOR_ID ,A.CATEGORY_ID ,A.UNIT_MEASURE_STD ,A.UNIT_OF_MEASURE ,A.DESCR ,A.DESCR60 ,A.ITM_ID_VNDR ,A.VNDR_CATALOG_ID ,A.PRICE_LIST ,A.ITM_VNDR_PRIORITY ,A.CURRENCY_CD_BASE ,A.VNDR_LOC ,A.PRICE_VNDR ,A.CURRENCY_CD ,A.MFG_ID ,A.MFG_ITM_ID ,A.PREFERRED_MFG FROM PS_PV_PERF_VM3_VW A WHERE A.MFG_ID IS NOT NULL UNION SELECT A.SETID ,A.INV_ITEM_ID ,A.VENDOR_SETID ,A.VENDOR_ID ,A.CATEGORY_ID ,A.UNIT_MEASURE_STD ,A.UNIT_OF_MEASURE ,A.DESCR ,A.DESCR60 ,A.ITM_ID_VNDR ,A.VNDR_CATALOG_ID ,A.PRICE_LIST ,A.ITM_VNDR_PRIORITY ,A.CURRENCY_CD_BASE ,A.VNDR_LOC ,A.PRICE_VNDR ,A.CURRENCY_CD ,E.MFG_ID ,E.MFG_ITM_ID ,E.PREFERRED_MFG FROM PS_PV_PERF_VM3_VW A , PS_ITEM_MFG E WHERE A.SETID = E.SETID (+) AND A.INV_ITEM_ID = E.INV_ITEM_ID (+) AND (A.MFG_ID IS NULL OR A.MFG_ID = ' ')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Default Value: OPR_DEF_TBL_FS.SETID

Prompt Table: SP_SETID_NONVW

2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID

Prompt Table: INV_ITEMS

3 VENDOR_SETID Character(5) VARCHAR2(5) NOT NULL Vendor SetID
4 VENDOR_ID Character(10) VARCHAR2(10) NOT NULL Vendor Identifier
5 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID

Prompt Table: ITM_CAT_TBL

6 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure
7 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage
8 DESCR Character(30) VARCHAR2(30) NOT NULL Description
9 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description
10 ITM_ID_VNDR Character(50) VARCHAR2(50) NOT NULL Vendor Item ID
11 VNDR_CATALOG_ID Character(20) VARCHAR2(20) NOT NULL Vendor's Catalog Number
12 PRICE_LIST Number(16,5) DECIMAL(15,5) NOT NULL Standard Price
13 ITM_VNDR_PRIORITY Number(3,0) SMALLINT NOT NULL Item Vendor Priority
14 CURRENCY_CD_BASE Character(3) VARCHAR2(3) NOT NULL Business Unit Base Currency
15 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
16 PRICE_VNDR Number(16,5) DECIMAL(15,5) NOT NULL Vendor Price
17 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
18 MFG_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer ID
19 MFG_ITM_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer's Item ID
20 PREFERRED_MFG Character(1) VARCHAR2(1) NOT NULL Item's Preferred Manufacturer