Hi, I'm a new in AX. can anyone help me to figure out on how to set the default value in lookup field in parameters screen before we print SSRS Report?
*This post is locked for comments
Hi, I'm a new in AX. can anyone help me to figure out on how to set the default value in lookup field in parameters screen before we print SSRS Report?
*This post is locked for comments
Let you data contract class implement SysOperationInitializable interface and then create initialize() method, where you'll set the default value.
Note that this will be called just for the first time; when user runs the report again, values from the previous run will be displayed. If you want to run your initialization logic every time, decorate the data contract class with SysOperationAlwaysInitializeAttribute.
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,409
Most Valuable Professional
nmaenpaa
101,156