Block document if selling price lower than item last purchased price
How can it be done to block the document when the item selling price is lower than item last purchased price?
It will be hard to achieve by creating the price list, as there are many customers and items.
Any other better solution?
Version: SAP B1 8.81 PL 11
I had created the SP, it solved my issue.