Hi Guys,
I am getting the following error while trying to generate a Sales Invoice Report.
- I have added the new report design an it has no errors.
- I have redeployed the report
- The new design is visible under Designs for the SalesInvoice Report in the AOT
This is not the default report design. It is being selected based on the company we are in. So, for Company 1, i want my report format to be Report 1 and for the rest of it, it should be the default format, Report.
I have added the following piece of code in the 'main' method of my 'SalesInvoiceController' Class :
CompanyId = curExt();
if(!(strCmp(CompanyId, 'Company1')))
{
formLetterController.parmReportName(ssrsReportStr(SalesInvoice, Report1));
}
else <default code continues>
I couldn't find an answer to this online while looking. Please let me know in case any of you have some idea around the same.
Thanks, Nidhi :)