Quantcast
Channel: Baanboard.com
Viewing all articles
Browse latest Browse all 4216

User Exit DLL does not restrict system from saving data.

$
0
0
I have an User Exit DLL on tfacp200. I have added some simple business logic which is executing properly. Even though system sets an error message in the execution and returns dalhookerror, data is getting saved in the session.

I have tried below simple code to re-check:
function extern long ue.before.before.save.object(long mode)
{
on case mode
case DAL_NEW:
break
case DAL_UPDATE:
dal.set.error.message("gbacp300.03")
return(DALHOOKERROR)
endcase
return(0)
}

Even this does not restrict system from updating record.
Please help.

Thank You in advance!!

Viewing all articles
Browse latest Browse all 4216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>