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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

'MPOS Cart Lines Sorting Order

(0) ShareShare
ReportReport
Posted on by 13

Hi,
I am trying to sort POS sales lines. I have created a request handler ('CalculateDiscountServiceRequest'). I was able to sort the saleslines but when the request is returned to POS I am unable to view any visible changes in the pos. I tried changing the lineNumber in salesline and even tried sorting the SalesLines[] with my own custom logic but I cant see any visible change on the front-end. I tried debugging MPOS and I found that my cart lines were sorted.

I found a very strange behavior that whenever I logged out and login again my cart was then sorted.

Version 10.0.28

I have the same question (0)

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July 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... 92 Super User 2026 Season 2

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 66 Super User 2026 Season 2

#2
Paolo Cecchelli Profile Picture

Paolo Cecchelli 66 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans