We have added 2 new fields on InventDim and added the fields to all the
classes using invent dim and it works with no problems what so ever. But it
should only be possible to use these new fields in some forms. So looking at
the class "InventDimCtrl_Frm" how do I set some fields on inventDim to allow
edit noYes::no and then through code (using invent dim classes) open for
allow edit?
if have created a a new inventory dimension you need to extend the
InventDimCtrl classes because theses classes handles all the form and or
report stuff (like filed is mandadory, enabled and so on).
Please take a look at theses two articles describing the interaction between
forms/reports and this classes.
http://translate.google.com/translate?client=tmpg&hl=de&u=http%3A%2F%2Fblog.ak-home.net%2FPermaLink%2Cguid%2C3d8d3d4a-130a-4b2f-8a9e-1328ea6d50c8.aspx&langpair=de|en
BTW. the method "mustEnableField" is used for eanbling/disabling teh
inventdim field.
Hope this helps you because i have currently now real sample code on hand
which exactly fits to your need.
--
Sincerely yours
Axel Kühn (visit my Dynamics AX blog at: http://blog.ak-home.net)