GP_ABS_SEC_SRH(SQL View) |
Index Back |
---|---|
Absence security search recordConfigurable Sections: Template Based Absence search record |
SELECT DISTINCT SEC.GP_ABS_CS_TMPL_ID ,OPR.OPRID ,OPR.ROWSECCLASS ,'EMP' ,ACT.COUNTRY , ACT.DESCR50 FROM PSOPRDEFN OPR , PS_SJT_CLASS_ALL CLS , PS_GP_ABS_CFG_SJT SEC , PS_SJT_OPR_CLS SOC , PS_GP_ABS_TMPL_HDR ACT WHERE (CLS.SCRTY_SET_CD = 'ABSTMPL' ) AND (CLS.SCRTY_TYPE_CD = SEC.SCRTY_TYPE_CD AND CLS.SCRTY_KEY1 = SEC.SCRTY_KEY1 AND CLS.SCRTY_KEY2 = SEC.SCRTY_KEY2 AND CLS.SCRTY_KEY3 = SEC.SCRTY_KEY3) AND SOC.OPRID=OPR.OPRID AND SOC.CLASSID = CLS.CLASSID AND (( CLS.TREE = 'Y' AND SOC.CLASSID = OPR.ROWSECCLASS AND ( SOC.SEC_RSC_FLG = '1' OR SOC.SEC_RSC_FLG = '3') ) OR ( CLS.TREE = 'N' ) ) AND ACT.GP_ABS_CS_TMPL_ID = SEC.GP_ABS_CS_TMPL_ID AND ACT.EFFDT = SEC.EFFDT_NOKEY AND ACT.GP_ABS_CS_TMPL_ID = SEC.GP_ABS_CS_TMPL_ID AND ACT.GP_ABS_CS_TMPLSTAT = 'A' AND %EffdtCheck(GP_ABS_TMPL_HDR ACT1, ACT, %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | GP_ABS_CS_TMPL_ID | Character(18) | VARCHAR2(18) NOT NULL | Template ID or Template Section Configuration ID. Used by EA to create templates that are used by Absence requests. |
2 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
3 | ROWSECCLASS | Character(30) | VARCHAR2(30) NOT NULL | The class used to determine row level security |
4 | GP_ABS_CS_PER_ORG | Character(3) | VARCHAR2(3) NOT NULL |
Configurables Sections Setup:
Organizational Relationship
CWR=Contingent Worker EMP=Employee |
5 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
6 | DESCR50 | Character(50) | VARCHAR2(50) NOT NULL | Description of length 50 |