RC_PST_VW(SQL View) |
Index Back |
---|---|
Troubleshooting GuideThis View will have all valid Problem Solving Techniques. |
SELECT A.SETID , A.SCRIPT_ID , A.EFFDT , A.SCRIPT_TYPE , A.SCRIPT_NAME , B.LIBRARY_ID , B.DESCR254 , 'SETID:' %Concat A.SETID , A.DESCRLONG , %subrec(RB_AUDIT_SBR, A) FROM PS_RC_BSCRIPT A , PS_RBT_TGUIDE B WHERE A.SCRIPT_TYPE = 'GUID' AND A.SETID = B.SETID AND A.SCRIPT_ID = B.SCRIPT_ID AND A.EFF_STATUS = 'A' AND A.EFFDT <= %CurrentDateIn AND 2 < ( SELECT COUNT(*) FROM PS_RC_BS_TREE B WHERE B.SETID = A.SETID AND B.SCRIPT_ID = A.SCRIPT_ID AND B.EFFDT = A.EFFDT) AND A.SETID = B.SETID AND A.SCRIPT_ID = B.SCRIPT_ID |
# | 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 | SCRIPT_ID | Number(12,0) | DECIMAL(12) NOT NULL | Script ID |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | SCRIPT_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Branch Scripting Type field
CHRN=Churn CORD=Configure Order CQST=Contact Questionnaire CSAT=Customer Satisfaction GUID=Troubleshooting Guide LEAD=Lead Qualification PADV=Product Advisor PAPP=Product Application TELM=TeleSales |
5 | SCRIPT_NAME | Character(40) | VARCHAR2(40) NOT NULL | Branch Scripting Name Field |
6 | LIBRARY_ID | Character(5) | VARCHAR2(5) NOT NULL | Solution Library ID or Troubleshooting Guide ID |
7 | DESCR254 | Character(254) | VARCHAR2(254) NOT NULL | Description of length 254 |
8 | SETID_SRCH_SECID | Character(30) | VARCHAR2(30) NOT NULL | Search security - security based on SETID |
9 | DESCRLONG | Long Character | CLOB | Long Description |
10 | ROW_ADDED_DTTM | DateTime(26) | TIMESTAMP | This is a datetime field for record creation. |
11 | ROW_ADDED_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who added the row. |
12 | ROW_LASTMANT_DTTM | DateTime(26) | TIMESTAMP | The date and time that the row was last updated. |
13 | ROW_LASTMANT_OPRID | Character(30) | VARCHAR2(30) NOT NULL | ID of user who last modified the row. |
14 | 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. |
15 | SYNCDTTM | DateTime(26) | TIMESTAMP | Synchronization Last Update Date Time |