1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| SELECT c.description,b.START_DATE_ACTIVE,b.END_DATE_ACTIVE
INTO flex,date_val_deb,date_val_fin
from fnd_flex_value_sets a,
fnd_flex_values b,
fnd_flex_values_tl c
where a.flex_value_set_name = 'COM_OUI/NON'
and a.flex_value_set_id = b.flex_value_set_id
and b.flex_value_id = c.flex_value_id
and c.language = 'F'
and c.description = flexi;
EXCEPTION
WHEN NO_DATA_FOUND THEN
val:=1;
END;
if val='1' AND flexi is not NULL THEN
Raise_application_error(-20000,'Valeur saisie pour la réclamation inexistante');
END IF; |
Partager