WM_FLEX_SRFL_VW(SQL View) |
Index Back |
---|---|
WM FlexSearch SearchFld Vw |
SELECT A.RECNAME , A.FIELDNAME , B.FIELDTYPE , B.LENGTH , C.LABEL_ID , CASE WHEN A.DEFFIELDNAME <> ' ' THEN %TrimSubstr(C.LONGNAME,1,29) %Concat '*' ELSE C.LONGNAME END , %Substring(C.SHORTNAME,1,10) , A.DEFRECNAME , A.DEFFIELDNAME , A.EDITTABLE , A.USEEDIT , A.SETCNTRLFLD FROM PSRECFIELDDB A , PSDBFIELD B , PSDBFLDLABL C WHERE B.FIELDNAME = A.FIELDNAME AND ((A.LABEL_ID = ' ' AND C.FIELDNAME = B.FIELDNAME AND C.DEFAULT_LABEL = 1) OR (A.LABEL_ID <> ' ' AND C.FIELDNAME = B.FIELDNAME AND C.LABEL_ID = A.LABEL_ID)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | RECNAME | Character(15) | VARCHAR2(15) NOT NULL | Record (Table) Name (see PSRECDEFN). |
2 | FIELDNAME | Character(18) | VARCHAR2(18) NOT NULL | Field Name (see PSDBFIELD). |
3 | FIELDTYPE | Number(2,0) | SMALLINT NOT NULL | Field Type (from PSST0101 Ref.) |
4 | LENGTH | Number(5,0) | INTEGER NOT NULL | Length |
5 | LABEL_ID | Character(18) | VARCHAR2(18) NOT NULL | LABEL_ID identifies uniquness of DB Field Labels. This field is used in PSDBFLDLABL and PSDBFLDLABLLANG. |
6 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
7 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |
8 | DEFRECNAME | Character(15) | VARCHAR2(15) NOT NULL | Default Record Name |
9 | DEFFIELDNAME | Character(18) | VARCHAR2(18) NOT NULL | Default Field Name |
10 | EDITTABLE | Character(15) | VARCHAR2(15) NOT NULL | Edit Table |
11 | USEEDIT | Number(10,0) | DECIMAL(10) NOT NULL | Field Use and Edit Flags- USEEDIT reference |
12 | SETCNTRLFLD | Character(18) | VARCHAR2(18) NOT NULL | Tree Structure Node User Key Field Name |