begin if :coil_history.cpl_dtl= 'ST' then ALERT_pkg.msg('The Coil undergone Side Trimming?'); raise form_trigger_failure; elsif :coil_history.cpl_dtl= 'NST' then ALERT_pkg.msg('The coil undergone No Side Trimming?'); raise form_trigger_failure; ELSE ALERT_pkg.msg('Please enter either ST for Side Trimming or NST for No Side Trimming'); end if; end;