Is Read-only hook

Use this hook to indicate whether the field is read-only. If a field is read-only it is made read-only in the UI. The field however, still can have a value.

Example:

function extern boolean tcibd001.dsca.is.readonly(long mode)
{
        if mode = DAL_UPDATE then
                return(true)
        endif
        return(false)
}