PROD_UPC1_VW

(SQL View)
Index Back

Customer Product by UPC


SELECT PI.SETID , IT.UPC_ID , IT.EFFDT , IT.INV_ITEM_ID , PI.PRODUCT_ID , PI.MODEL_NBR , PI.PRODUCT_KIT_FLAG , PI.EFF_STATUS , PI.DESCR , 'N' , 'U' 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 %EffdtCheck(INV_ITEMS IT2, IT, %CurrentDateIn)

  • Related Language Record: PROD_UPC_LVW
  • # 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 EFFDT Date(10) DATE Effective Date

    Default Value: %date

    4 INV_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
    5 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
    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 SEL Character(1) VARCHAR2(1) NOT NULL Select

    Y/N Table Edit

    Default Value: N

    11 TYPE_CODE Character(1) VARCHAR2(1) NOT NULL Uniform Type Code
    1=Account Status
    2=Activity Summary
    3=Transaction Detail