How to set custom fields to read-only after save

I am working on a customization in Supplier Maintenance and have set a UD table as a child data view. I am trying to get it so that when a new UD record is created through that view, the custom fields that bind back to the UD table become read-only once the Save button is hit. I am trying to make is that once a record is entered, then it can’t be modified. This would force the user to create a new UD record if they needed the data change, allowing for the historical data to be queried through a BAQ report or dashboard. Can anyone help explain how I would do this. I’m assuming it would involve adding code to a Tool Click event when the save button is clicked.

Did you ever get an answer on this? Is there another post with this info or a reference I could review?

Thanks in advance,