FA_BPKG_SASN_VW(SQL View) |
Index Back |
---|---|
Batch Pkg Asgn Rec/Field ViewA combined view of the PSRECFIELD and PSDBFIELD tables to provide the list of fields and/or data needed to define packaging equations. Note that this view selects only those fields with the following data types (FIELDTYPE): 0 - Character 2 - Number 3 - Signed Number 4 - Date |
SELECT A.RECNAME , A.FIELDNAME , D.LONGNAME , B.FIELDTYPE , A.EDITTABLE , A.USEEDIT , B.LENGTH , B.DECIMALPOS FROM PSRECFIELD A , PSDBFIELD B , PSDBFLDLABL D WHERE A.FIELDNAME = B.FIELDNAME AND B.FIELDTYPE IN (0,2,3,4,5,6) AND D.FIELDNAME = A.FIELDNAME AND D.DEFAULT_LABEL = 1 AND EXISTS ( SELECT 'X' FROM PSRECDEFN C WHERE A.RECNAME = C.RECNAME AND C.RECTYPE IN (0,2,1,3)) AND A.RECNAME = 'SFA_BPKGSORT_VW' |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(15) | VARCHAR2(15) NOT NULL | Record (Table) Name (see PSRECDEFN). | |
2 | Character(18) | VARCHAR2(18) NOT NULL | Field Name (see PSDBFIELD). | |
3 | LONGNAME | Character(30) | VARCHAR2(30) NOT NULL | Long Name |
4 | FIELDTYPE | Number(2,0) | SMALLINT NOT NULL | Field Type (from PSST0101 Ref.) |
5 | EDITTABLE | Character(15) | VARCHAR2(15) NOT NULL | Edit Table |
6 | USEEDIT | Number(10,0) | DECIMAL(10) NOT NULL | Field Use and Edit Flags- USEEDIT reference |
7 | LENGTH | Number(5,0) | INTEGER NOT NULL | Length |
8 | DECIMALPOS | Number(2,0) | SMALLINT NOT NULL | Decimal Positions |