GPAR_PIN_NM_VW

(SQL View)
Index Back

PIN Number View

This view is used primarily to display the PIN Number as a related field on the On-line panels.

SELECT C.OPRID , B.PIN_NUM , B.PIN_NM , B.DESCR , B.USED_BY , B.COUNTRY , D.GP_LABEL_NAME , D.GPAR_DEDUCTIBLE FROM PS_GP_PIN B , PS_GP_OPR_RULE_PRF C , PS_GPAR_INC_TAX_PD D WHERE (B.USED_BY = 'A' OR (B.USED_BY = 'C' AND C.USED_BY= 'A') OR (B.USED_BY = 'C' AND B.COUNTRY = C.COUNTRY)) AND D.PIN_NUM = B.PIN_NUM AND D.GPAR_DEDUCTIBLE IN ('Y','A') AND D.EFFDT = ( SELECT MAX(D1.EFFDT) FROM PS_GPAR_INC_TAX_PD D1)

  • Related Language Record: GPAR_PIN_VW_LNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    2 PIN_NUM Number(8,0) INTEGER NOT NULL PIN Number
    3 PIN_NM Character(18) VARCHAR2(18) NOT NULL Element Name field
    4 DESCR Character(30) VARCHAR2(30) NOT NULL Description
    5 USED_BY Character(1) VARCHAR2(1) NOT NULL USED_BY
    A=All Countries
    C=Specific Country
    6 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

    Prompt Table: GP_COUNTRY_VW

    7 GP_LABEL_NAME Character(30) VARCHAR2(30) NOT NULL Label name.
    8 GPAR_DEDUCTIBLE Character(1) VARCHAR2(1) NOT NULL Field used to define if and element is deductible.
    A=Annual
    N=No Deductible
    Y=Deductible