Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

OnModify trigger on Job table (167) in NAV 2017

$
0
0
Hi,

I have this small problem with Job table in NAV 2017 and can't figure it out. The problem is with OnModify() trigger which gets executed every time any of the flowfields on this table get drilled down.

For example, in OnModify() trigger I add this:
mpkwj3shwvjz.jpg

Then open the table in windows client and drill down any flowfield, let's say "Comment" field:
a4458hotqpbn.jpg

When I close the "Comment List" and try to close the Job table I get this:
76ff5lpuzr6j.jpg

This can be replicated in Cronus 10-0 database. I've even removed all the code from the Job table and left just the standard fields with no code behind them whatsoever. Still error occurs. In fact, this is the only table that has this behavior, or at least what I've encountered in my environment. I can create a brand new page for this table with just one flowfield, if I drill it down - error occurs. The debugger is of no help, catches just the OnModify trigger with no execution trace in call stack. No extra movement in "Event subscriptions.." (number of calls) window too.

I imagine it's something very simple, perhaps an event/subscription outside the table or a subtle property somewhere. Any input would be highly appreciated.

Many thanks!

Viewing all articles
Browse latest Browse all 10032

Trending Articles



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