PY_MOD_BEND_LVW(SQL View) |
Index Back |
---|---|
Rel. Lang. for PY_MOD_BENDEDVWThis view is used to show all deductions in the currently active benefit program. |
SELECT DISTINCT B.Plan_Type ,B.Benefit_Plan ,B.Dedcd ,C.Language_Cd ,C.Descr ,C.Descrshort FROM PS_BEN_DEFN_PGM A , PS_Ben_Defn_Optn B , PS_Deduction_Lang C WHERE (A.EffDt = ( SELECT MAX(X.EffDt) FROM PS_BEN_DEFN_PGM X WHERE A.Benefit_Program = X.Benefit_Program AND X.EffDt <= %CurrentDateIn)) AND A.Benefit_Program = B.Benefit_Program AND A.Effdt = B.Effdt AND A.Eff_Status = 'A' AND C.Plan_Type = B.Plan_Type AND C.Dedcd = B.Dedcd AND (C.EffDt = ( SELECT MAX(D.EffDt) FROM PS_Deduction_Lang D WHERE D.Plan_Type = C.Plan_Type AND D.Dedcd = C.Dedcd AND D.Language_Cd = C.Language_Cd AND D.EffDt <= A.EffDt)) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | Character(2) | VARCHAR2(2) NOT NULL | Identifies a category of benefit plan, such as Medical, Dental, and Life (Insurance). A set of plan type codes, as well as rules for creating new codes, is provided by PeopleSoft. Plan Type codes determine how the system processes and defines eligibility for the various benefit plans. | |
2 | Character(6) | VARCHAR2(6) NOT NULL |
Benefit Plan
Prompt Table: BENEF_PLAN_TBL |
|
3 | Character(6) | VARCHAR2(6) NOT NULL | Deduction Code | |
4 | Character(3) | VARCHAR2(3) NOT NULL | Language Code | |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | DESCRSHORT | Character(10) | VARCHAR2(10) NOT NULL | Short Description |