How can I change the name of the Supplier in the Material Purchase Bill?

To change the supplier from the Material Purchase Bill, the existing bill must first be deleted. After deletion, the same bill can be recreated using the correct or updated supplier name. Direct modification of the supplier is not allowed once the bill is submitted.