Источник:
http://blogs.bojensen.eu/?p=4891
==============
Often it is useful to be able to access the datasource field properties on a form through X++. This is essential for modifying the allowEdit property at run-time for example. The following code can be used to set the allowEdit of the InventTable.ItemName field on a form. FormDataObject fldItemName; boolean allowEdit = false; //This would…
Read more →
Источник:
http://blogs.bojensen.eu/?p=4891