Wednesday, November 2, 2011

Refresh Caller form From another form in dynamics ax 2009

--Class Declaration method contains

public class FormRun extends ObjectRun
{
        FormDataSource                              fds;
}

--Init Method contains

fds  = element.args().record().dataSource();

--for resfreshing the caller form execute the following code

fds.executeQuery();
fds.refresh();

No comments:

Post a Comment