RB_PRD_GRP_LVW(SQL View) |
Index Back |
---|---|
Product Group-SETID_PROD_GRPUsed for prompting on product group on Inbound Emails. Related Language version. |
SELECT DISTINCT A.SETID , A.PRODUCT_GROUP , B.LANGUAGE_CD , B.DESCR FROM PS_PROD_GROUP_TBL A , PS_PROD_GROUP_LNG B WHERE A.SETID = B.SETID AND A.PROD_GRP_TYPE = B.PROD_GRP_TYPE AND A.PRODUCT_GROUP = B.PRODUCT_GROUP AND A.EFFDT = B.EFFDT AND A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_PROD_GROUP_TBL B WHERE B.SETID = A.SETID AND B.PROD_GRP_TYPE = A.PROD_GRP_TYPE AND B.PRODUCT_GROUP = A.PRODUCT_GROUP AND B.EFFDT <= %CurrentDateIn) AND EFF_STATUS = 'A' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID_PRODUCT | Character(5) | VARCHAR2(5) NOT NULL | Product SetID |
2 | PRODUCT_GROUP | Character(10) | VARCHAR2(10) NOT NULL | PRoduct Group |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |