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?
LakshmikanthanK said: ‘SalesInvoiceDS’ contains a definition for the Field ‘GiroType’.
Do you see the GiroType field on the dataset (in visual studio)? If not try by refreshing the data set.
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.
I didn't removed any field in salesinvoiceds. I just removed girotypefield in salesinvoice design. This changes was done 6 months before.At that time no exception came. but now this exception comes. what should i have to do?
Also i refreshed the dataset,
This thread about the same problem provides a solution that you should try. It basically says that they're missing an update.
Thank you for the quick reply drab.
We update that too.But still we are facing :(