GPHK_ACMSCH_LNG

(SQL View)
Index Back

GPHKG - Accumulator View

This view is used as a prompt record on pin Numbers to retrieve absence entitlement accumulators

SELECT C.OPRID , B.COUNTRY , B.PIN_NUM , D.LANGUAGE_CD , B.PIN_NM , B.DESCR , B.USED_BY FROM PS_GP_PIN B , PS_GP_OPR_RULE_PRF C , PS_GP_PIN_LANG D WHERE B.PIN_TYPE = 'AC' AND B.PIN_NUM = D.PIN_NUM 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))

# 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 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
3 PIN_NUM Number(8,0) INTEGER NOT NULL PIN Number
4 LANGUAGE_CD Character(3) VARCHAR2(3) NOT NULL Language Code
5 PIN_NM Character(18) VARCHAR2(18) NOT NULL Element Name field
6 DESCR Character(30) VARCHAR2(30) NOT NULL Description
7 USED_BY Character(1) VARCHAR2(1) NOT NULL USED_BY
A=All Countries
C=Specific Country