RBT_PRD_REL_VW1

(SQL View)
Index Back

View to get Service Features

This view gets all the Service Features (Relationship) for a Service. It gets the Service Featires that are not Kits.

SELECT a.SETID , b.PRODUCT_ID , b.PRODUCT_ID_ALT , a.DESCR , a.PRODUCT_KIT_FLAG , b. PROD_DISPLAY_ORDER FROM PS_PROD_ITEM a , PS_PROD_RELATIONS b WHERE a.SETID = b.SETID AND a.PRODUCT_ID = b.PRODUCT_ID_ALT AND a.PRODUCT_KIT_FLAG = 'N' AND b.PROD_REL_TYPE = 'SF' AND a.PROD_TYPE = 'SVC' AND b.START_DT <= %CurrentDateIn AND b.END_DT >%CurrentDateIn

  • Related Language Record: RBT_PRD_REL_VWL
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 SETID Character(5) VARCHAR2(5) NOT NULL This field is used to store the value of SetID on various setup tables.

    Prompt Table: SP_SETID_NONVW

    2 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID

    Default Value: NEXT

    3 PRODUCT_ID_ALT Character(18) VARCHAR2(18) NOT NULL Product ID Alternate

    Prompt Table: PRODREL_SRCH_VW

    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    5 PRODUCT_KIT_FLAG Character(1) VARCHAR2(1) NOT NULL Product Kit Flag

    Y/N Table Edit

    Default Value: N

    6 PROD_DISPLAY_ORDER Number(2,0) SMALLINT NOT NULL We (PeopleSoft) plan on setting a 'Display Order' on the service features in a product. That is how we would decide the order to show the service features. Instead of just doing it alphabetically.