Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Prevent closing a form

$
0
0

A new  two customized fields are added to HCMEmployment table, in HCMWorker form I need to perform the following:

-If the value of the first customized field is not zero and the value of the second customized field is still zero , the form should not be closed anda waring  message should be displayed for the user saying that this field should be filled.

The required checking and message code is added to ValidateWrite method on HcmEmployment datasourse on the Hcmworker form, the question is how can I prevent closing the HCMWorker form ?????


Viewing all articles
Browse latest Browse all 72043

Trending Articles



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