PV_EXPR_ITM_VW

(SQL View)
Index Back

Express items to index in PTSF


SELECT A.SETID , A.INV_ITEM_ID , A.VENDOR_SETID , A.VENDOR_ID , S.EOCM_OFFER_ID , A.VNDR_LOC , A.PRICE_VNDR , A.MFG_NAME , A.MFG_ITM_ID , A.MFG_ID , A.CURRENCY_CD_VNDR , A.ITM_STATUS , A.VNDR_NAME1 , A.ITM_VNDR_PRIORITY , A.ITM_ID_VNDR , A.UNIT_OF_MEASURE , A.ITM_STATUS_EFFDT , A.AVAIL_ALL_RGNS , A.CURRENCY_CD , A.MODEL , A.PRICE_LIST , A.INVENTORY_ITEM , A.DESCR254_MIXED , A.DESCR60 , A.DESCR , A.CATEGORY_ID , D.DESCR60 , D.LEAD_TIME , A.UNIT_MEASURE_STD , %DateIn('1900-01-01') , %DateIn('2999-12-31') , A.LASTUPDDTTM , S.PRICE_LIST_COMM , S.CURRENCY_CD_COMM , S.PV_INCATALOG , 'Y' , 'Y' , '1' , %CurrentDateTimeIn , '1' , %DateIn('2999-12-31') , A.VNDR_NAME1 FROM PS_PV_LW_SINDX_VW A , PS_ITM_CAT_TBL D , PS_PV_EXPRITM_SES S WHERE A.SETID = D.SETID AND A.CATEGORY_ID = D.CATEGORY_ID AND D.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_ITM_CAT_TBL E WHERE E.SETID = D.SETID AND E.CATEGORY_CD = D.CATEGORY_CD AND E.CATEGORY_TYPE = D.CATEGORY_TYPE AND E.CATEGORY_ID = D.CATEGORY_ID AND E.EFFDT <= %CurrentDateIn) AND D.EFF_STATUS = 'A' AND A.SETID = S.SETID AND A.INV_ITEM_ID = S.INV_ITEM_ID AND A.VENDOR_SETID = S.VENDOR_SETID AND A.VENDOR_ID = S.VENDOR_ID

  • Related Language Record: PV_EXPR_ITM_LVW
  • # 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 EOCM_OFFER_ID Character(32) VARCHAR2(32) NOT NULL Offering ID
    6 VNDR_LOC Character(10) VARCHAR2(10) NOT NULL Vendor Location
    7 PRICE_VNDR Number(16,5) DECIMAL(15,5) NOT NULL Vendor Price
    8 MFG_NAME Character(60) VARCHAR2(60) NOT NULL Manufacturer Name
    9 MFG_ITM_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer's Item ID
    10 MFG_ID Character(50) VARCHAR2(50) NOT NULL Manufacturer ID
    11 CURRENCY_CD_VNDR Character(3) VARCHAR2(3) NOT NULL Business Unit Base Currency
    12 ITM_STATUS Character(1) VARCHAR2(1) NOT NULL Item Status
    A=Active
    D=Discntued
    H=Hold
    I=Inactive
    X=To be Del
    13 NAME1 Character(40) VARCHAR2(40) NOT NULL Name 1
    14 ITM_VNDR_PRIORITY Number(3,0) SMALLINT NOT NULL Item Vendor Priority
    15 ITM_ID_VNDR Character(50) VARCHAR2(50) NOT NULL Vendor Item ID
    16 UNIT_OF_MEASURE Character(3) VARCHAR2(3) NOT NULL Used on an approval rule set.
    MHR=Muti Hourly
    PER=Percentage
    SQF=Square Footage
    17 ITM_STATUS_EFFDT Date(10) DATE Item Status Date
    18 AVAIL_ALL_RGNS Character(1) VARCHAR2(1) NOT NULL Available in All Regions
    19 CURRENCY_CD Character(3) VARCHAR2(3) NOT NULL Currency Code
    20 MODEL Character(30) VARCHAR2(30) NOT NULL Model
    21 PRICE_LIST Number(16,5) DECIMAL(15,5) NOT NULL Standard Price
    22 INVENTORY_ITEM Character(1) VARCHAR2(1) NOT NULL Inventory Item
    N=No
    Y=Yes
    23 DESCR254_MIXED Character(254) VARCHAR2(254) NOT NULL Description
    24 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description
    25 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    26 CATEGORY_ID Character(5) VARCHAR2(5) NOT NULL Category ID
    27 CATDESCR Character(60) VARCHAR2(60) NOT NULL Category Description
    28 LEAD_TIME Number(3,0) SMALLINT NOT NULL Lead Time Days
    29 UNIT_MEASURE_STD Character(3) VARCHAR2(3) NOT NULL Standard Unit of Measure
    30 PO_AVAIL_DT Date(10) DATE PO Available Date
    31 PO_UNAVAIL_DT Date(10) DATE PO Unavailable Date
    32 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.
    33 PRICE_LIST_COMM Number(16,5) DECIMAL(15,5) NOT NULL Common price used for searching in ePro.
    34 CURRENCY_CD_COMM Character(3) VARCHAR2(3) NOT NULL Common Currency Code
    35 PV_INCATALOG Character(1) VARCHAR2(1) NOT NULL In a catalog
    36 PV_PREF_VNDR Character(1) VARCHAR2(1) NOT NULL Preferred Supplier
    N=Not Preferred
    Y=Preferred
    37 PV_PREF_VNDR2 Character(1) VARCHAR2(1) NOT NULL Preferred Supplier
    N=Not Preferred
    Y=Preferrred
    38 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
    39 LASTUPDT_DTTM DateTime(26) TIMESTAMP Last Upd Dttm
    40 ITM_STATUS_FUTURE Character(1) VARCHAR2(1) NOT NULL Item Status Future
    1=Active
    2=Hold
    3=Discontinue
    4=Inactive
    41 ITM_STAT_DT_FUTURE Date(10) DATE Item Date Future
    42 PV_VENDOR_SORT Character(40) VARCHAR2(40) NOT NULL Supplier Name