GPDE_SI_HRT_VW(SQL View) |
Index Back |
---|---|
Health Prov Contrib RatesContribution rates for health care providers, keyed by GPDE_SI_PROV. This is the search key of the SI Providers component. The view is used for referencing the health rates in this component. |
SELECT DISTINCT A.GPDE_SI_PROV , A.GPDE_SI_PROV_ID , C.EFFDT , C.GPDE_SI_REGION FROM PS_GPDE_SI_PROV A ,PS_GPDE_SI_PROV_ID B ,PS_GPDE_SI_HLTH_RT C WHERE A.GPDE_SI_PROV_ID = B.GPDE_SI_PROV_ID AND A.GPDE_SI_PROV_ID = C.GPDE_SI_PROV_ID AND A.GPDE_SI_HD_OFC_YN = 'Y' AND A.EFFDT = ( SELECT MAX(D.EFFDT) FROM PS_GPDE_SI_PROV D WHERE D.GPDE_SI_PROV = A.GPDE_SI_PROV AND D.EFFDT <= %CurrentDateIn ) AND B.EFFDT = ( SELECT MAX(E.EFFDT) FROM PS_GPDE_SI_PROV_ID E WHERE E.GPDE_SI_PROV_ID = B.GPDE_SI_PROV_ID AND E.EFFDT <= %CurrentDateIn ) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | GPDE_SI_PROV | Character(8) | VARCHAR2(8) NOT NULL | Social Insurance Provider |
2 | GPDE_SI_PROV_ID | Character(8) | VARCHAR2(8) NOT NULL | Provider ID |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | GPDE_SI_REGION | Character(1) | VARCHAR2(1) NOT NULL |
Region
0=General 1=East 2=West |