Disabling Report Quantity for Setup Operations in MES

If you handle this in a directive, it will kick in regardless of the UI calling. It is possible to report quantity on setup operations in Time and Expense Entry, as well as MES, so a directive would cover both of these cases(and any future extensions). The right answer depends on the requirements,in some cases you only want it handled in certain UIs.

If you only want to handle it in MES, you could use the following event and logic…