can we have diff controls on a form if it is opened from 2 diff menus. eg if a form is opened from menu 1 then the no field on it is editable and if it opened from menu 2 then the same field is un editable
I mean from the panels on the side. for eg...the customer form opened from Sales & Marketing menu should hav diff controls from the customer form opened from the Financial management menu
In the old ( 3.70 and earlier ) menu that would be easy, because you had the ability to write code on menuoptions. If you want to do the same now, you'd have to write a codeunit per menuoption, where in the OnRun trigger, you pass a parameter to the form ( so it can set fields accordingly ) when you open it.
I mean from the panels on the side. for eg...the customer form opened from Sales & Marketing menu should hav diff controls from the customer form opened from the Financial management menu
If the no. of forms/object not too high you can create different form altogether with the desired settings...
for example create a new form (copying the customer card) "Customer card for Finance" change the setting and call it from the Financial Mgmt.
Comments
If the no. of forms/object not too high you can create different form altogether with the desired settings...
for example create a new form (copying the customer card) "Customer card for Finance" change the setting and call it from the Financial Mgmt.
Ritesh K Singh