HR_ATT_DEFN_EFF

(SQL View)
Index Back

Attachment Definition view

Attachment Definition Current Effdt view

SELECT A.OBJECTOWNERID , A.HR_ATT_SUB_ID , A.EFFDT ,A.EFF_STATUS , A.SYSTEM_DATA_FLG FROM PS_HR_ATT_DEFN_TBL A WHERE A.EFF_STATUS = 'A' AND A.EFFDT = ( SELECT MAX(B.EFFDT ) FROM PS_HR_ATT_DEFN_TBL B WHERE A.OBJECTOWNERID = B.OBJECTOWNERID AND A.HR_ATT_SUB_ID = B.HR_ATT_SUB_ID AND B.EFF_STATUS = 'A' AND B.EFFDT <= %CurrentDateIn)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 OBJECTOWNERID Character(4) VARCHAR2(4) NOT NULL Object owner identifier
2 HR_ATT_SUB_ID Character(4) VARCHAR2(4) NOT NULL Field to partition attachments keys entries
3 EFFDT Date(10) DATE NOT NULL Effective Date

Default Value: %date

4 EFF_STATUS Character(1) VARCHAR2(1) NOT NULL Effective Status
A=Active
I=Inactive

Default Value: A

5 SYSTEM_DATA_FLG Character(1) VARCHAR2(1) NOT NULL This Y/ N field is used to identify which rows in a table are considered SYSTEM DATA.

Y/N Table Edit

Default Value: N