RO_AGR_COV_PRD(SQL View) |
Index Back |
---|---|
Get the Covered Agreement ProdGather the standard products covered by the agreement. |
SELECT A.LINE_NBR , B.PRODUCT_ID , A.PRODUCT_ID , A.CAPTURE_ID , A.LINE_ACTION , A.AGREE_LINE_NBR , C.DESCR , C.SETID FROM PS_RO_LINE A , PS_RO_LINE B , PS_PROD_ITEM C WHERE A.AGREE_LINE_NBR = B.LINE_NBR AND A.CAPTURE_ID = B.CAPTURE_ID AND B.PRODUCT_ID = C.PRODUCT_ID AND C.SETID = ( SELECT SETID FROM PS_SET_CNTRL_REC WHERE SETCNTRLVALUE = B.BUSINESS_UNIT AND RECNAME = 'PROD_ITEM') |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | LINE_NBR | Number(5,0) | INTEGER NOT NULL | This field represents the integer Order Line Number. |
2 | PRODUCT_ID | Character(18) | VARCHAR2(18) NOT NULL | Product ID |
3 | PRODUCT_ID_ALT | Character(18) | VARCHAR2(18) NOT NULL | Product ID Alternate |
4 | CAPTURE_ID | Character(20) | VARCHAR2(20) NOT NULL | Field use to store the capture ID in order capture. |
5 | LINE_ACTION | Character(4) | VARCHAR2(4) NOT NULL | Actions available on an Order - ie Change Features, Renew, Cancel. |
6 | AGREE_LINE_NBR | Number(5,0) | INTEGER NOT NULL | Agreement Line |
7 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
8 | SETID | Character(5) | VARCHAR2(5) NOT NULL | This field is used to store the value of SetID on various setup tables. |