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

Notifications

Announcements

No record found.

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
    on at

    Hi Sandeep Tathe,

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

    Best Regards,

    Charlotte

  • Ilshat Kharrassov Profile Picture
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Siv Sagar Profile Picture

Siv Sagar 283 Super User 2025 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 213 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 152 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans