HCSC_RTG_CUR_VW(SQL View) |
Index Back |
---|---|
Ratings Definition Current VWSelects the most current effective dated on the Ratings Definition table. |
SELECT D.HCSC_RTG_CD , D.EFFDT , D.EFF_STATUS , D.DESCR254 , D.HCSC_RTG_CLASSID , D.HCSC_RTG_PKGROOT , D.HCSC_RTG_PKGPATH , D.HCSC_RTG_COMMT_FLG , D.HCSC_RTG_NBR_DEC , D.HCSC_RTG_REC_XREF , D.HCSC_RTG_SET_CNTRL FROM PS_HCSC_RTG_DEFN D WHERE D.EFF_STATUS = 'A' AND D.EFFDT = ( SELECT MAX(X.EFFDT) FROM PS_HCSC_RTG_DEFN X WHERE D.HCSC_RTG_CD = X.HCSC_RTG_CD AND X.EFFDT <= %CurrentDateOut) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | HCSC_RTG_CD | Character(30) | VARCHAR2(30) NOT NULL | Ratings Identification |
2 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
3 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive Default Value: A |
4 | DESCR254 | Character(254) | VARCHAR2(254) NOT NULL | Description of length 254 |
5 | HCSC_RTG_CLASSID | Character(30) | VARCHAR2(30) NOT NULL |
Application Class ID
Prompt Table: HCSC_RTG_CLS_VW |
6 | HCSC_RTG_PKGROOT | Character(30) | VARCHAR2(30) NOT NULL |
Application Class Package Root definition for unit test
Prompt Table: HCSC_RTG_PKG_VW |
7 | HCSC_RTG_PKGPATH | Character(127) | VARCHAR2(127) NOT NULL |
Application Class Path definition
Prompt Table: HCSC_RTG_PTH_VW |
8 | HCSC_RTG_COMMT_FLG | Character(1) | VARCHAR2(1) NOT NULL |
Comment flag
Y/N Table Edit Default Value: N |
9 | HCSC_RTG_NBR_DEC | Number(3,0) | SMALLINT NOT NULL | Average Decimal Places |
10 | HCSC_RTG_REC_XREF | Character(15) | VARCHAR2(15) NOT NULL |
Cross Reference Table
Prompt Table: HCSC_RTG_REC_VW |
11 | HCSC_RTG_SET_CNTRL | Character(18) | VARCHAR2(18) NOT NULL |
Set Control Field
Prompt Table: HCSC_RTG_FLD2VW |