RX_CUST_FLDS_VW(SQL View) |
Index Back |
---|---|
Self-service representativeThis record contains all fields required to authenticate which company the representative will self-register for. |
SELECT A.OPRID , A.TEMPLATE_ID , B.RECNAME , B.FIELDNAME , B.LABEL_ID , C.FIELDTYPE , C.LENGTH , C.FORMAT , C.FORMATLENGTH , D.LONGNAME FROM PS_RX_GUEST_TMPLT A , PS_RX_CUST_REG_FLD B , PSDBFIELD C , PSDBFLDLABL D WHERE A.TEMPLATE_ID = B.TEMPLATE_ID AND B.FIELDNAME = C.FIELDNAME AND B.FIELDNAME = D.FIELDNAME AND B.LABEL_ID = D.LABEL_ID AND C.FIELDNAME = D.FIELDNAME |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL |
A user's ID (see PSOPRDEFN).
Prompt Table: PSOPRDEFN |
2 | TEMPLATE_ID | Character(30) | VARCHAR2(30) NOT NULL | Template ID |
3 | RECNAME | Character(15) | VARCHAR2(15) NOT NULL | Record (Table) Name (see PSRECDEFN). |
4 | FIELDNAME | Character(18) | VARCHAR2(18) NOT NULL |
Field Name (see PSDBFIELD).
Prompt Table: PSRECFIELD |
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.
Prompt Table: RX_DBFLDLABL_VW |
6 | FIELDTYPE | Number(2,0) | SMALLINT NOT NULL | Field Type (from PSST0101 Ref.) |
7 | LENGTH | Number(5,0) | INTEGER NOT NULL | Length |
8 | FORMAT | Number(2,0) | SMALLINT NOT NULL |
Field Format
0= 1=Name 2=Phone Number North American (mandatory length 12 characters) 3=Zip/Postal Code North American (mandatory length 10 characters) 4=US Social Security Number (mandatory length 9 characters) 5= 6=Mixed Case 7=Raw/Binary 8=Numbers only 9=SIN (mandatory length 9 characters) 10=International Phone Number 11=Zip/Postal Code International 12=Time HH:MM:SS 13=Time HH:MM:SS.999999 14=Custom (FORMATFAMILY and DISPFMTNAME must be completed) |
9 | FORMATLENGTH | Number(4,0) | SMALLINT NOT NULL | Format Length in characters. Except that Images and Attachments in Kb. |
10 | LONGNAME | Character(30) | VARCHAR2(30) NOT NULL | Long Name |