Lock a records conditionally

Discussion created by on Nov 3, 2016
Latest reply on Nov 4, 2016 by coherentkris

Hello Everone,


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.


Many Thanks