GPDE_SI_RFRT_VW

(SQL View)
Index Back

Refund Insurance Rates

Refund Insurance Rates keyed by GPDE_SI_PROV.

SELECT DISTINCT B.GPDE_SI_PROV , A.GPDE_SI_PROV_ID , A.EFFDT , A.GPDE_SI_REGION FROM PS_GPDE_SI_RFND_RT A , PS_GPDE_SI_PROV B WHERE A.GPDE_SI_PROV_ID <> ' ' AND B.GPDE_SI_PROV_ID = A.GPDE_SI_PROV_ID AND B.EFFDT = ( SELECT MAX(C.EFFDT) FROM PS_GPDE_SI_PROV C WHERE C.GPDE_SI_PROV = B.GPDE_SI_PROV AND C.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 NOT NULL Effective Date

Default Value: %date

4 GPDE_SI_REGION Character(1) VARCHAR2(1) NOT NULL Region
0=General
1=East
2=West