Is Visible hook
Use this hook to build the custom context message conditionally.
See this example:
function extern boolean com.infor.ln.businesscontext_1.is.visible()
{
|* Don't send Item Group context for Item Group 001
select tcibd001.citg
from tcibd001
where tcibd001.item = :tcibd001.item
as set with 1 rows
selectdo
endselect
return(strip$(tcibd001.citg) <> "001")
}