GPCN_VAR_SRCH0

(SQL View)
Index Back

Variable Search Record

Used as a Search Record by the Variable Definition Panel Group

SELECT B.PIN_NUM , C.OPRID , B.PIN_NM , B.DESCR , B.USED_BY , B.COUNTRY , B.PIN_NUM FROM PS_GP_PIN B , PS_GP_OPR_RULE_PRF C WHERE B.PIN_TYPE = 'VR' AND B.PIN_NUM IN ( SELECT B.PIN_NUM FROM PS_GP_COUNTRY A , PS_GP_PIN B , PS_GP_VARIABLE D WHERE B.PIN_NUM = D.PIN_NUM AND B.PIN_NUM < 50000000 AND (B.USED_BY = 'A' OR (B.USED_BY = 'C' AND B.COUNTRY = A.COUNTRY)) AND ( B.OVRD_IND_PI = 'Y' OR B.OVRD_IND_PYE = 'Y' ) AND B.FLD_FMT IN ('1','4')) AND (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 B.COUNTRY = 'CHN' AND B.FLD_FMT = '1'

  • Related Language Record: GPCN_VAR_SR_LNG
  • # PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
    1 PIN_SRCH_NUM Number(8,0) INTEGER NOT NULL Field used in PIN component search views
    2 OPRID Character(30) VARCHAR2(30) NOT NULL A user's ID (see PSOPRDEFN).
    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 PIN_NUM Number(8,0) INTEGER NOT NULL PIN Number