Skip to Content
0
Former Member
Feb 10, 2017 at 12:05 PM

Order voucher discounts are removed while fetching the OrderData

44 Views

I have below line of code to populate the order details page. For orders enjoying voucher discounts on executing the below line I notice the order, orderentry are modified. Also I notice the order entries discounts are removed thereby entry's discount is lost.

final OrderData orderData = b2bOrderFacade.getOrderDetailsForCode(orderCode);

Whats wrong with the above code? Why order is modified?

Hybris version: 5.3.0.6