PROD_PTSF_UPCVW

(SQL View)
Index Back

Customer Product by UPC


SELECT PI.SETID , IT.UPC_ID , IT.INV_ITEM_ID , PI.PRODUCT_ID , IT.EFFDT , PI.MODEL_NBR , PI.PRODUCT_KIT_FLAG , PI.EFF_STATUS , PI.DESCR , CASE WHEN IT.LAST_DTTM_UPDATE > PI.LASTUPDDTTM THEN IT.LAST_DTTM_UPDATE ELSE PI.LASTUPDDTTM END FROM PS_PROD_ITEM PI , PS_INV_ITEMS IT WHERE PI.SETID = IT.SETID AND PI.INV_ITEM_ID = IT.INV_ITEM_ID AND PI.PRODUCT_USE <> '2' AND IT.UPC_ID <> ' ' AND PI.EFF_STATUS = 'A' AND %EffdtCheck(INV_ITEMS IT2, IT, %CurrentDateIn)

  • Related Language Record: PRD_PTSF_UPCLVW
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL SetID
    2 UPC_ID Character(18) VARCHAR2(18) NOT NULL Uniform Product Code ID
    3 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
    4 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
    5 EFFDT Date(10) DATE Effective Date
    6 MODEL_NBR Character(18) VARCHAR2(18) NOT NULL Model Number
    7 PRODUCT_KIT_FLAG Character(1) VARCHAR2(1) NOT NULL Product Kit
    8 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
    A=Active
    I=Inactive
    9 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    10 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.