
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