function AssetAdvisoryWarning(executionContext) {
var formContext = executionContext.getFormContext();
var gridContext = formContext.getControl(/asset_advisories/);
var myRows = gridContext.getGrid().getTotalRecordCount();
console.log(/row count (/+myRows+/)/)
if (myRows > 0) {
formContext.ui.setFormNotification(/This asset has (/+myRows+/) advisories./, /WARNING/);
}
}