PROD_RPTGP_VW

(SQL View)
Index Back

Prod-Report grp link view


SELECT pln.setid , pln.product_id , pln.product_group , pln.primary_flag FROM ps_set_cntrl_rec sc , PS_PROD_GROUP_TBL p1 , ps_prod_pgrp_lnk pln WHERE sc.setcntrlvalue = pln.setid AND sc.recname = 'PRODGP_RPT_VW' AND p1.setid = sc.setid AND p1.product_group = pln.product_group AND p1.prod_grp_type = 'RPT' AND p1.eff_status = 'A' AND %EffdtCheck(prod_group_tbl p2, p1, %CurrentDateIn) AND pln.product_group = p1.product_group AND pln.prod_grp_type = p1.prod_grp_type

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Prompt Table: SP_SETID_NONVW

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

Prompt Table: PROD_ITEM

3 PRODUCT_GROUP Character(10) VARCHAR2(10) NOT NULL Product Group

Prompt Table: PROD_GROUP_TBL

4 PRIMARY_FLAG Character(1) VARCHAR2(1) NOT NULL Primary
N=No
Y=Yes