P 2 K_PU.AAL_TODATE
Back to current versionRestore this version

Get Employee AAL_TODATE#

Functionality:#

The purpose of this function is to capture the values from the IALA "Previous Evaluations" tab that have been processed within the date range specified.

Parameters:#

EEM_ID Required.The EEM_ID from P2K_HR_EMPLOYMENTS belonging to the employee to be processed
LEAVE_TYPE Required.The LEAVE_TYPE_CODE defined on P2K_AT_LEAVE_POLICY_TYPES in which leave lines are to be captured
AC_CODE Required.The AC_CODE as defined on P2K_AT_ATTENDANCE_COMPONENTS (ie, A290,A300,etc.)
START Optional The earliest start date from the P2K_AT_LEAVE_LINESto be included. (Sysdate will be used if left blank)
END Optional The latest end date from the P2K_AT_LEAVE_LINES to be included. (Sysdate will be used if left blank)

Returns: #

Numeric

Errors: #

Example: #

FUNCTION AAL_TODATE (~,'VACATION','A290','01-Jan-2017','31-Jan-2017')

Will return leave lines values linked to the leave type 'VACATION' and the AC_CODE A290 that can be seen on the IALA leave history tab that have a START_DATE that falls between '01-Jan-2017 and 31-Jan-2017'

FUNCTION AAL_TODATE (~,'VACATION')

Will return leave lines values linked to the leave type 'VACATION' and the AC_CODE A300 that can be seen on the IALA leave history tab that have a START_DATE that falls on the current system date

FUNCTION AAL_TODATE (~,'SICK','A290','01-Dec-2017')

Will return leave lines values linked to the leave type 'SICK' and the AC_CODE A300 that can be seen on the IALA leave history tab that have a START_DATE that falls between '01-DEC-2017' and the current system date

Notes#


Notes#

Click to create a new notes page