Greetings all,
I have a question about editing the confirmation SSRS reports in AX 365.
I am currently attempting to edit the purchase and sales confirmations stored in the application suite. I have followed the instruction in the link provided below to extend the tmp table and have based the logic of populating these new fields on using the inserting handler on the tmp table.
But the examples it gives don't quite handle the confirmation scenarios on the existing controllers as the main methods of these controllers contain direct references to the default report designs. I've attempted to get around this by extending the controller, and adding an extension to the main method but this doesn't solve the problem as both the original main method and the new one are called meaning the report prints twice. Using a post handler for the construct for the controller as specified in the above link also doesn't seem to give the intended result as the report design is again updated in the main method reversing the change I made to the report design.
The other scenario I've tried is using a classic class extension rather than the new extension framework, completely overriding the construct and main methods. The construct edit returns my new class name, and the main method override contains identical logic to the original but edits the report name to my new design. This works but I'm fairly sure it breaks the rules on extensions in the new version. It would also pose concerns for upgrades as the main method would not be updated with any changes.
Please could anyone advise if they have found a way to edit these reports within the new development best practises? If the sales or vendor invoices have been successfully changed this may also be relevant as I believe they would have similar problems.
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (