RSF_PROD_PGP_VW(SQL View) |
Index Back |
---|---|
Product GroupCRM Sales - A view of all Product Groups |
SELECT DISTINCT B.SETID , B.PRODUCT_GROUP , B.DESCRSHORT , B.DESCR FROM PS_PROD_GROUP_TBL B WHERE EFF_STATUS = 'A' AND EFFDT = ( SELECT MAX(EFFDT) FROM PS_PROD_GROUP_TBL a WHERE a.setid = b.setid AND a.product_group = b.product_group AND a.effdt <= %CurrentDateIn) |
# | 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_GROUP | Character(10) | VARCHAR2(10) NOT NULL | PRoduct Group |
3 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |