Prevent vendor deactivation if open purchase order lines exist
Even though there are current purchase order lines linked to a vendor, the vendor can be deactivated with a single click.
For our institution, this plays a role in automatic claiming, where a claim letter is generated and sent once the receiving date has been exceeded, although the vendor is set to inactive.
It would be very useful to reject the deactivation of the vendor if there are open purchase order lines attached. An error message should be displayed indicating that there are open purchase orders linked to the vendor.
We would prefer this message not to be overridable, but we understand that other institutions might see it differently. Ideally, there would be a parameter in the configuration which determines if the error message is overridable or if a vendor with open PO lines cannot be set to inactive.
