RBT_PRDCOMP_LVW(SQL View) |
Index Back |
---|---|
Product Kit ComponentsThis view is to get all the components of all the kits that are associated to a product as Service Features (Relationship). This views that these kits are 2 level kits. |
SELECT a.SETID , c.PRODUCT_ID , c.PRODUCT_ID_ALT , b.PROD_COMPONENT_ID , a.LANGUAGE_CD , a.DESCR FROM PS_PROD_RELATIONS c , PS_PRODKIT_COMPS b , PS_PROD_ITEM_LNG a WHERE c.SETID = b.SETID AND c.SETID = a.SETID AND c.PRODUCT_ID_ALT = b.PRODUCT_ID AND b.PROD_COMPONENT_ID = a.PRODUCT_ID AND c.START_DT <= %CurrentDateIn AND c.END_DT >%CurrentDateIn AND b.DATE_IN_EFFECT <= %CurrentDateIn AND b.DATE_OBSOLETE >%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.
Default Value: OPR_DEF_TBL_RB.SETID Prompt Table: SP_SETID_NONVW |
2 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL |
Product ID
Default Value: NEXT |
3 | PRODUCT_ID_ALT | Character(18) | VARCHAR2(18) NOT NULL |
Product ID Alternate
Prompt Table: PRODREL_SRCH_VW |
4 | PROD_COMPONENT_ID | Character(18) | VARCHAR2(18) NOT NULL |
Field is used to store components of a product
Prompt Table: PROD_SRCH_VW |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |