RC_UPSELL_LNG(SQL View) |
Index Back |
---|---|
All Upsell OpportunitiesAll Upsell Opportunities |
SELECT A.SETID , A.SCRIPT_ID , B.LANGUAGE_CD , B.SCRIPT_NAME , B.DESCRLONG FROM PS_RC_BSCRIPT A , PS_RC_BSCRIPT_LNG B WHERE A.SCRIPT_TYPE = 'LEAD' AND A.EFF_STATUS = 'A' AND A.SETID = B.SETID AND A.SCRIPT_ID = B.SCRIPT_ID AND A.EFFDT = B.EFFDT AND A.EFFDT <= %CurrentDateIn AND 2 < ( SELECT COUNT(*) FROM PS_RC_BS_TREE C WHERE C.SETID = A.SETID AND C.SCRIPT_ID = A.SCRIPT_ID AND C.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 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | SCRIPT_NAME | Character(40) | VARCHAR2(40) NOT NULL | Branch Scripting Name Field |
5 | DESCRLONG | Long Character | CLOB | Long Description |