Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Merchanter
English (UK)
GB English (UK)
US English (US)
  • Home
  • How to use Merchanter
  • OData

OData error message - Version 3 and 4

Date filter and other changes required for OData queries when moving from version 3 to 4

Written by Ian Oldrey

Updated at June 3rd, 2026

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
    Training Sessions
  • How to use Merchanter
    Sales Invoicing & Credits Products Purchasing Stock Control OData System Settings & Administration Milling & Value Added Processing Sales Order Processing Customers System Release Updates Pricing & Costs Certification Order Picking Agency Sales Suppliers Analytics & Reporting
  • API Documentation
    API version 1.0
  • Integrations
    Sage 50 Woo Commerce ECS Webshop Link NearSt QuickBooks Xero ShopWired Shopify EKM
  • FAQs
  • Industry Articles
+ More

Table of Contents

Changing the Datetime filter

With an OData query written in version 3 of OData, when your Merchanter system runs with version 4 of OData the syntax of the query may be different to extract the required data.  When you try to refresh the report you may get an error message similar to the image below.

Changing the Datetime filter

With version 4 of OData date fields no longer need to be specified as datetime in the query string.  To update this in a query:

  • Open the report (Excel spreadsheet)
  • Click on the ‘Data’ tab
  • Click on ‘Queries & Connections’
  • Right click on the Query and click ‘Edit’
     
  • In Power Query highlight the query if you have more than one
  • Click ‘Advanced Editor’
     
  • In the Query string where you have filters that are a date they will be specified as a ‘datetime’ type
     
  • In version 4 of OData this is no longer required, so delete the text “datetime” and the single quotation marks round the date
     
  • Click ‘Done’ and the query will refresh
  • Click ‘Close & Load’ to return to the refreshed report
odata error

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • OData error message - We encountered an error while trying to connect
  • Merchanter OData Tables
Solution Vendor Color.png

sales@ten-25.co.uk

01202 861606

The Little House, The Street, Wonersh, Guildford, GU5 OPF

BMF Service Member logo.jpg
  • linkedin
  • twitter
  • facebook
Privacy Policy

©2020 by Ten-25 Software Ltd.. Proudly created with Wix.com

Expand