PY_MOD_MARST_VW

(SQL View)
Index Back

State Marital Status Table

This view is used to display valid marital status codes by state. This view is used in Paycheck Modeling.

SELECT DISTINCT A.STATE , A.SWT_MAR_STATUS , A.DESCRSHORT FROM PS_SWT_MARSTAT_TBL A WHERE A.EFFDT = ( SELECT MAX(A_ED.EFFDT) FROM PS_SWT_MARSTAT_TBL A_ED WHERE A.STATE = A_ED.STATE AND A.SWT_MAR_STATUS = A_ED.SWT_MAR_STATUS AND A_ED.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 STATE Character(6) VARCHAR2(6) NOT NULL State
2 SWT_MAR_STATUS Character(1) VARCHAR2(1) NOT NULL SWT Marital/Tax Status
3 DESCRSHORT Character(10) VARCHAR2(10) NOT NULL Short Description