GVT_FA_HDR_VW

(SQL View)
Index Back

Header Info for Fluid Approval

This view would fetch information required to display the header information in fluid approvals.

SELECT A.EMPLID , A.EMPL_RCD , A.EFFDT , A.EFFSEQ , N.NAME_DISPLAY , PHOTO.EMPLOYEE_PHOTO FROM PS_GVT_JOB A , PS_NAMES N , PS_USER_PH_LIST_FL PHOTO WHERE A.EMPLID = N.EMPLID AND N.EFFDT = ( SELECT MAX (NM1.EFFDT) FROM PS_NAMES NM1 WHERE N.EMPLID = NM1.EMPLID AND NM1.NAME_TYPE = 'PRI' AND NM1.EFFDT <= %CurrentDateIn) AND A.EMPLID = PHOTO.EMPLID

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Default Value: NEW

Prompt Table: PERSON

2 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record
3 EFFDT Date(10) DATE NOT NULL Effective Date

Default Value: %date

4 EFFSEQ Number(3,0) SMALLINT NOT NULL Effective Sequence
5 NAME_DISPLAY Character(50) VARCHAR2(50) NOT NULL Display Name - name formatted for Display based on the Country
6 EMPLOYEE_PHOTO Image / Attachment(256) VARCHAR2(256) Employee Photograph