Subject Re: Reset genretor Value
Author tomkrej
Maybe You have to use EXECUTE STATEMENT.

...
if (extract(year from current_date) <> YilInt) then
execute statement 'SET GENERATOR TEKLIFM_TEKLIFM_Ay_GEN TO 0;';
...

Tom