RBT_PRD_REL_VW2(SQL View) |
Index Back |
---|---|
View to get Service FeaturesThis vies gets all the Service Features (relationship) for a Service. It gets the Service Featires that are Kits. |
SELECT a.SETID , b.PRODUCT_ID , b.PRODUCT_ID_ALT , a.DESCR , a.PRODUCT_KIT_FLAG , c.MIN_COMP , c.MAX_COMP FROM PS_PROD_ITEM a , PS_PROD_RELATIONS b , PS_PRODKIT_HEADER c WHERE a.SETID = b.SETID AND a.PRODUCT_ID = b.PRODUCT_ID_ALT AND a.SETID = c.SETID AND a.PRODUCT_ID = c.PRODUCT_ID AND b.PROD_REL_TYPE = 'SF' AND a.PRODUCT_KIT_FLAG = 'Y' AND b.START_DT <= %CurrentDateIn AND b.END_DT >%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.
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 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
5 | PRODUCT_KIT_FLAG | Character(1) | VARCHAR2(1) NOT NULL |
Product Kit Flag
Y/N Table Edit Default Value: N |
6 | MIN_COMP | Number(17,0) | DECIMAL(17) NOT NULL |
Minimum Component Quantity
Default Value: 1 |
7 | MAX_COMP | Number(17,0) | DECIMAL(17) NOT NULL |
Maximum Component Quantity
Default Value: 1 |