In Sales Header, we have included a new field Sales Type(Datatype: Option, Values: Normal, Tender, Special Order). On the item card besides the current Unit Price field (i.e., Normal) we have added two new unit price fields for Tender and Special Order.
THE ITEM CARD
THE SALES INVOICE
How can we update the unit price on the Sales Line when changing the Sales Type:
1) when adding a new item on the sales line, and
2) for existing lines when changing the sales type.
I've verified through the code unit 7000 Sales Price Calc Mgt which includes the function CalcBestUnitPrice.
The following changes were done (code between ME01-START & END) but the correct price is not being displayed:
Does anyone has any idea how same can be done.
Nav version: 2013R2
Thanks & regards