Skip to main content

Posts

Showing posts with the label Dynamics AX 3.0;Dynamics AX 4.0;Dynamics AX 2009;Dynamics AX 2012; Refreshing forms;Recursion

Recursively refreshing any calling forms with ONE method

CASE: In the project module you can create item requirements for a project (which are basically items you sell via the project). At a customer site, a customized table and form, has been added to the item requirements forms, so the customer is able to set up item specifications for each item requirement, consisting of records with different kinds of data which describes the item. A class bas been made to import a .csv-file to an set of intermediate tables where data which forms the basis of item requirements and item specifications are stored. On the item requirements form, you can call a form showing the contents of the intermediate tables and from this form you can then (via a menuitem button) call a class that facilitates population of the item requirements AND item specifications from the itermediate table. When populating the item requirements table based on the intermediate table, you deleted the contents of the intermediate table. So you have the Project form calling th