RF_DF_PRDGRP_VW

(SQL View)
Index Back

Defaults product group

Defaults product group for the selected product................................

SELECT DISTINCT A.SETID ,A.PRODUCT_ID ,A.PRODUCT_GROUP ,B.DESCR FROM PS_PROD_PGRP_LNK A , PS_PROD_GROUP_TBL B WHERE A.SETID=B.SETID AND A.PRODUCT_GROUP=B.PRODUCT_GROUP AND A.PROD_GRP_TYPE = B.PROD_GRP_TYPE AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_PROD_GROUP_TBL C WHERE B.SETID = C.SETID AND B.PROD_GRP_TYPE = C.PROD_GRP_TYPE AND B.PRODUCT_GROUP = C.PRODUCT_GROUP AND C.EFFDT <= %CurrentDateIn) AND B.EFF_STATUS = 'A'

  • Related Language Record: RF_DF_PRDGRPLVW
  • # 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.
    2 PRODUCT_ID Character(18) VARCHAR2(18) NOT NULL Product ID
    3 PRODUCT_GROUP Character(10) VARCHAR2(10) NOT NULL PRoduct Group
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description