Exception Message :The dataset ‘SalesInvoiceDS’ contains a definition for the Field ‘GiroType’. This field is missing from the returned result set from the data source.
[moved from title by moderator]
I try to debug the below method Underlined line shows the warning.
SRSReportRunPrinter - Class
private Array renderReportToFile(Filename _filename, SRSReportFileFormat _fileFormat)
Array files = this.parmSrsProxy().renderReportToFile(reportContract.parmReportPath(),
// write warnings to log.
this.displayReportErrors(); ----------- Error Warning Rised here ----------
Then I Step into that method it calls SrsProxy class the below method. you can see the underlined line
public Array getReportWarnings()
Array reportWarnings = new Array(Types::String);
reportingServicesExecutionInfo = reportingServicesProxy.get_ReportExecutionInfo();--Error Raised--
if (reportingServicesExecutionInfo != null)
warnings = reportingServicesExecutionInfo.get_ReportWarnings();
if (warnings != null)
enumerator = warnings.GetEnumerator();
// BP deviation documented
warning = CLRInterop::getAnyTypeForObject(enumerator.get_Current());
reportWarnings.value(reportWarnings.lastIndex() + 1, any2str(warning));
// We must trap CLRError explicitly, to be able to retrieve the CLR exception later (using CLRInterop::getLastException() )
In this method "reportingServicesProxy.get_ReportExecutionInfo()" .The reportingservicesproxy buffer is initialized in the SysProxy class
But it is a framework.How can I debug this? Please, anyone gives suggestions to come out of this.
I'm not sure what you want to achieve by debugging the code. Shouldn't you rather focus on the error message and GiroType field?
I have removed GiroType field in salesinvoice design but I didn't removed this field in salesinvoiceds. My issue is the above warning message pop up in Aif exception grid.So,I tried to debug the code.
When I am posting salesinvoice there is no warning message popup in exception. but when I checked the useprintmanagement checkbox the warning message comes. What should i have to try.