CNTSRCH_UPN_VW

(SQL View)
Index Back

Search UPN

View created to search the upnid's on contract line search page.

SELECT DISTINCT L.SETID , L.CNTRCT_ID , L.VERSION_NBR , L.INV_ITEM_ID , L.CNTRCT_LINE_NBR , L.UNIT_OF_MEASURE , L.MFG_ID , L.MFG_ITM_ID , U.DFLT_UOM , U.UPN_ID FROM PS_CNTRCT_LINE L ,PS_CNTRCT_LINE_UOM U WHERE L.SETID = U.SETID AND L.CNTRCT_ID = U.CNTRCT_ID AND L.VERSION_NBR = U.VERSION_NBR AND L.CNTRCT_LINE_NBR =U.CNTRCT_LINE_NBR AND U.UPN_ID <> ' ' AND U.DFLT_UOM ='Y'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 CNTRCT_ID Character(25) VARCHAR2(25) NOT NULL Buying Agreement ID
3 VERSION_NBR Number(5,0) INTEGER NOT NULL Contract Version number

Default Value: 1

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

Prompt Table: %EDITTABLE13

5 CNTRCT_LINE_NBR Number(5,0) INTEGER NOT NULL Buying Agreement Line Nbr
6 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
MHR=Muti Hourly
PER=Percentage
SQF=Square Footage

Prompt Table: %EDITTABLE6

7 MFG_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer ID

Prompt Table: MANUFACTURER

8 MFG_ITM_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer's Item ID

Prompt Table: %EDIT_MFGITM_ID

9 DFLT_UOM Character(1) VARCHAR2(1) NOT NULL Vendor Default UOM

Y/N Table Edit

Default Value: N

10 UPN_ID Character(20) VARCHAR2(20) NOT NULL Universal Product Number