If you have the requirement of enabling/disabling all the fields in a data source bound with a grid or so then AX provides a built-in global static method which can be used.
Where _allowEdit is passed to enable or disable the fields.
AOT > Class > Global > allowEditFieldsOnFomrDS_W.
Happy DAXing!...(read more)
↧