Just would like to a question about locking a records.
I have a table of customers with customer and order information. There is an invoice field in the table with order invoice numbers.
What I want is to only to make those records editable that are not invoiced yet. Once a records is invoiced, when we click on field, nothing should happen. (make click disable on invoiced records)
An example of how this can be done would be perfect.