Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 143529

What code recalculates the unit price when priceGroup changes on SO Header

$
0
0

I am trying to find a piece of code that updates the unit price when the price group is changed on the sales order header and the update unit price flag is set.

When one changes the price group on the header, then it comes up with a dialog: Update Order Lines and prompt if the unit price should be changed.

This dialog is generated in class is  SalesTable2LineUpdatePrompt. I have added a breakpoint at SalesPurchLineInterface.SetPriceDisc but it never reached it. It reaches SalesPurchLineInterface.setPriceDiscFixedPolicy, but nowhere in here can I see where it recalculate the unit price .  I thought it would use the standard classes like Pricedisc and PriceDisc_Price and RetailSalesOrderCalculator to recalculate the unit price, but it doesn't.

I need to add an extension for it to pull custom pricing where applicable but need to find the standard piece of code first.

Can anybody point me in the right direction please?


Viewing all articles
Browse latest Browse all 143529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>