GPMY_LN_VW

(SQL View)
Index Back

Loans Variables

Used to select only the variables used for Loans deduction.

SELECT A.COUNTRY , B.PIN_NUM , C.EFFDT , B.PIN_NM , C.EFF_STATUS , B.DESCR , B.COUNTRY FROM PS_GP_COUNTRY A , PS_GP_PIN B , PS_GP_VARIABLE C WHERE B.PIN_NUM = C.PIN_NUM AND (B.USED_BY = 'A' OR (B.USED_BY = 'C' AND B.COUNTRY = A.COUNTRY)) AND B.PIN_CATEGORY = 'LOAN' AND B.OVRD_IND_ELEM = 'Y' AND C.EFF_STATUS = 'A' AND B.PIN_TYPE = 'VR'

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
2 PIN_NUM Number(8,0) INTEGER NOT NULL PIN Number
3 EFFDT Date(10) DATE Effective Date
4 PIN_NM Character(18) VARCHAR2(18) NOT NULL Element Name field
5 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive
6 DESCR Character(30) VARCHAR2(30) NOT NULL Description
7 COUNTRY_CD Character(3) VARCHAR2(3) NOT NULL Country Code