static function GetCurrentId() { return ESQL::QueryFirstField('select period_id from usage_period where end_date is null'); }