PROD_CALIAS_VW(SQL View) |
Index Back |
---|---|
Cust Prod alias by productThis view creates a join of Product aliases and Customer Ids to get Product description. |
SELECT sc.setid , ca.product_id , ca.cust_id , ca.product_alias , ca.setid , ca.descr FROM ps_set_cntrl_rec sc , PS_PROD_CUST_ALIAS ca WHERE sc.setcntrlvalue = ca.setid AND sc.recname = 'PROD_ITEM' |
# | 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_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
3 | CUST_ID | Character(15) | VARCHAR2(15) NOT NULL |
Customer ID
Prompt Table: CUSTOMER |
4 | PRODUCT_ALIAS | Character(18) | VARCHAR2(18) NOT NULL | Product Alias |
5 | SETID_CUSTOMER | Character(5) | VARCHAR2(5) NOT NULL | Customer SetID |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |