PV_LW_DEL_VW

(SQL View)
Index Back

Inactive LWC Items

This has a Microsoft Specific Version

SELECT A.SETID ,%Substring(A.EOCM_OFFER_ID,1,18) ,E.SETID ,E.VENDOR_ID ,C.CATEGORY_ID ,%Substring(A.EOCM_SUP_OFFER_UOM,1,3) ,%Substring(A.EOCM_SUP_OFFER_UOM,1,3) ,%Substring(A.EOCM_EPRO_DESCR,1,30) ,%Substring(A.EOCM_EPRO_DESCR,1,60) ,A.EOCM_EPRO_DESCR ,A.EOCM_SUP_OFFER_SKU ,%Sql(PV_CP_ITM_KEY_EXPRESS) ,A.EOCM_SUP_OFFER_PR ,A.EOCM_ITMVPRIORITY ,A.EOCM_LEAD_TIME ,' ' ,A.CURRENCY_CD ,'1' ,' ' ,A.EFFDT ,%DateNull ,D.NAME1 ,D.VNDR_STATUS_PO ,A.EFFDT ,E.VNDR_LOC ,A.EOCM_SUP_OFFER_PR ,A.CURRENCY_CD ,A.LASTUPDDTTM FROM PS_EOCM_GEN_TBL A , PS_INSTALLATION_PV B , PS_ITM_CAT_TBL C , PS_VENDOR D , PS_PV_MS_SUPPLIER E WHERE A.EFF_STATUS = 'I' AND A.EOCM_CATALOG_ID = 'EXPRESS_CATALOG' AND B.PVCM_SW = 'N' AND C.SETID = A.SETID AND C.CATEGORY_CD = A.EOCM_SUP_CAT_CD AND D.SETID = E.SETID AND D.VENDOR_ID = E.VENDOR_ID AND E.PV_MS_SUP_MPID = A.EOCM_PROP_VAL_1 AND NOT EXISTS( SELECT 'X' FROM PS_ITM_VENDOR X WHERE X.SETID = A.SETID AND X.INV_ITEM_ID = %Substring(A.EOCM_OFFER_ID,1,18) AND X.SETID = E.SETID AND X.VENDOR_ID = E.VENDOR_ID )

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
2 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
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
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 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
11 ITM_ID_VNDR Character(50) VARCHAR2(50) NOT NULL Vendor Item ID
12 VNDR_CATALOG_ID Character(20) VARCHAR2(20) NOT NULL Vendor's Catalog Number
13 PRICE_LIST Number(16,5) DECIMAL(15,5) NOT NULL Standard Price
14 ITM_VNDR_PRIORITY Number(3,0) SMALLINT NOT NULL Item Vendor Priority
15 STD_LEAD Number(3,0) SMALLINT NOT NULL Purchase Lead Time Days
16 MODEL Character(30) VARCHAR2(30) NOT NULL Model
17 CURRENCY_CD_BASE Character(3) VARCHAR2(3) NOT NULL Business Unit Base Currency
18 ITM_STATUS_CURRENT Character(1) VARCHAR2(1) NOT NULL Item Status Current
1=Active
2=Hold
3=Discontinue
4=Inactive
5=Pending Approval
6=Denied Approval
7=Under Initialization
19 ITM_STATUS_FUTURE Character(1) VARCHAR2(1) NOT NULL Item Status Future
1=Active
2=Hold
3=Discontinue
4=Inactive
20 ITM_STATUS_EFFDT Date(10) DATE Item Status Date
21 ITM_STAT_DT_FUTURE Date(10) DATE Item Date Future
22 VNDR_NAME1 Character(40) VARCHAR2(40) NOT NULL Supplier Name
23 VNDR_STATUS_PO Character(1) VARCHAR2(1) NOT NULL Open For Ordering
N=No
Y=Yes
24 EFFDT Date(10) DATE Effective Date

Default Value: %date

25 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
26 PRICE_VNDR Number(16,5) DECIMAL(15,5) NOT NULL Vendor Price
27 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
28 LASTUPDDTTM DateTime(26) TIMESTAMP Specifies the date and time of the last update to an entry. This field is maintained by PeopleSoft and is used in a variety of contexts.