--select gg.d from rlarp.get_guidance('DIAM0004','DIAM0004','AMK06000G18B054',5000,2024) gg(d);
select gg.d doc from rlarp.get_guidance($1,$2, $3, $4,2024) gg(d);