select * from "rpt"."f36_2200_pg"(
cast($1 as bigint),
cast(to_timestamp($2, 'DD.MM.YYYY') as timestamp),
cast(to_timestamp($3, 'DD.MM.YYYY') as timestamp)
)
