RC_SOLBYPROD_VW

(SQL View)
Index Back

Frequently Used Solutions View

View used for frequently used solutions.

SELECT K.SETID , K.PRODUCT_ID , K.SOLUTION_ID , K.USAGE_COUNT , K.RC_SOLVED_COUNT , K.LIBRARY_ID , K.RC_SOLN_VISIBILITY , K.ROW_LASTMANT_DTTM , K.LAST_USAGE_DTTM , K.RC_SUMMARY , K.SOLUTION_DESCR FROM ( SELECT A.SETID , A.PRODUCT_ID , A.SOLUTION_ID , B.USAGE_COUNT , A.RC_SOLVED_COUNT , B.LIBRARY_ID , B.RC_SOLN_VISIBILITY , B.ROW_LASTMANT_DTTM , B.LAST_USAGE_DTTM , B.RC_SUMMARY , B.SOLUTION_DESCR FROM PS_RC_SOLN_PRODUCT A , PS_RC_SOLUTION B WHERE A.SETID = B.SETID AND A.SOLUTION_ID = B.SOLUTION_ID AND A.RC_SOLVED_COUNT > 0 AND B.EXPIRY_IND <> 'Y' AND B.SOLN_STATUS = 'ACTV' AND (B.EXPIRY_DATE > %CurrentDateIn OR B.EXPIRY_DATE IS NULL) AND B.RC_SOLUTION_TYPE NOT IN ('CAND', 'ADHC') ORDER BY A.RC_SOLVED_COUNT DESC) K

  • Related Language Record: RC_PRDSOLNVWLNG
  • # 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 SOLUTION_ID Number(15,0) DECIMAL(15) NOT NULL Solution ID
    4 USAGE_COUNT Number(8,0) INTEGER NOT NULL Counter of how often this row was selected in a Search Results page and marked as 'Used'. Usage Count is incremented by the USAGE_INCREMENT amount on the Search Setup Parameters page each time the row is 'Used'.
    5 RC_SOLVED_COUNT Number(6,0) INTEGER NOT NULL Solved Count Field in Solution
    6 LIBRARY_ID Character(5) VARCHAR2(5) NOT NULL Solution Library ID or Troubleshooting Guide ID
    7 RC_SOLN_VISIBILITY Character(4) VARCHAR2(4) NOT NULL Solution Visibility
    A=All
    I=Internal
    8 ROW_LASTMANT_DTTM DateTime(26) TIMESTAMP The date and time that the row was last updated.
    9 LAST_USAGE_DTTM DateTime(26) TIMESTAMP Used to identify last time the record was marked 'Used' in a Search result
    10 RC_SUMMARY Character(80) VARCHAR2(80) NOT NULL Typically a summary of a long field.
    11 SOLUTION_DESCR Long Character CLOB Solution Description