PERS_SMOKER_VW(SQL View) |
Index Back |
---|---|
PERSON Smoker HistoryExtension of the PERSON object for SMoker History SMOKER / SMOKER_DT - used by USA, CAN, JPN. But is illegal for Italy. |
SELECT EMPLID ,SMOKER_DT ,SMOKER FROM PS_PERS_SMOKER A WHERE SMOKER_DT = ( SELECT MAX(SMOKER_DT) FROM PS_PERS_SMOKER B WHERE A.EMPLID = B.EMPLID AND B.SMOKER_DT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EMPLID | Character(11) | VARCHAR2(11) NOT NULL |
Employee ID
Default Value: PERSON.EMPLID Prompt Table: PERSON |
2 | SMOKER_DT | Date(10) | DATE NOT NULL | Smoker Status Date |
3 | SMOKER | Character(1) | VARCHAR2(1) NOT NULL |
A flag that indicates whether or not (Y or N) an employee or dependent is a smoker.
N=Non Smoker Y=Smoker |