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 tdsls400.cdf_blck.is.readonly(long mode)
{
        return(tdsls400.hdst = tdsls.hdst.closed)
}