web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

order history page filter changes with created date field not working

(1) ShareShare
ReportReport
Posted on by 85

Hi,

I have added customize code to filter order history page data.
pastedimage1664373630485v1.png

Above section i have added on order history page. I also changed call to SearchOrders api where i found filters for orders, using this method i am able to do order status and order number filter but order between date filter is not working, whenever i select date range it is returning false data instead of selected date range.
pastedimage1664373959886v2.png
Below is code snippets for search order method call.

        const input = new GetFilteredSalesOrderHistoryWithHydrationsInput(this.paging, this.props.context.request.apiSettings,
            salesOrderSeachCriteria, this.orderHistory.nextPageToken);
        
            this.viewState.isLoading = true;
            const response = await getFilteredSalesOrderHistoryWithHydrationsActionDataAction(input, this.props.context.actionContext);
 
Need help on this issue.

Thanks,

Sandeep

I have the same question (0)
  • Charlotte X Profile Picture
    Microsoft Employee on at

    Hi Sandeep Tathe,

    Please wait for someone with development experience to answer this question.

    Best Regards,

    Charlotte

  • Ilshat Kharrassov Profile Picture
    Microsoft Employee on at

    Hi Sandeep,

    I didn't find getFilteredSalesOrderHistoryWithHydrationsActionDataAction in e-commerce SDK, can you please share the code for the same where it uses standard code?

    If it uses the standard action "getOrderShipmentsHistoryAsync" (retail server GetOrderShipmentsHistory API) then there are no such input criteria as a date range, order status, etc.

    It pulls all order shipments from the most recent to the oldest (fixed order) using server-driven pagination where Top is your page size, and NextPageToken is a token you receive from your first and consecutive calls and use to pass in order to receive the next page of data. 

    Also, I didn't find any retail server API that takes date range as a filtering criteria, which one do you use?

    Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 164 Super User 2026 Season 1

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 105 Super User 2026 Season 1

#3
Zain Mehmood Profile Picture

Zain Mehmood 89 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans