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:
Then open the table in windows client and drill down any flowfield, let's say "Comment" field:
When I close the "Comment List" and try to close the Job table I get this:
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!
Answers
Changing datatype to MediaSet solves the problem.
I just tested this on 2 customer systems, i am implementing, where i use Media. (so this is kind of interesting for me). This is on Item table.
But I cant replicate this! Both running on CU4.