CurrEffDt function
Syntax
CurrEffDt([level_num])
Description
Use the CurrEffDt function to return the effective date of the specified scroll level as a Date value.
Note:
This function remains for backward compatibility only. Use the EffDt rowset class property instead.
If no level is specified, CurrEffDt returns the effective date of the current scroll level.
Returns
Returns a Date value equal to the current effective date of the specified scroll level.
Example
If INSTALLATION.POSITION_MGMT = "P" Then
If All(POSITION_NBR) Then
If (EFFDT = CurrEffDt(1) and
EFFSEQ >= CurrEffSeq(1)) or
(EFFDT > CurrEffDt(1) and
EFFDT = %Date) Then
Gray_employment( );
End-if;
End-if;
End-if;
Related Topics
- PeopleCode API Reference: EffDt property: Rowset class
- PeopleCode API Reference: GetCurrEffRow method: Rowset class
- PeopleCode API Reference: EffSeq property: Rowset class
- PeopleCode Developer’s Guide: Understanding Data Buffer Access
- CurrEffRowNum function
- CurrEffSeq function
- CurrentLevelNumber function