Here is a refresher of a neat feature in Infor Smart Office to make a field mandatory; it should be used instead of developing scripts.
Right-click on the desired field, and select Personalize > Enable Mandatory:
It will also apply to H5 Client:
Note: this personalization will not apply to other entry points such as M3 API or M3 Web Services (MWS) of type M3 Display Program (MDP). If you need to enforce the constraint there, you must do an M3 Java modification.
That’s it.
NOTE: I have Smart Office 10.2.1.0.101
LikeLike