RSF_PRODGRP_VW2

(SQL View)
Index Back

SFA Prod Groups

CRM Sales - A view of all Product Groups. Do not add EFF_STATUS field to it as it will then not show description of inactive product groups which may have previously been added to Product Grid.

SELECT DISTINCT setid , product_group , eff_status , descr , descrshort FROM PS_PROD_GROUP_TBL A WHERE EFFDT = ( SELECT MAX(EFFDT) FROM PS_PROD_GROUP_TBL b WHERE a.setid = b.setid AND a.product_group = b.product_group AND b.effdt <= %CurrentDateIn)

  • Related Language Record: RSF_PRODGRP_LN2
  • # 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.

    Default Value: OPR_DEF_TBL_FS.SETID

    Prompt Table: SP_SETID_NONVW

    2 PRODUCT_GROUP Character(10) VARCHAR2(10) NOT NULL PRoduct Group
    3 STATUS Character(1) VARCHAR2(1) NOT NULL Status Indicator
    A=Active
    I=Inactive
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    5 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description