MOC_PRODREL_VW(SQL View) |
Index Back |
---|---|
Product RelationshipThis view is used by Mobile Order Capture to store the Product Relationships. Its a join with Product Item table. |
SELECT A.SETID , A.PRODUCT_ID , A.PRODUCT_ID_ALT , A.START_DT , A.END_DT , C.DESCR REL_DESCR , B.DESCR ITEM_DESCR , B.SYNCID , B.SYNCDTTM FROM PS_PROD_RELATIONS A , PS_PROD_ITEM B , PS_RB_RELATIONS C WHERE A.PRODUCT_ID_ALT = B.PRODUCT_ID AND A.SETID = B.SETID AND C.PROD_REL_TYPE = A.PROD_REL_TYPE |
# | 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: PROD_ITEM.SETID |
2 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
3 | PRODUCT_ID_ALT | Character(18) | VARCHAR2(18) NOT NULL |
Product ID Alternate
Prompt Table: PRODREL_SRCH_VW |
4 | START_DT | Date(10) | DATE |
Start date field to store start date value.
Default Value: %date |
5 | END_DT | Date(10) | DATE | This field stores the end date values. |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | DESCR1 | Character(30) | VARCHAR2(30) NOT NULL | Descr |
8 | SYNCID | Number(10,0) | DECIMAL(10) NOT NULL | The Synchronization ID field stores a value generated by the sync processor. The value is used to identify the type of object that the sync processor is about to handle. |
9 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |