Override standard report with custom report in India GST taxes Invoice report in D365FO:
Override standard report with custom report in India GST taxes Invoice report in D365FO: We came across the scenario where we have to skip the standard Report and call our customized Report: · Standard GST reportName is set in the setReportName() method. And it is a private method, so can’t be overridden in COC. · We had handled it by storing Boolean flag in the Global Cache and skip the setReportMethod() execution by returning false in the [ PostHandlerFor ( classStr ( SysCountryRegionCode ), staticMethodStr ( SysCountryRegionCode , isLegalEntityInCountryRegion))] method. · Custom reportName is set in outputReport() method in the extension class HSOSalesInvoiceController_IN_Extension. [ ExtensionOf ( classStr ( SalesInvoiceController ))] final class HSOSalesInvoiceController_IN_Extension { prote...