We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to filter records based on a decimal value. But adding a decimal (comma), results an error.
System.ServiceModel.FaultException<Microsoft.Xrm.Sdk.OrganizationServiceFault>: An exception System.FormatException was thrown while trying to convert input value '[REDACTED]' to attribute 'opportunityproduct.exchangerate'. Expected type of attribute value: System.Decimal. Exception raised: Input string was not in a correct format. FetchXML Builder Server stack trace: - System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) - System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) - System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) - System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: - Microsoft.Xrm.Tooling.Connector.CrmServiceClient.RetrieveMultiple(QueryBase query) - Rappen.XTB.FetchXmlBuilder.FetchXmlBuilder.RetrieveMultiple(QueryBase query) - Rappen.XTB.FetchXmlBuilder.FetchXmlBuilder.<>c__DisplayClass121_0.<RetrieveMultiple>b__0(BackgroundWorker worker, DoWorkEventArgs eventargs) - System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) - System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
<fetch> <entity name="opportunity"> <filter> <condition attribute="opportunityid" operator="eq" value="ef2e8e0f-d6c0-4e90-bed0-3b20d6bd90a0" /> </filter> <link-entity name="opportunityproduct" from="opportunityid" to="opportunityid" link-type="outer" alias="opt"> <attribute name="exchangerate" /> <attribute name="opportunityproductid" /> <filter> <condition attribute="exchangerate" operator="ne" value="2,2" /> </filter> </link-entity> </entity> </fetch>
The text was updated successfully, but these errors were encountered:
Have you tried to use a point instead of a comma? It may be related to local settings...
Sorry, something went wrong.
Yes, it does not work:
Even if I were to execute this, the FetchXML displays it as value 2.
That's. Good info. I'll go dig down and see what we can do.
ba69276
rappen
No branches or pull requests
I'm trying to filter records based on a decimal value. But adding a decimal (comma), results an error.
The text was updated successfully, but these errors were encountered: