Hello Devs!
We often came across condition when we need to add certain fields in the out of the box report.
One approach is to make changes on 'DP' class level and for that we need to create the extensions of related objects. Other approach is to create a post event handler of our report.
Scenario:
We need to add custom fields to the report.
Step #1:
Create a new class that will be named according to Event handler
in my case its "ATPCustAgingReportDPEventHandler"
Step #2 :
Copy the post event handler of the report to this class
Step #3:
Add the following code to it
We often came across condition when we need to add certain fields in the out of the box report.
One approach is to make changes on 'DP' class level and for that we need to create the extensions of related objects. Other approach is to create a post event handler of our report.
Scenario:
We need to add custom fields to the report.
Step #1:
Create a new class that will be named according to Event handler
in my case its "ATPCustAgingReportDPEventHandler"
Step #2 :
Copy the post event handler of the report to this class
Step #3:
Add the following code to it
Comments
Post a Comment