RF_IPRD_MAT_LNG(SQL View) |
Index Back |
---|---|
Installed Product MaterialThis view gets the Used Material on Service Orders associated with the installed product. |
SELECT DISTINCT B.SETID , B.INST_PROD_ID , A.BUSINESS_UNIT , A.SO_ID , C.LANGUAGE_CD , C.DESCR , C.DESCR60 , C.DESCRSHORT FROM PS_RF_SO_HDR A , PS_RF_INST_PROD B , PS_MASTER_ITM_LANG C , PS_RF_MATUSESER D , PS_SET_CNTRL_REC E WHERE A.INST_PROD_ID = B.INST_PROD_ID AND D.BUSINESS_UNIT = A.BUSINESS_UNIT AND D.SO_ID = A.SO_ID AND C.INV_ITEM_ID = D.USED_ITEM_ID AND C.SETID = E.SETID AND E.SETCNTRLVALUE = A.BUSINESS_UNIT AND E.RECNAME = 'MASTER_ITEM_TBL' AND D.QTY_SERLOT <> 0 GROUP BY B.SETID, B.INST_PROD_ID, A.BUSINESS_UNIT, A.SO_ID, C.LANGUAGE_CD, C.DESCR, C.DESCR60, C.DESCRSHORT |
# | 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 | INST_PROD_ID | Character(20) | VARCHAR2(20) NOT NULL | This field is used to represent the installed product ID (key field) |
3 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
4 | SO_ID | Character(10) | VARCHAR2(10) NOT NULL | Service Order ID |
5 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | DESCR60 | Character(60) | VARCHAR2(60) NOT NULL | Description |
8 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |