Is Visible hook
Use this hook to (conditionally) remove standard context messages.
See this example:
function extern boolean com.infor.ln.businesscontext_tcibd001_1.is.visible()
{
|* Don't send context in case of purchased item
select tcibd001.kitm
from tcibd001
where tcibd001.item = :tcibd001.item
and tcibd001.kitm = tckitm.purchase
selectdo
return(false)
endselect
return(true)
}