RC_SURVEY_VW(SQL View) |
Index Back |
---|---|
Survey Name ListThis view will list all valid Customer satisfaction scripts. |
SELECT A.SETID , A.SCRIPT_ID , A.SCRIPT_NAME , A.DESCRLONG FROM PS_RC_BSCRIPT A WHERE A.SCRIPT_TYPE = 'CSAT' 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) |
# | 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 | SCRIPT_NAME | Character(40) | VARCHAR2(40) NOT NULL | Branch Scripting Name Field |
4 | DESCRLONG | Long Character | CLOB | Long Description |