On deleting used Salesperson/Purchaser the system blocks the printing of any document related to the salesperson code.
The issue is present when we try to resend a posted sales invoice/cr. memo/receipt where the salesperson has been deleted (the system throws "Salesperson/Purchaser does not exist").
"Format Document"(CodeUnit 368).SetSalesPerson line 13 - Base Application by Microsoft version 27.2.42879.44859
"Standard Sales - Invoice"(Report 1306).FormatDocumentFields line 3 - Base Application by Microsoft version 27.2.42879.44859
The Salesperson/Purchaser table is not part of the master data and the system does not block the Salesperson/Purchaser deletion.
I believe either a usage validation of the Salesperson or a Salespeople/Purchaser replacing on historical records in BC should be part of the functionality when attempting to delete a Salespersons/Purchasers record.
