Options

Transformation Tool – Single Form vs. Multiple Forms

jreynoldsjreynolds Member Posts: 175
edited 2009-04-11 in NAV Three Tier
I have discovered that the transformation tool produces different result if you transform forms individually or if you transform them together. The situation occurs with respect to forms and subforms and how the tool handles calls to functions on the subform from a menu button item on the main form.

For example, consider the Sales Order (form 42) and the Sales Order Subform (form 46). The Sales Order form has a “Line” menu button that contains several items each of which calls a function on the Sales Order Subform. If you transform the Sale Order form by itself, you will find that in the resulting page all of the menu button items from the Line button have been transformed into actions on the Sales Order page. And if you transform the Sales Order Subform by itself, you will find that there are no actions defined on the resulting page. However, it you transform these two pages together, you will find that the menu button items from the Line button on the Sales Order form are transformed into actions on the Sales Order Subform page.

Comments

  • Options
    kinekine Member Posts: 12,562
    Of course, because there are some rules for transforming these functions. If the tool find out that it is only simple call of some function on the subform, it will transform it into subform action. But how to find out this without transforming the subform? ;-)

    More infor about transformation can be found on http://msdn.microsoft.com/en-us/library/dd338789.aspx
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.