How i change the Enabled= attribute via a preloaded field
<p>I want to modify the <code>PXUIField Enabled=false/true</code> using an existing boolean field</p>

<pre><code>public abstract class lastBatNbr : PX.Data.IBqlField
{
}

protected String _LastBatNbr;
[PXDBString(10, IsFixed = true)]
[PXUIField(DisplayName = "Last Batch Nbr")] 

public virtual String LastBatNbr
{
    get
    {
    return this._LastBatNbr;
    }
    set
    {
    this._LastBatNbr = value;
    }
}
</code></pre>
