In AX 2012, when calling SalesFormLetter from code sometimes the query dialog opens up. It occurs if a user previously opened the SalesFormLetter dialogs an entered some values in the query dialog so that the userdata was saved.
Any ideas how to prevent ax from opening the dialog (except cleaning the userdata)?
Kind regard
Andi