3
We have several customers who have a higher sales price to some customers and then standard lowest price is not applicable. I would like a code on the price list line that indicates that the customer's price should always apply. The reason for higher sales price (than for All Customers) is often related to later kickbacks.
Category: Sales
STATUS DETAILS
Completed
Ideas Administrator

Thank you for reaching out. Your suggestion seems to be a duplicate of the following suggestion:  


Please add your valuable votes and comments to the suggestion above instead.


Note there is an event OnAfterAddSources() in codeunits 7020 "Sales Line - Price", 7021 "Purchase Line - Price", 7026 "Service Line - Price" that allows to change the list of sources by adding hierarchy, and such logic will pick the lowest price set for this customer first, if exists, and then only search among price groups, all customers etc. according to the levels of hierarchy.
You can see the sample of adding levels in procedure AddSources() in codeunit 7024 "Job Planning Line - Price" where PriceSourceList.IncLevel() is called, because the resource price is calculated by default according to the source hierarchy: Job Task, Job, All Jobs. To read more on how to extend pricing until this gets on the road map check following documentation topic: https://docs.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-extending-best-price-calculations

Best regards,
Business Central Team