RY_DOC_SELND_VW

(SQL View)
Index Back

Document View for selection

Document View for selection where the document isn't already selected for a dialog.

SELECT A.SETID , A.RY_DOC_ID , C.RY_DATA_NAME , B.RY_DOC_TYPE , CASE WHEN B.RY_DOC_TYPE = 0 THEN '0' WHEN B.RY_DOC_TYPE = 20 THEN '0' WHEN B.RY_DOC_TYPE = 21 THEN '0' WHEN B.RY_DOC_TYPE = 22 THEN '0' WHEN B.RY_DOC_TYPE = 1 THEN '1' WHEN B.RY_DOC_TYPE = 2 THEN '1' WHEN B.RY_DOC_TYPE = 3 THEN '1' WHEN B.RY_DOC_TYPE = 4 THEN '1' END , A.LANGUAGE_CD , A.RY_STATUS , A.RY_MD_ID FROM PS_RYEDOC A , PS_RYEDOC_VAR B , PS_RYEMDATA C WHERE A.RY_MD_ID = B.RY_MD_ID AND C.RY_MD_ID = A.RY_MD_ID AND A.DIALOG_ID = 0

# 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 RY_DOC_ID Number(18,0) DECIMAL(18) NOT NULL Document ID - Dialog Document Main Sys ID

Prompt Table: RY_DOC_SEL_VW

3 RY_DATA_NAME Character(80) VARCHAR2(80) NOT NULL Document Name - Dialog Document, OLM
4 RY_DOC_TYPE Number(4,0) SMALLINT NOT NULL Document Type for Dialog Document, Either Email or Web
5 RY_DOC_TYPE_PRMPT Character(2) VARCHAR2(2) NOT NULL Document Type for Case Translation. Used in the dialog Designer.
0=Email Document
1=Web Document
6 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
7 RY_STATUS Character(1) VARCHAR2(1) NOT NULL Status for objects in the Dialog application.
A=Active
C=Archived
D=Design
I=Inactive
8 RY_MD_ID Number(18,0) DECIMAL(18) NOT NULL Metadata ID - Dialog document metadata table