A URL drill through action is similar to the View Details option in a form. AX supports a URL mechanism that can be processed to open a form with the appropriate record highlighted.
The first step is to identify the URL builder that will be used to construct the URL. The SRSDrillThroughCommon project consists of a list of helper classes for different modules.
In Visual Studio, go to AOT | Visual Studio Project | C Sharp Project | SRSDrillThroughCommon.
Right-click and select Edit. This will add the project to the current report solution.
Search through the drillThroughCommon C# class for prebuilt methods for the field.
In this case, the field is Voucher and the finance helper classes have a prebuilt function that can handle drill through for vouchers.
Navigate back to the PktRdlItemTransList.BusinessLogic, right-click, and add the SRSDrillThroughCommon project as a reference.
Add the following namespace to the PktRdlItemTransList C# class...