Substitute schema not invoked
We have a substitute source code schema which is not getting invoked. The same substitute schema is getting invoked in an older version of Creatio. We have followed the instructions mentioned in the following academy articles yet the substitute schema isn't getting involved.
Older version: 7.11.0 (substitution works as expected)
New version: 7.15.2 (substitution doesn't work)
Both the parent schema (ReportHelper) and the substitute schema (SpecialNamingOrderInvoiceReportHelper) are attached.
The code below that is making the call to the ReportHelper in which we are expecting the overriden method in substitute class SpecialNamingOrderInvoiceReportHelper to be called:
public string CreateReport(string entitySchemaUId, string reportSchemaUId, string templateId, string recordId, string reportParameters, bool convertInPDF)
var reportHelper = ClassFactory.Get<ReportHelper>();
string key = reportHelper.CreateReport(entitySchemaUId, reportSchemaUId, templateId, recordId, reportParameters, convertInPDF);
Any pointers on how to resolve this would be highly appreciated.