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

RE: Validation on Form

$
0
0

Your approach is incorrect. If I would have to implement this only for the SalesTable form, I would override the init() method on the form, and based on your date criteria range, just disable editing of the form datasources, like locking editing every Monday for example:

if (dayOfWk(systemDateGet()) = 1) // Lock Mondays
{
    SalesTable_ds.allowEdit(false);
    SalesLine_ds.allowEdit(false);
}

Viewing all articles
Browse latest Browse all 175888

Trending Articles



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