RF_IPRD_MAT_VW

(SQL View)
Index Back

Installed Product Material

This 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 , A.SO_DATE , A.DATE_END , D.USED_ITEM_ID , C.DESCR , C.DESCR60 , C.DESCRSHORT , SUM(D.QTY_SERLOT) , D.SYNCID , D.SYNCDTTM FROM PS_RF_SO_HDR A , PS_RF_INST_PROD B , PS_MASTER_ITEM_TBL 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 B.SETID = C.SETID 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, A.SO_DATE, A.DATE_END, D.USED_ITEM_ID, C.DESCR, C.DESCR60, C.DESCRSHORT, D.SYNCID, D.SYNCDTTM

  • Related Language Record: RF_IPRD_MAT_LNG
  • # 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 SO_DATE Date(10) DATE Stores the Service Order creation date.
    6 DATE_END Date(10) DATE End Date
    7 USED_ITEM_ID Character(18) VARCHAR2(18) NOT NULL Item ID
    8 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    9 DESCR60 Character(60) VARCHAR2(60) NOT NULL Description
    10 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description
    11 QTY_SERLOT Number(16,4) DECIMAL(15,4) NOT NULL Quantity entered on Manage Material when recording new item or item removal usage.
    12 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.
    13 SYNCDTTM DateTime(26) TIMESTAMP Synchronization Last Update Date Time